pymel.core.animation.movieInfo

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 movieFlag can appear in Create mode of commandFlag 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

import maya.cmds as cmds

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