Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.

Synopsis

movieInfo [-counter] [-dropFrame] [-frameCount] [-frameDuration] [-height] [-movieTexture] [-negTimesOK] [-numFrames] [-quickTime] [-timeCode] [-timeCodeTrack] [-timeScale] [-twentyFourHourMax] [-width] string

movieInfo is NOT undoable, NOT queryable, and NOT editable.

movieInfo provides a mechanism for querying information about movie files.

Return value

None

Keywords

movie, imageplane, avi, quicktime

Related

shot

Flags

counter, dropFrame, frameCount, frameDuration, height, movieTexture, negTimesOK, numFrames, quickTime, timeCode, timeCodeTrack, timeScale, twentyFourHourMax, width
Long name (short name) Argument types Properties
-frameCount(-f) create
Query the number of frames in the movie file
-width(-w) create
Query the width of the movie
-height(-h) create
Query the height of the movie
-quickTime(-qt) create
Query whether the movie is a QuickTime movie.
-timeCodeTrack(-tt) create
Query whether the movie has a timecode track.
-dropFrame(-df) create
Query the 'drop frame' flag of the movie's timecode format.
-twentyFourHourMax(-tf) create
Query the '24 hour max' flag of the movie's timecode format.
-negTimesOK(-nt) create
Query the 'neg times OK' flag of the movie's timecode format.
-counter(-cn) create
Query the 'counter' flag of the movie's timecode format. If this is true, the timecode returned by the -timeCode flag will be a simple counter. If false, the returned timecode will be an array of integers (hours, minutes, seconds, frames).
-timeScale(-ts) create
Query the timescale of the movie's timecode format.
-frameDuration(-fd) create
Query the frame duration of the movie's timecode format.
-numFrames(-nf) create
Query the whole number of frames per second of the movie's timecode format.
-timeCode(-tc) create
Query the timecode of the current movie frame.
-movieTexture(-mt) create
If set, the string argument is interpreted as the name of a movie texture node, and the command then operates on the movie loaded by that node.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// On windows (AVI is only supported on windows, currently)
movieInfo -frameCount "C:/My Documents/myMovie.avi"
// Result: 24
movieInfo -width "C:/My Documents/myMovie.avi"
// Result: 1024