MovieVideo
from panda3d.core import MovieVideo
- class MovieVideo
Bases:
TypedWritableReferenceCount
,Namable
A MovieVideo is actually any source that provides a sequence of video frames. That could include an AVI file, a digital camera, or an internet TV station.
The difference between a MovieVideo and a MovieVideoCursor is like the difference between a filename and a file handle. The MovieVideo just indicates a particular movie. The MovieVideoCursor is what allows access.
Inheritance diagram
- __init__(*args, **kwargs)
- filename
- get()
C++ Interface: get(const Filename name)
- /**
Obtains a MovieVideo that references a file. Just calls
MovieTypeRegistry::make_video().
*/
- getClassType()
C++ Interface: get_class_type()
- getFilename()
C++ Interface: get_filename(MovieVideo self)
- /**
Returns the movie’s filename. A movie is not guaranteed to have a
filename, if not, then this function returns an empty filename.
*/
- getSubfileInfo()
C++ Interface: get_subfile_info(MovieVideo self)
- /**
If the movie is to be loaded from a subfile on disk, this returns the
subfile info. Check info.is_empty() to see if this is valid data.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_filename()
C++ Interface: get_filename(MovieVideo self)
- /**
Returns the movie’s filename. A movie is not guaranteed to have a
filename, if not, then this function returns an empty filename.
*/
- get_subfile_info()
C++ Interface: get_subfile_info(MovieVideo self)
- /**
If the movie is to be loaded from a subfile on disk, this returns the
subfile info. Check info.is_empty() to see if this is valid data.
*/
- open()
C++ Interface: open(const MovieVideo self)
- /**
Open this video, returning a MovieVideoCursor of the appropriate type.
Returns NULL on error.
*/
- subfile_info
- upcastToNamable()
C++ Interface: upcast_to_Namable(const MovieVideo self)
upcast from MovieVideo to Namable
- upcastToTypedWritableReferenceCount()
C++ Interface: upcast_to_TypedWritableReferenceCount(const MovieVideo self)
upcast from MovieVideo to TypedWritableReferenceCount
- upcast_to_Namable()
C++ Interface: upcast_to_Namable(const MovieVideo self)
upcast from MovieVideo to Namable
- upcast_to_TypedWritableReferenceCount()
C++ Interface: upcast_to_TypedWritableReferenceCount(const MovieVideo self)
upcast from MovieVideo to TypedWritableReferenceCount