Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AssetLoadingReturn
- data ChildrenControlMode
- data Edge
- data EditMode
- data Error
- data TextHAlign
- data TextVAlign
- data VideoStandardTransitionType
- = VideoStandardTransitionTypeNone
- | VideoStandardTransitionTypeBarWipeLr
- | VideoStandardTransitionTypeBarWipeTb
- | VideoStandardTransitionTypeBoxWipeTl
- | VideoStandardTransitionTypeBoxWipeTr
- | VideoStandardTransitionTypeBoxWipeBr
- | VideoStandardTransitionTypeBoxWipeBl
- | VideoStandardTransitionTypeFourBoxWipeCi
- | VideoStandardTransitionTypeFourBoxWipeCo
- | VideoStandardTransitionTypeBarndoorV
- | VideoStandardTransitionTypeBarndoorH
- | VideoStandardTransitionTypeBoxWipeTc
- | VideoStandardTransitionTypeBoxWipeRc
- | VideoStandardTransitionTypeBoxWipeBc
- | VideoStandardTransitionTypeBoxWipeLc
- | VideoStandardTransitionTypeDiagonalTl
- | VideoStandardTransitionTypeDiagonalTr
- | VideoStandardTransitionTypeBowtieV
- | VideoStandardTransitionTypeBowtieH
- | VideoStandardTransitionTypeBarndoorDbl
- | VideoStandardTransitionTypeBarndoorDtl
- | VideoStandardTransitionTypeMiscDiagonalDbd
- | VideoStandardTransitionTypeMiscDiagonalDd
- | VideoStandardTransitionTypeVeeD
- | VideoStandardTransitionTypeVeeL
- | VideoStandardTransitionTypeVeeU
- | VideoStandardTransitionTypeVeeR
- | VideoStandardTransitionTypeBarnveeD
- | VideoStandardTransitionTypeBarnveeL
- | VideoStandardTransitionTypeBarnveeU
- | VideoStandardTransitionTypeBarnveeR
- | VideoStandardTransitionTypeIrisRect
- | VideoStandardTransitionTypeClockCw12
- | VideoStandardTransitionTypeClockCw3
- | VideoStandardTransitionTypeClockCw6
- | VideoStandardTransitionTypeClockCw9
- | VideoStandardTransitionTypePinwheelTbv
- | VideoStandardTransitionTypePinwheelTbh
- | VideoStandardTransitionTypePinwheelFb
- | VideoStandardTransitionTypeFanCt
- | VideoStandardTransitionTypeFanCr
- | VideoStandardTransitionTypeDoublefanFov
- | VideoStandardTransitionTypeDoublefanFoh
- | VideoStandardTransitionTypeSinglesweepCwt
- | VideoStandardTransitionTypeSinglesweepCwr
- | VideoStandardTransitionTypeSinglesweepCwb
- | VideoStandardTransitionTypeSinglesweepCwl
- | VideoStandardTransitionTypeDoublesweepPv
- | VideoStandardTransitionTypeDoublesweepPd
- | VideoStandardTransitionTypeDoublesweepOv
- | VideoStandardTransitionTypeDoublesweepOh
- | VideoStandardTransitionTypeFanT
- | VideoStandardTransitionTypeFanR
- | VideoStandardTransitionTypeFanB
- | VideoStandardTransitionTypeFanL
- | VideoStandardTransitionTypeDoublefanFiv
- | VideoStandardTransitionTypeDoublefanFih
- | VideoStandardTransitionTypeSinglesweepCwtl
- | VideoStandardTransitionTypeSinglesweepCwbl
- | VideoStandardTransitionTypeSinglesweepCwbr
- | VideoStandardTransitionTypeSinglesweepCwtr
- | VideoStandardTransitionTypeDoublesweepPdtl
- | VideoStandardTransitionTypeDoublesweepPdbl
- | VideoStandardTransitionTypeSaloondoorT
- | VideoStandardTransitionTypeSaloondoorL
- | VideoStandardTransitionTypeSaloondoorB
- | VideoStandardTransitionTypeSaloondoorR
- | VideoStandardTransitionTypeWindshieldR
- | VideoStandardTransitionTypeWindshieldU
- | VideoStandardTransitionTypeWindshieldV
- | VideoStandardTransitionTypeWindshieldH
- | VideoStandardTransitionTypeCrossfade
- | VideoStandardTransitionTypeFadeIn
- | AnotherVideoStandardTransitionType Int
- data VideoTestPattern
- = VideoTestPatternSmpte
- | VideoTestPatternSnow
- | VideoTestPatternBlack
- | VideoTestPatternWhite
- | VideoTestPatternRed
- | VideoTestPatternGreen
- | VideoTestPatternBlue
- | VideoTestPatternCheckers1
- | VideoTestPatternCheckers2
- | VideoTestPatternCheckers4
- | VideoTestPatternCheckers8
- | VideoTestPatternCircular
- | VideoTestPatternBlink
- | VideoTestPatternSmpte75
- | VideoTestPatternZonePlate
- | VideoTestPatternGamut
- | VideoTestPatternChromaZonePlate
- | VideoTestPatternSolidColor
- | AnotherVideoTestPattern Int
Enumerations
AssetLoadingReturn
data AssetLoadingReturn Source #
No description available in the introspection data.
AssetLoadingReturnError | Indicates that an error occurred |
AssetLoadingReturnAsync | Indicates that the loading is being performed asynchronously |
AssetLoadingReturnOk | Indicates that the loading is complete, without error |
AnotherAssetLoadingReturn Int | Catch-all for unknown values |
Instances
ChildrenControlMode
data ChildrenControlMode Source #
To be used by subclasses only. This indicate how to handle a change in a child.
ChildrenControlModeUpdate | No description available in the introspection data. |
ChildrenControlModeIgnoreNotifies | No description available in the introspection data. |
ChildrenControlModeUpdateOffsets | No description available in the introspection data. |
ChildrenControlModeUpdateAllValues | No description available in the introspection data. |
ChildrenControlModeLast | No description available in the introspection data. |
AnotherChildrenControlMode Int | Catch-all for unknown values |
Instances
Edge
EdgeEdgeStart | Represents the start of an object. |
EdgeStart | Represents the start of an object. |
EdgeEdgeEnd | Represents the end of an object. |
EdgeEnd | Represents the end of an object. |
EdgeEdgeNone | Represent the fact we are not working with any edge of an object. |
EdgeNone | Represent the fact we are not working with any edge of an object. |
AnotherEdge Int | Catch-all for unknown values |
EditMode
When a single timeline element is edited within its timeline at some
position, using timelineElementEdit
, depending on the edit
mode, its TimelineElement:start, TimelineElement:duration or
TimelineElement:inPoint will be adjusted accordingly. In addition,
any clips may change Clip:layer.
Each edit can be broken down into a combination of three basic edits:
+ MOVE: This moves the start of the element to the edit position. + START-TRIM: This cuts or grows the start of the element, whilst maintaining the time at which its internal content appears in the timeline data output. If the element is made shorter, the data that appeared at the edit position will still appear in the timeline at the same time. If the element is made longer, the data that appeared at the previous start of the element will still appear in the timeline at the same time. + END-TRIM: Similar to START-TRIM, but the end of the element is cut or grown.
In particular, when editing a Clip
:
+ MOVE: This will set the TimelineElement:start of the clip to the edit position. + START-TRIM: This will set the TimelineElement:start of the clip to the edit position. To keep the end time the same, the TimelineElement:duration of the clip will be adjusted in the opposite direction. In addition, the TimelineElement:inPoint of the clip will be shifted such that the content that appeared at the new or previous start time, whichever is latest, still appears at the same timeline time. For example, if a frame appeared at the start of the clip, and the start of the clip is reduced, the in-point of the clip will also reduce such that the frame will appear later within the clip, but at the same timeline position. + END-TRIM: This will set the TimelineElement:duration of the clip such that its end time will match the edit position.
When editing a Group
:
+ MOVE: This will set the Group:start of the clip to the edit position by shifting all of its children by the same amount. So each child will maintain their relative positions. + START-TRIM: If the group is made shorter, this will START-TRIM any clips under the group that start after the edit position to the same edit position. If the group is made longer, this will START-TRIM any clip under the group whose start matches the start of the group to the same edit position. + END-TRIM: If the group is made shorter, this will END-TRIM any clips under the group that end after the edit position to the same edit position. If the group is made longer, this will END-TRIM any clip under the group whose end matches the end of the group to the same edit position.
When editing a TrackElement
, if it has a Clip
parent, this
will be edited instead. Otherwise it is edited in the same way as a
Clip
.
The layer priority of a Group
is the lowest layer priority of any
Clip
underneath it. When a group is edited to a new layer
priority, it will shift all clips underneath it by the same amount,
such that their relative layers stay the same.
If the Timeline
has a Timeline:snappingDistance, then snapping
may occur for some of the edges of the **main** edited element:
+ MOVE: The start or end edge of *any* Source
under the element may
be snapped.
+ START-TRIM: The start edge of a Source
whose start edge touches
the start edge of the element may snap.
+ END-TRIM: The end edge of a Source
whose end edge touches the end
edge of the element may snap.
These edges may snap with either the start or end edge of *any* other
Source
in the timeline that is not also being moved by the element,
including those in different layers, if they are within the
Timeline:snappingDistance. During an edit, only up to one snap can
occur. This will shift the edit position such that the snapped edges
will touch once the edit has completed.
Note that snapping can cause an edit to fail where it would have otherwise succeeded because it may push the edit position such that the edit would result in an unsupported timeline configuration. Similarly, snapping can cause an edit to succeed where it would have otherwise failed.
For example, in GES_EDIT_MODE_RIPPLE
acting on GES_EDGE_NONE
, the
main element is the MOVED toplevel of the edited element. Any source
under the main MOVED toplevel may have its start or end edge snapped.
Note, these sources cannot snap with each other. The edit may also
push other elements, but any sources under these elements cannot snap,
nor can they be snapped with. If a snap does occur, the MOVE of the
toplevel *and* all other elements pushed by the ripple will be shifted
by the same amount such that the snapped edges will touch.
You can also find more explanation about the behaviour of those modes at: trim, ripple and roll and clip management.
EditModeEditNormal | The element is edited the normal way (default).
If acting on the element as a whole ( |
EditModeNormal | The element is edited the normal way (default).
If acting on the element as a whole ( |
EditModeEditRipple | The element is edited in ripple mode: moving
itself as well as later elements, keeping their relative times. This
edits the element the same as |
EditModeRipple | The element is edited in ripple mode: moving
itself as well as later elements, keeping their relative times. This
edits the element the same as |
EditModeEditRoll | The element is edited in roll mode: swapping its
content for its neighbour's, or vis versa, in the timeline output.
This edits the element the same as |
EditModeRoll | The element is edited in roll mode: swapping its
content for its neighbour's, or vis versa, in the timeline output.
This edits the element the same as |
EditModeEditTrim | The element is edited in trim mode. When acting
on the start of the element, this will START-TRIM it. When acting on
the end of the element, this will END-TRIM it. Acting on the element
as a whole ( |
EditModeTrim | The element is edited in trim mode. When acting
on the start of the element, this will START-TRIM it. When acting on
the end of the element, this will END-TRIM it. Acting on the element
as a whole ( |
EditModeEditSlide | The element is edited in slide mode (not yet
implemented): moving the element replacing or consuming content on
each end. When acting on the element as a whole, this will MOVE the
element, and TRIM any neighbours on either side. A neighbour is
defined in the same way as in |
EditModeSlide | The element is edited in slide mode (not yet
implemented): moving the element replacing or consuming content on
each end. When acting on the element as a whole, this will MOVE the
element, and TRIM any neighbours on either side. A neighbour is
defined in the same way as in |
AnotherEditMode Int | Catch-all for unknown values |
Instances
Enum EditMode Source # | |
Show EditMode Source # | |
Eq EditMode Source # | |
Ord EditMode Source # | |
Defined in GI.GES.Enums | |
BoxedEnum EditMode Source # | |
Defined in GI.GES.Enums | |
TypedObject EditMode Source # | |
Defined in GI.GES.Enums | |
HasParentTypes EditMode Source # | |
Defined in GI.GES.Enums | |
type ParentTypes EditMode Source # | |
Defined in GI.GES.Enums |
Error
No description available in the introspection data.
ErrorAssetWrongId | The ID passed is malformed |
ErrorAssetLoading | An error happened while loading the asset |
ErrorFormatterMalformedInputFile | The formatted files was malformed |
ErrorInvalidFrameNumber | The frame number is invalid |
ErrorNegativeLayer | The operation would lead to a negative
|
ErrorNegativeTime | The operation would lead to a negative time. E.g. for the TimelineElement:start TimelineElement:duration or TimelineElement:inPoint. (Since: 1.18) |
ErrorNotEnoughInternalContent | Some |
ErrorInvalidOverlapInTrack | The operation would break one of
the overlap conditions for the |
ErrorInvalidEffectBinDescription | No description available in the introspection data. |
AnotherError Int | Catch-all for unknown values |
TextHAlign
data TextHAlign Source #
Horizontal alignment of the text.
TextHAlignLeft | align text left |
TextHAlignCenter | align text center |
TextHAlignRight | align text right |
TextHAlignPosition | align text on xpos position |
TextHAlignAbsolute | No description available in the introspection data. |
AnotherTextHAlign Int | Catch-all for unknown values |
Instances
TextVAlign
data TextVAlign Source #
Vertical alignment of the text.
TextVAlignBaseline | draw text on the baseline |
TextVAlignBottom | draw text on the bottom |
TextVAlignTop | draw text on top |
TextVAlignPosition | draw text on ypos position |
TextVAlignCenter | draw text on the center |
TextVAlignAbsolute | No description available in the introspection data. |
AnotherTextVAlign Int | Catch-all for unknown values |
Instances
VideoStandardTransitionType
data VideoStandardTransitionType Source #
No description available in the introspection data.
VideoStandardTransitionTypeNone | Transition type has not been set, |
VideoStandardTransitionTypeBarWipeLr | A bar moves from left to right, |
VideoStandardTransitionTypeBarWipeTb | A bar moves from top to bottom, |
VideoStandardTransitionTypeBoxWipeTl | A box expands from the upper-left corner to the lower-right corner, |
VideoStandardTransitionTypeBoxWipeTr | A box expands from the upper-right corner to the lower-left corner, |
VideoStandardTransitionTypeBoxWipeBr | A box expands from the lower-right corner to the upper-left corner, |
VideoStandardTransitionTypeBoxWipeBl | A box expands from the lower-left corner to the upper-right corner, |
VideoStandardTransitionTypeFourBoxWipeCi | A box shape expands from each of the four corners toward the center, |
VideoStandardTransitionTypeFourBoxWipeCo | A box shape expands from the center of each quadrant toward the corners of each quadrant, |
VideoStandardTransitionTypeBarndoorV | A central, vertical line splits and expands toward the left and right edges, |
VideoStandardTransitionTypeBarndoorH | A central, horizontal line splits and expands toward the top and bottom edges, |
VideoStandardTransitionTypeBoxWipeTc | A box expands from the top edge's midpoint to the bottom corners, |
VideoStandardTransitionTypeBoxWipeRc | A box expands from the right edge's midpoint to the left corners, |
VideoStandardTransitionTypeBoxWipeBc | A box expands from the bottom edge's midpoint to the top corners, |
VideoStandardTransitionTypeBoxWipeLc | A box expands from the left edge's midpoint to the right corners, |
VideoStandardTransitionTypeDiagonalTl | A diagonal line moves from the upper-left corner to the lower-right corner, |
VideoStandardTransitionTypeDiagonalTr | A diagonal line moves from the upper right corner to the lower-left corner, |
VideoStandardTransitionTypeBowtieV | Two wedge shapes slide in from the top and bottom edges toward the center, |
VideoStandardTransitionTypeBowtieH | Two wedge shapes slide in from the left and right edges toward the center, |
VideoStandardTransitionTypeBarndoorDbl | A diagonal line from the lower-left to upper-right corners splits and expands toward the opposite corners, |
VideoStandardTransitionTypeBarndoorDtl | A diagonal line from upper-left to lower-right corners splits and expands toward the opposite corners, |
VideoStandardTransitionTypeMiscDiagonalDbd | Four wedge shapes split from the center and retract toward the four edges, |
VideoStandardTransitionTypeMiscDiagonalDd | A diamond connecting the four edge midpoints simultaneously contracts toward the center and expands toward the edges, |
VideoStandardTransitionTypeVeeD | A wedge shape moves from top to bottom, |
VideoStandardTransitionTypeVeeL | A wedge shape moves from right to left, |
VideoStandardTransitionTypeVeeU | A wedge shape moves from bottom to top, |
VideoStandardTransitionTypeVeeR | A wedge shape moves from left to right, |
VideoStandardTransitionTypeBarnveeD | A 'V' shape extending from the bottom edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
VideoStandardTransitionTypeBarnveeL | A 'V' shape extending from the left edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
VideoStandardTransitionTypeBarnveeU | A 'V' shape extending from the top edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
VideoStandardTransitionTypeBarnveeR | A 'V' shape extending from the right edge's midpoint to the opposite corners contracts toward the center and expands toward the edges, |
VideoStandardTransitionTypeIrisRect | A rectangle expands from the center., |
VideoStandardTransitionTypeClockCw12 | A radial hand sweeps clockwise from the twelve o'clock position, |
VideoStandardTransitionTypeClockCw3 | A radial hand sweeps clockwise from the three o'clock position, |
VideoStandardTransitionTypeClockCw6 | A radial hand sweeps clockwise from the six o'clock position, |
VideoStandardTransitionTypeClockCw9 | A radial hand sweeps clockwise from the nine o'clock position, |
VideoStandardTransitionTypePinwheelTbv | Two radial hands sweep clockwise from the twelve and six o'clock positions, |
VideoStandardTransitionTypePinwheelTbh | Two radial hands sweep clockwise from the nine and three o'clock positions, |
VideoStandardTransitionTypePinwheelFb | Four radial hands sweep clockwise, |
VideoStandardTransitionTypeFanCt | A fan unfolds from the top edge, the fan axis at the center, |
VideoStandardTransitionTypeFanCr | A fan unfolds from the right edge, the fan axis at the center, |
VideoStandardTransitionTypeDoublefanFov | Two fans, their axes at the center, unfold from the top and bottom, |
VideoStandardTransitionTypeDoublefanFoh | Two fans, their axes at the center, unfold from the left and right, |
VideoStandardTransitionTypeSinglesweepCwt | A radial hand sweeps clockwise from the top edge's midpoint, |
VideoStandardTransitionTypeSinglesweepCwr | A radial hand sweeps clockwise from the right edge's midpoint, |
VideoStandardTransitionTypeSinglesweepCwb | A radial hand sweeps clockwise from the bottom edge's midpoint, |
VideoStandardTransitionTypeSinglesweepCwl | A radial hand sweeps clockwise from the left edge's midpoint, |
VideoStandardTransitionTypeDoublesweepPv | Two radial hands sweep clockwise and counter-clockwise from the top and bottom edges' midpoints, |
VideoStandardTransitionTypeDoublesweepPd | Two radial hands sweep clockwise and counter-clockwise from the left and right edges' midpoints, |
VideoStandardTransitionTypeDoublesweepOv | Two radial hands attached at the top and bottom edges' midpoints sweep from right to left, |
VideoStandardTransitionTypeDoublesweepOh | Two radial hands attached at the left and right edges' midpoints sweep from top to bottom, |
VideoStandardTransitionTypeFanT | A fan unfolds from the bottom, the fan axis at the top edge's midpoint, |
VideoStandardTransitionTypeFanR | A fan unfolds from the left, the fan axis at the right edge's midpoint, |
VideoStandardTransitionTypeFanB | A fan unfolds from the top, the fan axis at the bottom edge's midpoint, |
VideoStandardTransitionTypeFanL | A fan unfolds from the right, the fan axis at the left edge's midpoint, |
VideoStandardTransitionTypeDoublefanFiv | Two fans, their axes at the top and bottom, unfold from the center, |
VideoStandardTransitionTypeDoublefanFih | Two fans, their axes at the left and right, unfold from the center, |
VideoStandardTransitionTypeSinglesweepCwtl | A radial hand sweeps clockwise from the upper-left corner, |
VideoStandardTransitionTypeSinglesweepCwbl | A radial hand sweeps counter-clockwise from the lower-left corner., |
VideoStandardTransitionTypeSinglesweepCwbr | A radial hand sweeps clockwise from the lower-right corner, |
VideoStandardTransitionTypeSinglesweepCwtr | A radial hand sweeps counter-clockwise from the upper-right corner, |
VideoStandardTransitionTypeDoublesweepPdtl | Two radial hands attached at the upper-left and lower-right corners sweep down and up, |
VideoStandardTransitionTypeDoublesweepPdbl | Two radial hands attached at the lower-left and upper-right corners sweep down and up, |
VideoStandardTransitionTypeSaloondoorT | Two radial hands attached at the upper-left and upper-right corners sweep down, |
VideoStandardTransitionTypeSaloondoorL | Two radial hands attached at the upper-left and lower-left corners sweep to the right, |
VideoStandardTransitionTypeSaloondoorB | Two radial hands attached at the lower-left and lower-right corners sweep up, |
VideoStandardTransitionTypeSaloondoorR | Two radial hands attached at the upper-right and lower-right corners sweep to the left, |
VideoStandardTransitionTypeWindshieldR | Two radial hands attached at the midpoints of the top and bottom halves sweep from right to left, |
VideoStandardTransitionTypeWindshieldU | Two radial hands attached at the midpoints of the left and right halves sweep from top to bottom, |
VideoStandardTransitionTypeWindshieldV | Two sets of radial hands attached at the midpoints of the top and bottom halves sweep from top to bottom and bottom to top, |
VideoStandardTransitionTypeWindshieldH | Two sets of radial hands attached at the midpoints of the left and right halves sweep from left to right and right to left, |
VideoStandardTransitionTypeCrossfade | Crossfade |
VideoStandardTransitionTypeFadeIn | Similar to crossfade, but fade in the front video without fading out the background one Since: 1.22 |
AnotherVideoStandardTransitionType Int | Catch-all for unknown values |
Instances
VideoTestPattern
data VideoTestPattern Source #
The test pattern to produce
VideoTestPatternSmpte | A standard SMPTE test pattern |
VideoTestPatternSnow | Random noise |
VideoTestPatternBlack | A black image |
VideoTestPatternWhite | A white image |
VideoTestPatternRed | A red image |
VideoTestPatternGreen | A green image |
VideoTestPatternBlue | A blue image |
VideoTestPatternCheckers1 | Checkers pattern (1px) |
VideoTestPatternCheckers2 | Checkers pattern (2px) |
VideoTestPatternCheckers4 | Checkers pattern (4px) |
VideoTestPatternCheckers8 | Checkers pattern (8px) |
VideoTestPatternCircular | Circular pattern |
VideoTestPatternBlink | Alternate between black and white |
VideoTestPatternSmpte75 | SMPTE test pattern (75% color bars) |
VideoTestPatternZonePlate | Zone plate |
VideoTestPatternGamut | Gamut checkers |
VideoTestPatternChromaZonePlate | Chroma zone plate |
VideoTestPatternSolidColor | Solid color |
AnotherVideoTestPattern Int | Catch-all for unknown values |