GES Enums: GStreamer Editing Services 1.7.1 Reference Manual

## GES Enums GES Enums — Various enums for the Gstreamer Editing Services |

## Types and Values

enum | GESTrackType
enum | GESVideoStandardTransitionType
enum | GESTextHAlign
#define | DEFAULT_HALIGNMENT
enum | GESTextVAlign
#define | DEFAULT_VALIGNMENT
enum | GESVideoTestPattern
enum | GESPipelineFlags
enum | GESEdge
enum | GESEditMode
enum | GESMetaFlag

## Includes

    #include <ges/ges.h>

## Description

## Functions

## Types and Values

### enum GESTrackType

Types of content handled by a track. If the content is not one of `GES_TRACK_TYPE_AUDIO` , `GES_TRACK_TYPE_VIDEO` or `GES_TRACK_TYPE_TEXT` , the user of the GESTrack must set the type to `GES_TRACK_TYPE_CUSTOM` .

`GES_TRACK_TYPE_UNKNOWN` is for internal purposes and should not be used by users

#### Members

GES_TRACK_TYPE_UNKNOWN | A track of unknown type (i.e. invalid) |
GES_TRACK_TYPE_AUDIO | An audio track |
GES_TRACK_TYPE_VIDEO | A video track |
GES_TRACK_TYPE_TEXT | A text (subtitle) track |
GES_TRACK_TYPE_CUSTOM | A custom-content track |

### enum GESVideoStandardTransitionType

#### Members

GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE | Transition type has not been set, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR | A bar moves from left to right, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB | A bar moves from top to bottom, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL | A box expands from the upper-left corner to the lower-right corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR | A box expands from the upper-right corner to the lower-left corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR | A box expands from the lower-right corner to the upper-left corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL | A box expands from the lower-left corner to the upper-right corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI | A box shape expands from each of the four corners toward the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO | A box shape expands from the center of each quadrant toward the corners of each quadrant, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V | A central, vertical line splits and expands toward the left and right edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H | A central, horizontal line splits and expands toward the top and bottom edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC | A box expands from the top edge's midpoint to the bottom corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC | A box expands from the right edge's midpoint to the left corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC | A box expands from the bottom edge's midpoint to the top corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC | A box expands from the left edge's midpoint to the right corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL | A diagonal line moves from the upper-left corner to the lower-right corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR | A diagonal line moves from the upper right corner to the lower-left corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V | Two wedge shapes slide in from the top and bottom edges toward the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H | Two wedge shapes slide in from the left and right edges toward the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL | A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL | A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD | Four wedge shapes split from the center and retract toward the four edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD | A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D | A wedge shape moves from top to bottom, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L | A wedge shape moves from right to left, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U | A wedge shape moves from bottom to top, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R | A wedge shape moves from left to right, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D | A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L | A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U | A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R | A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT | A rectangle expands from the center., |
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12 | A radial hand sweeps clockwise from the twelve o'clock position, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3 | A radial hand sweeps clockwise from the three o'clock position, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6 | A radial hand sweeps clockwise from the six o'clock position, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9 | A radial hand sweeps clockwise from the nine o'clock position, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV | Two radial hands sweep clockwise from the twelve and six o'clock positions, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH | Two radial hands sweep clockwise from the nine and three o'clock positions, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB | Four radial hands sweep clockwise, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT | A fan unfolds from the top edge, the fan axis at the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR | A fan unfolds from the right edge, the fan axis at the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV | Two fans, their axes at the center, unfold from the top and bottom, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH | Two fans, their axes at the center, unfold from the left and right, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT | A radial hand sweeps clockwise from the top edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR | A radial hand sweeps clockwise from the right edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB | A radial hand sweeps clockwise from the bottom edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL | A radial hand sweeps clockwise from the left edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV | Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD | Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV | Two radial hands attached at the top and bottom edges' midpoints sweep from right to left, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH | Two radial hands attached at the left and right edges' midpoints sweep from top to bottom, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T | A fan unfolds from the bottom, the fan axis at the top edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R | A fan unfolds from the left, the fan axis at the right edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B | A fan unfolds from the top, the fan axis at the bottom edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L | A fan unfolds from the right, the fan axis at the left edge's midpoint, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV | Two fans, their axes at the top and bottom, unfold from the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH | Two fans, their axes at the left and right, unfold from the center, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL | A radial hand sweeps clockwise from the upper-left corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL | A radial hand sweeps counter-clockwise from the lower-left corner., |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR | A radial hand sweeps clockwise from the lower-right corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR | A radial hand sweeps counter-clockwise from the upper-right corner, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL | Two radial hands attached at the upper-left and lower-right corners sweep down and up, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL | Two radial hands attached at the lower-left and upper-right corners sweep down and up, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T | Two radial hands attached at the upper-left and upper-right corners sweep down, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L | Two radial hands attached at the upper-left and lower-left corners sweep to the right, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B | Two radial hands attached at the lower-left and lower-right corners sweep up, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R | Two radial hands attached at the upper-right and lower-right corners sweep to the left, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R | Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U | Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V | Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H | Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left, |
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE | Crossfade |

### enum GESTextHAlign

Horizontal alignment of the text.

#### Members

GES_TEXT_HALIGN_LEFT | align text left |
GES_TEXT_HALIGN_CENTER | align text center |
GES_TEXT_HALIGN_RIGHT | align text right |
GES_TEXT_HALIGN_POSITION | align text on xpos position |

### DEFAULT_HALIGNMENT

    #define DEFAULT_HALIGNMENT GES_TEXT_HALIGN_CENTER

### enum GESTextVAlign

Vertical alignment of the text.

#### Members

GES_TEXT_VALIGN_BASELINE | draw text on the baseline |
GES_TEXT_VALIGN_BOTTOM | draw text on the bottom |
GES_TEXT_VALIGN_TOP | draw text on top |
GES_TEXT_VALIGN_POSITION | draw text on ypos position |
GES_TEXT_VALIGN_CENTER | draw text on the center |

### DEFAULT_VALIGNMENT

    #define DEFAULT_VALIGNMENT GES_TEXT_VALIGN_BASELINE

### enum GESVideoTestPattern

The test pattern to produce

#### Members

GES_VIDEO_TEST_PATTERN_SMPTE | A standard SMPTE test pattern |
GES_VIDEO_TEST_PATTERN_SNOW | Random noise |
GES_VIDEO_TEST_PATTERN_BLACK | A black image |
GES_VIDEO_TEST_PATTERN_WHITE | A white image |
GES_VIDEO_TEST_PATTERN_RED | A red image |
GES_VIDEO_TEST_PATTERN_GREEN | A green image |
GES_VIDEO_TEST_PATTERN_BLUE | A blue image |
GES_VIDEO_TEST_PATTERN_CHECKERS1 | Checkers pattern (1px) |
GES_VIDEO_TEST_PATTERN_CHECKERS2 | Checkers pattern (2px) |
GES_VIDEO_TEST_PATTERN_CHECKERS4 | Checkers pattern (4px) |
GES_VIDEO_TEST_PATTERN_CHECKERS8 | Checkers pattern (8px) |
GES_VIDEO_TEST_PATTERN_CIRCULAR | Circular pattern |
GES_VIDEO_TEST_PATTERN_BLINK | Alternate between black and white |
GES_VIDEO_TEST_PATTERN_SMPTE75 | SMPTE test pattern (75% color bars) |
GES_VIDEO_TEST_ZONE_PLATE | Zone plate |
GES_VIDEO_TEST_GAMUT | Gamut checkers |
GES_VIDEO_TEST_CHROMA_ZONE_PLATE | Chroma zone plate |
GES_VIDEO_TEST_PATTERN_SOLID | Solid color |

### enum GESPipelineFlags

The various modes the GESPipeline can be configured to.

#### Members

GES_PIPELINE_MODE_PREVIEW_AUDIO | output audio to the soundcard |
GES_PIPELINE_MODE_PREVIEW_VIDEO | output video to the screen |
GES_PIPELINE_MODE_PREVIEW | output audio/video to soundcard/screen (default) |
GES_PIPELINE_MODE_RENDER | render timeline (forces decoding) |
GES_PIPELINE_MODE_SMART_RENDER | render timeline (tries to avoid decoding/reencoding) |

### enum GESEdge

The edges of an object contain in a GESTimeline or GESTrack

#### Members

GES_EDGE_START | Represents the start of an object. |
GES_EDGE_END | Represents the end of an object. |
GES_EDGE_NONE | Represent the fact we are not workin with any edge of an object. |

### enum GESEditMode

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

trim, ripple and roll

and clip management.

#### Members

GES_EDIT_MODE_NORMAL | The object is edited the normal way (default). |
GES_EDIT_MODE_RIPPLE | 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. |
GES_EDIT_MODE_ROLL | 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. |
GES_EDIT_MODE_TRIM | 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. |
GES_EDIT_MODE_SLIDE | 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) |

### enum GESMetaFlag

#### Members

GES_META_READABLE | The metadata is readable |
GES_META_WRITABLE | The metadata is writable |
GES_META_READ_WRITE | The metadata is readable and writable |