| GStreamer Editing Services 0.10.0.2 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ges/ges.h> enum GESVideoStandardTransitionType; enum GESTrackType; enum GESTextHAlign; #define DEFAULT_HALIGNMENT enum GESTextVAlign; #define DEFAULT_VALIGNMENT enum GESVideoTestPattern;
typedef enum {
GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE = 0,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR = 1,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB = 2,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL = 3,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR = 4,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR = 5,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL = 6,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI = 7,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO = 8,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V = 21,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H = 22,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC = 23,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC = 24,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC = 25,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC = 26,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL = 41,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR = 42,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V = 43,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H = 44,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL = 45,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL = 46,
GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD = 47,
GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD = 48,
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D = 61,
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L = 62,
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U = 63,
GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R = 64,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D = 65,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L = 66,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U = 67,
GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R = 68,
GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT = 101,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12 = 201,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3 = 202,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6 = 203,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9 = 204,
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV = 205,
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH = 206,
GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB = 207,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT = 211,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR = 212,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV = 213,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH = 214,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT = 221,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR = 222,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB = 223,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL = 224,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV = 225,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD = 226,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV = 227,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH = 228,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T = 231,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R = 232,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B = 233,
GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L = 234,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV = 235,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH = 236,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL = 241,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL = 242,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR = 243,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR = 244,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL = 245,
GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL = 246,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T = 251,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L = 252,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B = 253,
GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R = 254,
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R = 261,
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U = 262,
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V = 263,
GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H = 264,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE = 512
} GESVideoStandardTransitionType;
| Transition type has not been set, | |
| A bar moves from left to right, | |
| A bar moves from top to bottom, | |
| A box expands from the upper-left corner to the lower-right corner, | |
| A box expands from the upper-right corner to the lower-left corner, | |
| A box expands from the lower-right corner to the upper-left corner, | |
| A box expands from the lower-left corner to the upper-right corner, | |
| A box shape expands from each of the four corners toward the center, | |
| A box shape expands from the center of each quadrant toward the corners of each quadrant, | |
| A central, vertical line splits and expands toward the left and right edges, | |
| A central, horizontal line splits and expands toward the top and bottom edges, | |
| A box expands from the top edge's midpoint to the bottom corners, | |
| A box expands from the right edge's midpoint to the left corners, | |
| A box expands from the bottom edge's midpoint to the top corners, | |
| A box expands from the left edge's midpoint to the right corners, | |
| A diagonal line moves from the upper-left corner to the lower-right corner, | |
| A diagonal line moves from the upper right corner to the lower-left corner, | |
| Two wedge shapes slide in from the top and bottom edges toward the center, | |
| Two wedge shapes slide in from the left and right edges toward the center, | |
| A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners, | |
| A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners, | |
| Four wedge shapes split from the center and retract toward the four edges, | |
| A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges, | |
| A wedge shape moves from top to bottom, | |
| A wedge shape moves from right to left, | |
| A wedge shape moves from bottom to top, | |
| A wedge shape moves from left to right, | |
| A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, | |
| A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, | |
| A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, | |
| A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, | |
| A rectangle expands from the center., | |
| A radial hand sweeps clockwise from the twelve o'clock position, | |
| A radial hand sweeps clockwise from the three o'clock position, | |
| A radial hand sweeps clockwise from the six o'clock position, | |
| A radial hand sweeps clockwise from the nine o'clock position, | |
| Two radial hands sweep clockwise from the twelve and six o'clock positions, | |
| Two radial hands sweep clockwise from the nine and three o'clock positions, | |
| Four radial hands sweep clockwise, | |
| A fan unfolds from the top edge, the fan axis at the center, | |
| A fan unfolds from the right edge, the fan axis at the center, | |
| Two fans, their axes at the center, unfold from the top and bottom, | |
| Two fans, their axes at the center, unfold from the left and right, | |
| A radial hand sweeps clockwise from the top edge's midpoint, | |
| A radial hand sweeps clockwise from the right edge's midpoint, | |
| A radial hand sweeps clockwise from the bottom edge's midpoint, | |
| A radial hand sweeps clockwise from the left edge's midpoint, | |
| Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints, | |
| Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints, | |
| Two radial hands attached at the top and bottom edges' midpoints sweep from right to left, | |
| Two radial hands attached at the left and right edges' midpoints sweep from top to bottom, | |
| A fan unfolds from the bottom, the fan axis at the top edge's midpoint, | |
| A fan unfolds from the left, the fan axis at the right edge's midpoint, | |
| A fan unfolds from the top, the fan axis at the bottom edge's midpoint, | |
| A fan unfolds from the right, the fan axis at the left edge's midpoint, | |
| Two fans, their axes at the top and bottom, unfold from the center, | |
| Two fans, their axes at the left and right, unfold from the center, | |
| A radial hand sweeps clockwise from the upper-left corner, | |
| A radial hand sweeps counter-clockwise from the lower-left corner., | |
| A radial hand sweeps clockwise from the lower-right corner, | |
| A radial hand sweeps counter-clockwise from the upper-right corner, | |
| Two radial hands attached at the upper-left and lower-right corners sweep down and up, | |
| Two radial hands attached at the lower-left and upper-right corners sweep down and up, | |
| Two radial hands attached at the upper-left and upper-right corners sweep down, | |
| Two radial hands attached at the upper-left and lower-left corners sweep to the right, | |
| Two radial hands attached at the lower-left and lower-right corners sweep up, | |
| Two radial hands attached at the upper-right and lower-right corners sweep to the left, | |
| Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left, | |
| Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom, | |
| Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top, | |
| Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left, | |
| Crossfade |
typedef enum {
GES_TRACK_TYPE_UNKNOWN = 1 << 0,
GES_TRACK_TYPE_AUDIO = 1 << 1,
GES_TRACK_TYPE_VIDEO = 1 << 2,
GES_TRACK_TYPE_TEXT = 1 << 3,
GES_TRACK_TYPE_CUSTOM = 1 << 4,
} 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
typedef enum {
GES_TEXT_HALIGN_LEFT,
GES_TEXT_HALIGN_CENTER,
GES_TEXT_HALIGN_RIGHT
} GESTextHAlign;
Horizontal alignment of the text.
typedef enum {
GES_TEXT_VALIGN_BASELINE,
GES_TEXT_VALIGN_BOTTOM,
GES_TEXT_VALIGN_TOP
} GESTextVAlign;
Vertical alignment of the text.
typedef enum {
GES_VIDEO_TEST_PATTERN_SMPTE,
GES_VIDEO_TEST_PATTERN_SNOW,
GES_VIDEO_TEST_PATTERN_BLACK,
GES_VIDEO_TEST_PATTERN_WHITE,
GES_VIDEO_TEST_PATTERN_RED,
GES_VIDEO_TEST_PATTERN_GREEN,
GES_VIDEO_TEST_PATTERN_BLUE,
GES_VIDEO_TEST_PATTERN_CHECKERS1,
GES_VIDEO_TEST_PATTERN_CHECKERS2,
GES_VIDEO_TEST_PATTERN_CHECKERS4,
GES_VIDEO_TEST_PATTERN_CHECKERS8,
GES_VIDEO_TEST_PATTERN_CIRCULAR,
GES_VIDEO_TEST_PATTERN_BLINK,
GES_VIDEO_TEST_PATTERN_SMPTE75,
} GESVideoTestPattern;
The test pattern to produce
| A standard SMPTE test pattern | |
| Random noise | |
| A black image | |
| A white image | |
| A red image | |
| A green image | |
| A blue image | |
| Checkers pattern (1px) | |
| Checkers pattern (2px) | |
| Checkers pattern (4px) | |
| Checkers pattern (8px) | |
| Circular pattern | |
| Alternate between black and white | |
| SMPTE test pattern (75% color bars) |