GESClip

GESClip

Functions

Properties

GESLayer * layer Read
GESTrackType supported-formats Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GESTimelineElement
            ╰── GESContainer
                ╰── GESClip
                    ├── GESOperationClip
                    ╰── GESSourceClip

Implemented Interfaces

GESClip implements GESExtractable and GESMetaContainer.

Includes

#include <ges/ges.h>

Description

Functions

GESCreateTrackElementFunc ()

GESTrackElement *
(*GESCreateTrackElementFunc) (GESClip *clip,
                              GESTrackType type);

GESCreateTrackElementsFunc ()

GList *
(*GESCreateTrackElementsFunc) (GESClip *clip,
                               GESTrackType type);

GESFillTrackElementFunc ()

gboolean
(*GESFillTrackElementFunc) (GESClip *clip,
                            GESTrackElement *track_element,
                            GstElement *nleobj);

ges_clip_get_layer ()

GESLayer *
ges_clip_get_layer (GESClip *clip);

ges_clip_find_track_element ()

GESTrackElement *
ges_clip_find_track_element (GESClip *clip,
                             GESTrack *track,
                             GType type);

ges_clip_find_track_elements ()

GList *
ges_clip_find_track_elements (GESClip *clip,
                              GESTrack *track,
                              GESTrackType track_type,
                              GType type);

ges_clip_add_asset ()

GESTrackElement *
ges_clip_add_asset (GESClip *clip,
                    GESAsset *asset);

ges_clip_get_top_effects ()

GList *
ges_clip_get_top_effects (GESClip *clip);

ges_clip_get_top_effect_index ()

gint
ges_clip_get_top_effect_index (GESClip *clip,
                               GESBaseEffect *effect);

ges_clip_set_top_effect_index ()

gboolean
ges_clip_set_top_effect_index (GESClip *clip,
                               GESBaseEffect *effect,
                               guint newindex);

ges_clip_get_top_effect_position ()

gint
ges_clip_get_top_effect_position (GESClip *clip,
                                  GESBaseEffect *effect);

ges_clip_set_top_effect_priority ()

gboolean
ges_clip_set_top_effect_priority (GESClip *clip,
                                  GESBaseEffect *effect,
                                  guint newpriority);

ges_clip_move_to_layer ()

gboolean
ges_clip_move_to_layer (GESClip *clip,
                        GESLayer *layer);

ges_clip_set_supported_formats ()

void
ges_clip_set_supported_formats (GESClip *clip,
                                GESTrackType supportedformats);

ges_clip_get_supported_formats ()

GESTrackType
ges_clip_get_supported_formats (GESClip *clip);

ges_clip_split ()

GESClip *
ges_clip_split (GESClip *clip,
                guint64 position);

Types and Values

GESClip

typedef struct _GESClip GESClip;

GESClipClass

typedef struct {
  GESCreateTrackElementFunc  create_track_element;
  GESCreateTrackElementsFunc create_track_elements;
} GESClipClass;

Property Details

The “layer” property

  “layer”                    GESLayer *

The GESLayer where this clip is being used.

Flags: Read


The “supported-formats” property

  “supported-formats”        GESTrackType

Formats supported by the file.

Flags: Read / Write / Construct

Default value: GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO