MovieSequence(Sequence)

base classes — bpy_struct, Sequence

class bpy.types.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)

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_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

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

Inherited Functions