Top | ![]() |
![]() |
![]() |
![]() |
GESTimelineFileSourceGESTimelineFileSource — An object for manipulating media files in a GESTimeline |
GESTimelineFileSource * | ges_timeline_filesource_new () |
guint64 | ges_timeline_filesource_get_max_duration () |
GESTrackType | ges_timeline_filesource_get_supported_formats () |
const gchar * | ges_timeline_filesource_get_uri () |
gboolean | ges_timeline_filesource_is_image () |
gboolean | ges_timeline_filesource_is_muted () |
void | ges_timeline_filesource_set_is_image () |
void | ges_timeline_filesource_set_max_duration () |
void | ges_timeline_filesource_set_mute () |
void | ges_timeline_filesource_set_supported_formats () |
gboolean | is-image | Read / Write / Construct |
guint64 | max-duration | Read / Write / Construct |
gboolean | mute | Read / Write / Construct |
GESTrackType | supported-formats | Read / Write / Construct |
gchar * | uri | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GESTimelineObject ╰── GESTimelineSource ╰── GESTimelineFileSource
Represents all the output treams from a particular uri. It is assumed that the URI points to a file of some type.
GESTimelineFileSource *
ges_timeline_filesource_new (gchar *uri
);
Creates a new GESTimelineFileSource for the provided uri
.
guint64
ges_timeline_filesource_get_max_duration
(GESTimelineFileSource *self
);
Get the duration of the object.
GESTrackType
ges_timeline_filesource_get_supported_formats
(GESTimelineFileSource *self
);
Get the formats supported by self
.
const gchar *
ges_timeline_filesource_get_uri (GESTimelineFileSource *self
);
Get the location of the ressource.
gboolean
ges_timeline_filesource_is_image (GESTimelineFileSource *self
);
Lets you know if self
is an image or not.
gboolean
ges_timeline_filesource_is_muted (GESTimelineFileSource *self
);
Lets you know if the audio track of self
is muted or not.
void ges_timeline_filesource_set_is_image (GESTimelineFileSource *self
,gboolean is_image
);
Sets whether the timeline object is a still image or not.
void ges_timeline_filesource_set_max_duration (GESTimelineFileSource *self
,guint64 maxduration
);
Sets the maximum duration (in nanoseconds) of the file.
self |
the GESTimelineFileSource to set the maximum duration on |
|
maxduration |
the maximum duration of |
void ges_timeline_filesource_set_mute (GESTimelineFileSource *self
,gboolean mute
);
Sets whether the audio track of this timeline object is muted or not.
self |
the GESTimelineFileSource on which to mute or unmute the audio track |
|
mute |
|
void ges_timeline_filesource_set_supported_formats (GESTimelineFileSource *self
,GESTrackType supportedformats
);
Sets the formats supported by the file.
self |
the GESTimelineFileSource to set supported formats on |
|
supportedformats |
the GESTrackType defining formats supported by |
“is-image”
property “is-image” gboolean
Whether this filesource represents a still image or not. This must be set before create_track_objects is called.
Flags: Read / Write / Construct
Default value: FALSE
“max-duration”
property “max-duration” guint64
The maximum duration (in nanoseconds) of the file.
If not set before adding the object to a layer, it will be discovered asynchronously. Connect to 'notify::max-duration' to be notified of it.
Flags: Read / Write / Construct
Default value: 18446744073709551615
“mute”
property “mute” gboolean
Whether the sound will be played or not.
Flags: Read / Write / Construct
Default value: FALSE
“supported-formats”
property“supported-formats” GESTrackType
Whether the sound will be played or not.
Flags: Read / Write / Construct
Default value: GES_TRACK_TYPE_UNKNOWN