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
pm.movieInfo("C:/My Documents/myMovie.avi", frameCount=1)
# 24