MovieClip(ID)
base classes — bpy_struct, ID
- class bpy.types.MovieClip(ID)
MovieClip data-block referencing an external movie file
- annotation
Annotation data for this movie clip
- Type:
- colorspace_settings
Input color space settings (readonly)
- display_aspect
Display Aspect for this clip, does not affect rendering (array of 2 items, in [0.1, inf], default (1.0, 1.0))
- Type:
- filepath
Filename of the movie or sequence file (default “”, never None, blend relative
//prefix supported)- Type:
str
- fps
Detected frame rate of the movie clip in frames per second (in [-inf, inf], default 0.0, readonly)
- Type:
float
- frame_duration
Detected duration of movie clip in frames (in [-inf, inf], default 0, readonly)
- Type:
int
- frame_offset
Offset of footage first frame relative to its file name (affects only how footage is loading, does not change data associated with a clip) (in [-inf, inf], default 0)
- Type:
int
- frame_start
Global scene frame number at which this movie starts playing (affects all data associated with a clip) (in [-inf, inf], default 1)
- Type:
int
- proxy
(readonly)
- Type:
- size
Width and height in pixels, zero when image data cannot be loaded (array of 2 items, in [-inf, inf], default (0, 0), readonly)
- Type:
bpy_prop_array[int]
- source
Where the clip comes from (default
'SEQUENCE', readonly)SEQUENCEImage Sequence – Multiple image files, as a sequence.MOVIEMovie File – Movie file.
- Type:
Literal[‘SEQUENCE’, ‘MOVIE’]
- tracking
(readonly)
- Type:
- use_proxy
Use a preview proxy and/or timecode index for this clip (default False)
- Type:
bool
- use_proxy_custom_directory
Create proxy images in a custom directory (default is movie location) (default False)
- Type:
bool
- metadata()
Retrieve metadata of the movie file
- Returns:
Dict-like object containing the metadata
- Return type:
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type