Flags

Details

class GES.MarkerFlags(value)

Bases: GObject.GFlags

New in version 1.20.

NONE = 0

Marker does not serve any special purpose.

SNAPPABLE = 1

Marker can be a snapping target.

class GES.MetaFlag(value)

Bases: GObject.GFlags

READABLE = 1

The metadata is readable

WRITABLE = 2

The metadata is writable

READWRITE = 3

The metadata is readable and writable

class GES.PipelineFlags(value)

Bases: GObject.GFlags

The various modes a GES.Pipeline can be configured to.

AUDIO_PREVIEW = 1

Output the GES.Pipeline :timeline's audio to the soundcard

VIDEO_PREVIEW = 2

Output the GES.Pipeline :timeline's video to the screen

FULL_PREVIEW = 3

Output both the GES.Pipeline :timeline's audio and video to the soundcard and screen (default)

RENDER = 4

Render the GES.Pipeline :timeline with forced decoding (the underlying #encodebin has its #encodebin:avoid-reencoding property set to False)

SMART_RENDER = 8

Render the GES.Pipeline :timeline, avoiding decoding/reencoding (the underlying #encodebin has its #encodebin:avoid-reencoding property set to True).

NOTE: Smart rendering can not work in tracks where GES.Track :mixing is enabled.

class GES.TrackType(value)

Bases: GObject.GFlags

Types of content handled by a track. If the content is not one of GES.TrackType.AUDIO, GES.TrackType.VIDEO or GES.TrackType.TEXT, the user of the GES.Track must set the type to GES.TrackType.CUSTOM.

GES.TrackType.UNKNOWN is for internal purposes and should not be used by users

UNKNOWN = 1

A track of unknown type (i.e. invalid)

CUSTOM = 16

A custom-content track

AUDIO = 2

An audio track

VIDEO = 4

A video track

TEXT = 8

A text (subtitle) track