Notes
Use the Notes tool to create on-screen label items and describe additional information such as media time and marker coordinates.
Notes are text boxes that can be used to annotate video or image files. The Notes tool supports Templex functions and performing calculations and other data analysis within a note.
- Use the note icons to display one or more notes.
- Sort the items in the Notes list by clicking on the list heading.
- Arrange the notes and set their colors based on a contour, component, or a manual selection.
MediaInfo Note
MediaInfo Note is a type of note that will be displayed by default after loading any video file. It contains the current time of the video. This note can be modified, hidden, or moved but it cannot be deleted.
Templex Statements in Notes
Notes can contain Templex statements as well as math and string functions and operators just like HyperView or HyperGraph. Templex enables you to include text from an external file, call external functions, assign variables, and perform math operations within a note.
See Templex Reference for complete descriptions of the Templex statements and for more information on writing Templex templates.
- {filename}
- Displays the name of the media file.
- {filepath}
- Displays the full file path of the media file.
- {mediatime}
- Displays the time stamp of the current frame inside the video. Media time is calculated after applying scale and offsets for the current video on the page time.
- {frameindex}
- Displays the current frame number of the active video in the window.
- {pagetime}
- Displays the absolute time at the animation control bar of the entire page. This is a global time value for the page and it stays consistent across the MediaView windows of the same page.
- {amfnote}
- AMF Note is a special supplement to the Media Time value that can be added during video creation in the AMF format. AMF Note returns nothing in case the video format is not AMF or if there is nothing stored for AMF note while creating the AMF video.
Other Templex variables that can be included in a note are the ones that take the values from a marker or a measure:
- Marker-based
- Available output values are name, x, y, t.
- Measure-based
- Available output values are name, mag, dx, dy, x1, x2, y1, y2, t.
To get a specific value from a vector, the usual index operations can be used.
For example: “p1w1measure1.dx[0]
” for the first value from the dx
vector of p1w1measure1
.