Go to: Synopsis. Return value. Keywords.
Related. Flags.
Python examples.
movieInfo(string, [frameCount=boolean], [height=boolean], [width=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
movieInfo is NOT undoable, NOT queryable, and
NOT editable.
movieInfo provides a mechanism for querying information about movi
files.
None
movie, imageplane, avi, quicktime
shot
frameCount, height, width
Long name (short name) |
Argument types |
Properties |
frameCount(f) |
boolean |
|
|
Query the number of frames in the movie file |
|
width(w) |
boolean |
|
|
Query the width of the movie |
|
height(h) |
boolean |
|
|
Query the height of the movie |
|
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 have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
cmds.movieInfo("C:/My Documents/myMovie.avi", frameCount=1)
# 24