Enums

Details

class GES.AssetLoadingReturn(value)

Bases: GLib.Enum

ERROR = 0
ASYNC = 1
OK = 2
class GES.ChildrenControlMode(value)

Bases: GLib.Enum

UPDATE = 0
IGNORE_NOTIFIES = 1
UPDATE_OFFSETS = 2
UPDATE_ALL_VALUES = 3
LAST = 4
class GES.Edge(value)

Bases: GObject.GEnum

The edges of an object contain in a GES.Timeline or GES.Track

classmethod name(edge)[source]
Parameters:edge (GES.Edge) –
Return type:str
EDGE_START = 0

Represents the start of an object.

EDGE_END = 1

Represents the end of an object.

EDGE_NONE = 2

Represent the fact we are not workin with any edge of an object.

class GES.EditMode(value)

Bases: GObject.GEnum

You can also find more explanation about the behaviour of those modes at:

trim, ripple and roll and clip management.

EDIT_NORMAL = 0

The object is edited the normal way (default).

EDIT_RIPPLE = 1

The objects are edited in ripple mode. The Ripple mode allows you to modify the beginning/end of a clip and move the neighbours accordingly. This will change the overall timeline duration. In the case of ripple end, the duration of the clip being rippled can’t be superior to its max_duration - inpoint otherwise the action won’t be executed.

EDIT_ROLL = 2

The object is edited in roll mode. The Roll mode allows you to modify the position of an editing point between two clips without modifying the inpoint of the first clip nor the out-point of the second clip. This will not change the overall timeline duration.

EDIT_TRIM = 3

The object is edited in trim mode. The Trim mode allows you to modify the in-point/duration of a clip without modifying its position in the timeline.

EDIT_SLIDE = 4

The object is edited in slide mode. The Slide mode allows you to modify the position of a clip in a timeline without modifying its duration or its in-point, but will modify the duration of the previous clip and in-point of the following clip so does not modify the overall timeline duration. (not implemented yet)

class GES.Error(value)

Bases: GLib.Enum

ASSET_WRONG_ID = 0

The ID passed is malformed

ASSET_LOADING = 1

An error happened while loading the asset

FORMATTER_MALFORMED_INPUT_FILE = 2

The formatted files was malformed

class GES.TextHAlign(value)

Bases: GObject.GEnum

Horizontal alignment of the text.

LEFT = 0

align text left

CENTER = 1

align text center

RIGHT = 2

align text right

POSITION = 4

align text on xpos position

ABSOLUTE = 5
class GES.TextVAlign(value)

Bases: GObject.GEnum

Vertical alignment of the text.

BASELINE = 0

draw text on the baseline

BOTTOM = 1

draw text on the bottom

TOP = 2

draw text on top

POSITION = 3

draw text on ypos position

CENTER = 4

draw text on the center

ABSOLUTE = 5
class GES.VideoStandardTransitionType(value)

Bases: GObject.GEnum

NONE = 0

Transition type has not been set,

BAR_WIPE_LR = 1

A bar moves from left to right,

IRIS_RECT = 101

A rectangle expands from the center.,

BAR_WIPE_TB = 2

A bar moves from top to bottom,

CLOCK_CW12 = 201

A radial hand sweeps clockwise from the twelve o’clock position,

CLOCK_CW3 = 202

A radial hand sweeps clockwise from the three o’clock position,

CLOCK_CW6 = 203

A radial hand sweeps clockwise from the six o’clock position,

CLOCK_CW9 = 204

A radial hand sweeps clockwise from the nine o’clock position,

PINWHEEL_TBV = 205

Two radial hands sweep clockwise from the twelve and six o’clock positions,

PINWHEEL_TBH = 206

Two radial hands sweep clockwise from the nine and three o’clock positions,

PINWHEEL_FB = 207

Four radial hands sweep clockwise,

BARNDOOR_V = 21

A central, vertical line splits and expands toward the left and right edges,

FAN_CT = 211

A fan unfolds from the top edge, the fan axis at the center,

FAN_CR = 212

A fan unfolds from the right edge, the fan axis at the center,

DOUBLEFAN_FOV = 213

Two fans, their axes at the center, unfold from the top and bottom,

DOUBLEFAN_FOH = 214

Two fans, their axes at the center, unfold from the left and right,

BARNDOOR_H = 22

A central, horizontal line splits and expands toward the top and bottom edges,

SINGLESWEEP_CWT = 221

A radial hand sweeps clockwise from the top edge’s midpoint,

SINGLESWEEP_CWR = 222

A radial hand sweeps clockwise from the right edge’s midpoint,

SINGLESWEEP_CWB = 223

A radial hand sweeps clockwise from the bottom edge’s midpoint,

SINGLESWEEP_CWL = 224

A radial hand sweeps clockwise from the left edge’s midpoint,

DOUBLESWEEP_PV = 225

Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges’ midpoints,

DOUBLESWEEP_PD = 226

Two radial hands sweep clockwise and counter-clockwise from the left and right edges’ midpoints,

DOUBLESWEEP_OV = 227

Two radial hands attached at the top and bottom edges’ midpoints sweep from right to left,

DOUBLESWEEP_OH = 228

Two radial hands attached at the left and right edges’ midpoints sweep from top to bottom,

BOX_WIPE_TC = 23

A box expands from the top edge’s midpoint to the bottom corners,

FAN_T = 231

A fan unfolds from the bottom, the fan axis at the top edge’s midpoint,

FAN_R = 232

A fan unfolds from the left, the fan axis at the right edge’s midpoint,

FAN_B = 233

A fan unfolds from the top, the fan axis at the bottom edge’s midpoint,

FAN_L = 234

A fan unfolds from the right, the fan axis at the left edge’s midpoint,

DOUBLEFAN_FIV = 235

Two fans, their axes at the top and bottom, unfold from the center,

DOUBLEFAN_FIH = 236

Two fans, their axes at the left and right, unfold from the center,

BOX_WIPE_RC = 24

A box expands from the right edge’s midpoint to the left corners,

SINGLESWEEP_CWTL = 241

A radial hand sweeps clockwise from the upper-left corner,

SINGLESWEEP_CWBL = 242

A radial hand sweeps counter-clockwise from the lower-left corner.,

SINGLESWEEP_CWBR = 243

A radial hand sweeps clockwise from the lower-right corner,

SINGLESWEEP_CWTR = 244

A radial hand sweeps counter-clockwise from the upper-right corner,

DOUBLESWEEP_PDTL = 245

Two radial hands attached at the upper-left and lower-right corners sweep down and up,

DOUBLESWEEP_PDBL = 246

Two radial hands attached at the lower-left and upper-right corners sweep down and up,

BOX_WIPE_BC = 25

A box expands from the bottom edge’s midpoint to the top corners,

SALOONDOOR_T = 251

Two radial hands attached at the upper-left and upper-right corners sweep down,

SALOONDOOR_L = 252

Two radial hands attached at the upper-left and lower-left corners sweep to the right,

SALOONDOOR_B = 253

Two radial hands attached at the lower-left and lower-right corners sweep up,

SALOONDOOR_R = 254

Two radial hands attached at the upper-right and lower-right corners sweep to the left,

BOX_WIPE_LC = 26

A box expands from the left edge’s midpoint to the right corners,

WINDSHIELD_R = 261

Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left,

WINDSHIELD_U = 262

Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom,

WINDSHIELD_V = 263

Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top,

WINDSHIELD_H = 264

Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left,

BOX_WIPE_TL = 3

A box expands from the upper-left corner to the lower-right corner,

BOX_WIPE_TR = 4

A box expands from the upper-right corner to the lower-left corner,

DIAGONAL_TL = 41

A diagonal line moves from the upper-left corner to the lower-right corner,

DIAGONAL_TR = 42

A diagonal line moves from the upper right corner to the lower-left corner,

BOWTIE_V = 43

Two wedge shapes slide in from the top and bottom edges toward the center,

BOWTIE_H = 44

Two wedge shapes slide in from the left and right edges toward the center,

BARNDOOR_DBL = 45

A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners,

BARNDOOR_DTL = 46

A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners,

MISC_DIAGONAL_DBD = 47

Four wedge shapes split from the center and retract toward the four edges,

MISC_DIAGONAL_DD = 48

A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges,

BOX_WIPE_BR = 5

A box expands from the lower-right corner to the upper-left corner,

CROSSFADE = 512

Crossfade

BOX_WIPE_BL = 6

A box expands from the lower-left corner to the upper-right corner,

VEE_D = 61

A wedge shape moves from top to bottom,

VEE_L = 62

A wedge shape moves from right to left,

VEE_U = 63

A wedge shape moves from bottom to top,

VEE_R = 64

A wedge shape moves from left to right,

BARNVEE_D = 65

A ‘V’ shape extending from the bottom edge’s midpoint to the opposite corners contracts toward the center and expands toward the edges,

BARNVEE_L = 66

A ‘V’ shape extending from the left edge’s midpoint to the opposite corners contracts toward the center and expands toward the edges,

BARNVEE_U = 67

A ‘V’ shape extending from the top edge’s midpoint to the opposite corners contracts toward the center and expands toward the edges,

BARNVEE_R = 68

A ‘V’ shape extending from the right edge’s midpoint to the opposite corners contracts toward the center and expands toward the edges,

FOUR_BOX_WIPE_CI = 7

A box shape expands from each of the four corners toward the center,

FOUR_BOX_WIPE_CO = 8

A box shape expands from the center of each quadrant toward the corners of each quadrant,

class GES.VideoTestPattern(value)

Bases: GObject.GEnum

The test pattern to produce

SMPTE = 0

A standard SMPTE test pattern

SNOW = 1

Random noise

CHECKERS_8 = 10

Checkers pattern (8px)

CIRCULAR = 11

Circular pattern

Alternate between black and white

SMPTE75 = 13

SMPTE test pattern (75% color bars)

ZONE_PLATE = 14

Zone plate

GAMUT = 15

Gamut checkers

CHROMA_ZONE_PLATE = 16

Chroma zone plate

SOLID_COLOR = 17

Solid color

BLACK = 2

A black image

WHITE = 3

A white image

RED = 4

A red image

GREEN = 5

A green image

BLUE = 6

A blue image

CHECKERS_1 = 7

Checkers pattern (1px)

CHECKERS_2 = 8

Checkers pattern (2px)

CHECKERS_4 = 9

Checkers pattern (4px)