MovieSequence(Sequence)

base classes — bpy_struct, Sequence

class bpy.types.MovieSequence.MovieSequence(Sequence)

Sequence strip to load a video

alpha_mode

Representation of alpha information in the RGBA pixels

  • STRAIGHT Straight, RGB channels in transparent pixels are unaffected by the alpha channel.

  • PREMUL Premultiplied, RGB channels in transparent pixels are multiplied by the alpha channel.

Type

enum in [‘STRAIGHT’, ‘PREMUL’], default ‘STRAIGHT’

animation_offset_end

Animation end offset (trim end)

Type

int in [0, inf], default 0

animation_offset_start

Animation start offset (trim start)

Type

int in [0, inf], default 0

color_multiply
Type

float in [0, 20], default 1.0

color_saturation

Adjust the intensity of the input’s color

Type

float in [0, 20], default 1.0

colorspace_settings

Input color space settings

Type

ColorManagedInputColorspaceSettings, (readonly)

crop
Type

SequenceCrop, (readonly)

elements
Type

bpy_prop_collection of SequenceElement, (readonly)

filepath
Type

string, default “”, (never None)

fps

Frames per second

Type

float in [-inf, inf], default 0.0, (readonly)

mpeg_preseek

For MPEG movies, preseek this many frames

Type

int in [0, 50], default 0

proxy
Type

SequenceProxy, (readonly)

stereo_3d_format

Settings for stereo 3d

Type

Stereo3dFormat, (readonly, never None)

stream_index

For files with several movie streams, use the stream with the given index

Type

int in [0, 20], default 0

strobe

Only display every nth frame

Type

float in [1, 30], default 0.0

transform
Type

SequenceTransform, (readonly)

use_crop

Crop image before processing

Type

boolean, default False

use_deinterlace

Remove fields from video movies

Type

boolean, default False

use_flip_x

Flip on the X axis

Type

boolean, default False

use_flip_y

Flip on the Y axis

Type

boolean, default False

use_float

Convert input to float data

Type

boolean, default False

use_multiview

Use Multiple Views (when available)

Type

boolean, default False

use_proxy

Use a preview proxy and/or time-code index for this strip

Type

boolean, default False

use_reverse_frames

Reverse frame order

Type

boolean, default False

use_translation

Translate image before processing

Type

boolean, default False

views_format

Mode to load movie views

  • INDIVIDUAL Individual, Individual files for each view with the prefix as defined by the scene views.

  • STEREO_3D Stereo 3D, Single file with an encoded stereo pair.

Type

enum in [‘INDIVIDUAL’, ‘STEREO_3D’], default ‘INDIVIDUAL’

reload_if_needed()

reload_if_needed

Returns

True if the strip can produce frames, False otherwise

Return type

boolean

metadata()

Retrieve metadata of the movie file

Returns

Dict-like object containing the metadata

Return type

IDPropertyWrapPtr

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

  • bpy_struct.id_data

  • Sequence.name

  • Sequence.type

  • Sequence.select

  • Sequence.select_left_handle

  • Sequence.select_right_handle

  • Sequence.mute

  • Sequence.lock

  • Sequence.frame_final_duration

  • Sequence.frame_duration

  • Sequence.frame_start

  • Sequence.frame_final_start

  • Sequence.frame_final_end

  • Sequence.frame_offset_start

  • Sequence.frame_offset_end

  • Sequence.frame_still_start

  • Sequence.frame_still_end

  • Sequence.channel

  • Sequence.use_linear_modifiers

  • Sequence.blend_type

  • Sequence.blend_alpha

  • Sequence.effect_fader

  • Sequence.use_default_fade

  • Sequence.speed_factor

  • Sequence.modifiers

  • Sequence.use_cache_raw

  • Sequence.use_cache_preprocessed

  • Sequence.use_cache_composite

  • Sequence.override_cache_settings

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

  • Sequence.update

  • Sequence.strip_elem_from_frame

  • Sequence.swap

  • Sequence.invalidate_cache

  • Sequence.bl_rna_get_subclass

  • Sequence.bl_rna_get_subclass_py