GESUriClip
Represents all the output streams from a particular uri. It is assumed that the URI points to a file of some type.
GESUriClip
GObject ╰──GInitiallyUnowned ╰──GESTimelineElement ╰──GESContainer ╰──GESClip ╰──GESSourceClip ╰──GESUriClip
Members
parent
(GESSourceClip)
–
Class structure
GESUriClipClass
GES.UriClipClass
GES.UriClipClass
GES.UriClip
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.Container ╰──GES.Clip ╰──GES.SourceClip ╰──GES.UriClip
Members
parent
(GES.SourceClip)
–
GES.UriClip
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.Container ╰──GES.Clip ╰──GES.SourceClip ╰──GES.UriClip
Members
parent
(GES.SourceClip)
–
Constructors
ges_uri_clip_new
GESUriClip * ges_uri_clip_new (const gchar * uri)
Creates a new GESUriClip for the provided uri.
WARNING: This function might 'discover` uri synchrounously, it is an IO and processing intensive task that you probably don't want to run in an application mainloop. Have a look at ges_asset_request_async to see how to make that operation happen asynchronously.
Parameters:
uri
–
the URI the source should control
The newly created GESUriClip, or NULL if there was an error.
GES.UriClip.prototype.new
function GES.UriClip.prototype.new(uri: String): {
// javascript wrapper for 'ges_uri_clip_new'
}
Creates a new GES.UriClip for the provided uri.
WARNING: This function might 'discover` uri synchrounously, it is an IO and processing intensive task that you probably don't want to run in an application mainloop. Have a look at GES.Asset.prototype.request_async to see how to make that operation happen asynchronously.
Parameters:
the URI the source should control
The newly created GES.UriClip, or null if there was an error.
GES.UriClip.new
def GES.UriClip.new (uri):
#python wrapper for 'ges_uri_clip_new'
Creates a new GES.UriClip for the provided uri.
WARNING: This function might 'discover` uri synchrounously, it is an IO and processing intensive task that you probably don't want to run in an application mainloop. Have a look at GES.Asset.request_async to see how to make that operation happen asynchronously.
Parameters:
the URI the source should control
The newly created GES.UriClip, or None if there was an error.
Methods
ges_uri_clip_get_uri
const gchar * ges_uri_clip_get_uri (GESUriClip * self)
Get the location of the resource.
Parameters:
self
–
the GESUriClip
The location of the resource.
GES.UriClip.prototype.get_uri
function GES.UriClip.prototype.get_uri(): {
// javascript wrapper for 'ges_uri_clip_get_uri'
}
Get the location of the resource.
Parameters:
the GES.UriClip
The location of the resource.
GES.UriClip.get_uri
def GES.UriClip.get_uri (self):
#python wrapper for 'ges_uri_clip_get_uri'
Get the location of the resource.
Parameters:
the GES.UriClip
The location of the resource.
ges_uri_clip_is_image
gboolean ges_uri_clip_is_image (GESUriClip * self)
Lets you know if self is an image or not.
Parameters:
self
–
the GESUriClip
GES.UriClip.prototype.is_image
function GES.UriClip.prototype.is_image(): {
// javascript wrapper for 'ges_uri_clip_is_image'
}
Lets you know if self is an image or not.
Parameters:
the GES.UriClip
GES.UriClip.is_image
def GES.UriClip.is_image (self):
#python wrapper for 'ges_uri_clip_is_image'
Lets you know if self is an image or not.
Parameters:
the GES.UriClip
ges_uri_clip_is_muted
gboolean ges_uri_clip_is_muted (GESUriClip * self)
Lets you know if the audio track of self is muted or not.
Parameters:
self
–
the GESUriClip
GES.UriClip.prototype.is_muted
function GES.UriClip.prototype.is_muted(): {
// javascript wrapper for 'ges_uri_clip_is_muted'
}
Lets you know if the audio track of self is muted or not.
Parameters:
the GES.UriClip
GES.UriClip.is_muted
def GES.UriClip.is_muted (self):
#python wrapper for 'ges_uri_clip_is_muted'
Lets you know if the audio track of self is muted or not.
Parameters:
the GES.UriClip
ges_uri_clip_set_is_image
ges_uri_clip_set_is_image (GESUriClip * self, gboolean is_image)
Sets whether the clip is a still image or not.
GES.UriClip.prototype.set_is_image
function GES.UriClip.prototype.set_is_image(is_image: Number): {
// javascript wrapper for 'ges_uri_clip_set_is_image'
}
Sets whether the clip is a still image or not.
Parameters:
the GES.UriClip
GES.UriClip.set_is_image
def GES.UriClip.set_is_image (self, is_image):
#python wrapper for 'ges_uri_clip_set_is_image'
Sets whether the clip is a still image or not.
Parameters:
the GES.UriClip
ges_uri_clip_set_mute
ges_uri_clip_set_mute (GESUriClip * self, gboolean mute)
Sets whether the audio track of this clip is muted or not.
Parameters:
self
–
the GESUriClip on which to mute or unmute the audio track
GES.UriClip.prototype.set_mute
function GES.UriClip.prototype.set_mute(mute: Number): {
// javascript wrapper for 'ges_uri_clip_set_mute'
}
Sets whether the audio track of this clip is muted or not.
Parameters:
the GES.UriClip on which to mute or unmute the audio track
GES.UriClip.set_mute
def GES.UriClip.set_mute (self, mute):
#python wrapper for 'ges_uri_clip_set_mute'
Sets whether the audio track of this clip is muted or not.
Parameters:
the GES.UriClip on which to mute or unmute the audio track
Properties
is-image
“is-image” gboolean
Whether this uri clip represents a still image or not. This must be set before create_track_elements is called.
Flags : Read / Write / Construct
is-image
“is-image” Number
Whether this uri clip represents a still image or not. This must be set before create_track_elements is called.
Flags : Read / Write / Construct
is_image
“self.props.is_image” bool
Whether this uri clip represents a still image or not. This must be set before create_track_elements is called.
Flags : Read / Write / Construct
mute
“self.props.mute” bool
Whether the sound will be played or not.
Flags : Read / Write / Construct
uri
“self.props.uri” str
The location of the file/resource to use.
Flags : Read / Write / Construct Only
Constants
GES_TYPE_URI_CLIP
#define GES_TYPE_URI_CLIP ges_uri_clip_get_type()
The results of the search are