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

Synopsis

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.

Return value

None

Keywords

movie, imageplane, avi, quicktime

Related

shot

Flags

frameCount, height, width
Long name (short name) Argument types Properties
frameCount(f) boolean create
Query the number of frames in the movie file
width(w) boolean create
Query the width of the movie
height(h) boolean create
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.

Python examples

import maya.cmds as cmds

cmds.movieInfo("C:/My Documents/myMovie.avi", frameCount=1)
# 24