movieInfo provides a mechanism for querying information about movi files.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
frameCount (f) | bool | ||
|
|||
height (h) | bool | ||
|
|||
width (w) | bool | ||
|
Derived from mel command maya.cmds.movieInfo
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.movieInfo("C:/My Documents/myMovie.avi", frameCount=1)
# 24