pymel.core.animation.movieInfo

static animation.movieInfo(*args, **kwargs)

movieInfo provides a mechanism for querying information about movi files.

Flags:
Long name (short name) Argument Types Properties
frameCount (f) bool ../../../_images/create.gif
 
Query the number of frames in the movie file
height (h) bool ../../../_images/create.gif
 
Query the height of the movie Flag can have multiple arguments, passed either as a tuple or a list.
width (w) bool ../../../_images/create.gif
 
Query the width of the movie

Derived from mel command maya.cmds.movieInfo

Example:

import pymel.core as pm

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

Previous topic

pymel.core.animation.movOut

Next topic

pymel.core.animation.mute

Core

Core Modules

Other Modules

This Page