To use a footage item from the Project panel as an object in an expression, use the global footage method, as in footage("file_name"), and then use any of the attributes below. You can also access a footage object using the source attribute on a layer whose source is a footage item.
Returns the width of the footage item, in pixels.
Returns the height of the footage item, in pixels.
Returns the duration of the footage item, in seconds.
Returns the duration of a frame in the footage item, in seconds.
Returns the pixel aspect ratio of the footage item.
Returns the name of the footage item as shown in the Project panel.