GESTestClip
Useful for testing purposes.
Asset
The default asset ID is GESTestClip, but the framerate and video size can be overridden using an ID of the form:
framerate=60/1, width=1920, height=1080, max-duration=5.0
Note: max-duration
can be provided in seconds as float, or as GstClockTime
as guint64 or gint.
GESTestClip
GObject ╰──GInitiallyUnowned ╰──GESTimelineElement ╰──GESContainer ╰──GESClip ╰──GESSourceClip ╰──GESTestClip
Members
parent
(GESSourceClip)
–
Class structure
GESTestClipClass
GES.TestClipClass
GES.TestClipClass
GES.TestClip
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.Container ╰──GES.Clip ╰──GES.SourceClip ╰──GES.TestClip
Members
parent
(GES.SourceClip)
–
GES.TestClip
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.Container ╰──GES.Clip ╰──GES.SourceClip ╰──GES.TestClip
Members
parent
(GES.SourceClip)
–
Constructors
ges_test_clip_new
GESTestClip * ges_test_clip_new ()
Creates a new GESTestClip.
The newly created GESTestClip, or NULL if there was an error.
GES.TestClip.prototype.new
function GES.TestClip.prototype.new(): {
// javascript wrapper for 'ges_test_clip_new'
}
Creates a new GES.TestClip.
The newly created GES.TestClip, or null if there was an error.
GES.TestClip.new
def GES.TestClip.new ():
#python wrapper for 'ges_test_clip_new'
Creates a new GES.TestClip.
The newly created GES.TestClip, or None if there was an error.
ges_test_clip_new_for_nick
GESTestClip * ges_test_clip_new_for_nick (gchar * nick)
Creates a new GESTestClip for the provided nick.
Parameters:
nick
–
the nickname for which to create the GESTestClip
The newly created GESTestClip, or NULL if there was an error.
GES.TestClip.prototype.new_for_nick
function GES.TestClip.prototype.new_for_nick(nick: String): {
// javascript wrapper for 'ges_test_clip_new_for_nick'
}
Creates a new GES.TestClip for the provided nick.
Parameters:
the nickname for which to create the GES.TestClip
The newly created GES.TestClip, or null if there was an error.
GES.TestClip.new_for_nick
def GES.TestClip.new_for_nick (nick):
#python wrapper for 'ges_test_clip_new_for_nick'
Creates a new GES.TestClip for the provided nick.
Parameters:
the nickname for which to create the GES.TestClip
The newly created GES.TestClip, or None if there was an error.
Methods
ges_test_clip_get_frequency
gdouble ges_test_clip_get_frequency (GESTestClip * self)
Get the frequency self generates.
Parameters:
self
–
The frequency self generates. See audiotestsrc element.
GES.TestClip.prototype.get_frequency
function GES.TestClip.prototype.get_frequency(): {
// javascript wrapper for 'ges_test_clip_get_frequency'
}
Get the frequency self generates.
Parameters:
The frequency self generates. See audiotestsrc element.
GES.TestClip.get_frequency
def GES.TestClip.get_frequency (self):
#python wrapper for 'ges_test_clip_get_frequency'
Get the frequency self generates.
Parameters:
The frequency self generates. See audiotestsrc element.
ges_test_clip_get_volume
gdouble ges_test_clip_get_volume (GESTestClip * self)
Get the volume of the test audio signal applied on self.
Parameters:
self
–
The volume of the test audio signal applied on self.
GES.TestClip.prototype.get_volume
function GES.TestClip.prototype.get_volume(): {
// javascript wrapper for 'ges_test_clip_get_volume'
}
Get the volume of the test audio signal applied on self.
Parameters:
The volume of the test audio signal applied on self.
GES.TestClip.get_volume
def GES.TestClip.get_volume (self):
#python wrapper for 'ges_test_clip_get_volume'
Get the volume of the test audio signal applied on self.
Parameters:
The volume of the test audio signal applied on self.
ges_test_clip_get_vpattern
GESVideoTestPattern ges_test_clip_get_vpattern (GESTestClip * self)
Get the GESVideoTestPattern which is applied on self.
Parameters:
self
–
The GESVideoTestPattern which is applied on self.
GES.TestClip.prototype.get_vpattern
function GES.TestClip.prototype.get_vpattern(): {
// javascript wrapper for 'ges_test_clip_get_vpattern'
}
Get the GES.VideoTestPattern which is applied on self.
Parameters:
The GES.VideoTestPattern which is applied on self.
GES.TestClip.get_vpattern
def GES.TestClip.get_vpattern (self):
#python wrapper for 'ges_test_clip_get_vpattern'
Get the GES.VideoTestPattern which is applied on self.
Parameters:
The GES.VideoTestPattern which is applied on self.
ges_test_clip_is_muted
gboolean ges_test_clip_is_muted (GESTestClip * self)
Let you know if the audio track of self is muted or not.
Parameters:
self
–
Whether the audio track of self is muted or not.
GES.TestClip.prototype.is_muted
function GES.TestClip.prototype.is_muted(): {
// javascript wrapper for 'ges_test_clip_is_muted'
}
Let you know if the audio track of self is muted or not.
Parameters:
Whether the audio track of self is muted or not.
GES.TestClip.is_muted
def GES.TestClip.is_muted (self):
#python wrapper for 'ges_test_clip_is_muted'
Let you know if the audio track of self is muted or not.
Parameters:
Whether the audio track of self is muted or not.
ges_test_clip_set_frequency
ges_test_clip_set_frequency (GESTestClip * self, gdouble freq)
Sets the frequency to generate. See audiotestsrc element.
Parameters:
self
–
the GESTestClip to set the frequency on
freq
–
the frequency you want to use on self
GES.TestClip.prototype.set_frequency
function GES.TestClip.prototype.set_frequency(freq: Number): {
// javascript wrapper for 'ges_test_clip_set_frequency'
}
Sets the frequency to generate. See audiotestsrc element.
GES.TestClip.set_frequency
def GES.TestClip.set_frequency (self, freq):
#python wrapper for 'ges_test_clip_set_frequency'
Sets the frequency to generate. See audiotestsrc element.
ges_test_clip_set_mute
ges_test_clip_set_mute (GESTestClip * self, gboolean mute)
Sets whether the audio track of this clip is muted or not.
Parameters:
self
–
the GESTestClip on which to mute or unmute the audio track
GES.TestClip.prototype.set_mute
function GES.TestClip.prototype.set_mute(mute: Number): {
// javascript wrapper for 'ges_test_clip_set_mute'
}
Sets whether the audio track of this clip is muted or not.
Parameters:
the GES.TestClip on which to mute or unmute the audio track
GES.TestClip.set_mute
def GES.TestClip.set_mute (self, mute):
#python wrapper for 'ges_test_clip_set_mute'
Sets whether the audio track of this clip is muted or not.
Parameters:
the GES.TestClip on which to mute or unmute the audio track
ges_test_clip_set_volume
ges_test_clip_set_volume (GESTestClip * self, gdouble volume)
Sets the volume of the test audio signal.
Parameters:
self
–
the GESTestClip to set the volume on
volume
–
the volume of the audio signal you want to use on self
GES.TestClip.prototype.set_volume
function GES.TestClip.prototype.set_volume(volume: Number): {
// javascript wrapper for 'ges_test_clip_set_volume'
}
Sets the volume of the test audio signal.
Parameters:
the GES.TestClip to set the volume on
the volume of the audio signal you want to use on self
GES.TestClip.set_volume
def GES.TestClip.set_volume (self, volume):
#python wrapper for 'ges_test_clip_set_volume'
Sets the volume of the test audio signal.
Parameters:
the GES.TestClip to set the volume on
the volume of the audio signal you want to use on self
ges_test_clip_set_vpattern
ges_test_clip_set_vpattern (GESTestClip * self, GESVideoTestPattern vpattern)
Sets which video pattern to display on self.
Parameters:
self
–
the GESTestClip to set the pattern on
vpattern
–
the GESVideoTestPattern to use on self
GES.TestClip.prototype.set_vpattern
function GES.TestClip.prototype.set_vpattern(vpattern: GES.VideoTestPattern): {
// javascript wrapper for 'ges_test_clip_set_vpattern'
}
Sets which video pattern to display on self.
GES.TestClip.set_vpattern
def GES.TestClip.set_vpattern (self, vpattern):
#python wrapper for 'ges_test_clip_set_vpattern'
Sets which video pattern to display on self.
Properties
freq
“freq” gdouble
The frequency to generate for audio track elements.
Flags : Read / Write / Construct
freq
“freq” Number
The frequency to generate for audio track elements.
Flags : Read / Write / Construct
freq
“self.props.freq” float
The frequency to generate for audio track elements.
Flags : Read / Write / Construct
mute
“self.props.mute” bool
Whether the sound will be played or not.
Flags : Read / Write / Construct
volume
“self.props.volume” float
The volume for the audio track elements.
Flags : Read / Write / Construct
vpattern
“vpattern” GESVideoTestPattern *
Video pattern to display in video track elements.
Flags : Read / Write / Construct
vpattern
“vpattern” GES.VideoTestPattern
Video pattern to display in video track elements.
Flags : Read / Write / Construct
vpattern
“self.props.vpattern” GES.VideoTestPattern
Video pattern to display in video track elements.
Flags : Read / Write / Construct
Constants
GES_TYPE_TEST_CLIP
#define GES_TYPE_TEST_CLIP ges_test_clip_get_type()
The results of the search are