TestClip
Object Hierarchy:
GES.TestClip
GES.TestClip
GES.TestClip
GES.SourceClip
GES.SourceClip
GES.SourceClip->GES.TestClip
GES.Clip
GES.Clip
GES.Clip->GES.SourceClip
GES.Container
GES.Container
GES.Container->GES.Clip
GES.TimelineElement
GES.TimelineElement
GES.TimelineElement->GES.Container
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->GES.TimelineElement
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
GES.Extractable
GES.Extractable
GES.Extractable->GES.TestClip
GES.Extractable->GES.SourceClip
GES.Extractable->GES.Clip
GES.Extractable->GES.Container
GES.Extractable->GES.TimelineElement
GES.MetaContainer
GES.MetaContainer
GES.MetaContainer->GES.TestClip
GES.MetaContainer->GES.SourceClip
GES.MetaContainer->GES.Clip
GES.MetaContainer->GES.Container
GES.MetaContainer->GES.TimelineElement
Description:
[
CCode ( type_id =
"ges_test_clip_get_type ()" ) ]
public class TestClip :
SourceClip ,
Extractable ,
MetaContainer
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.
Content:
Properties:
public double freq { get ; set construct ; }
The frequency to generate for audio track elements.
public bool mute { get ; set construct ; }
Whether the sound will be played or not.
public double volume { get ; set construct ; }
The volume for the audio track elements.
public VideoTestPattern vpattern { get ; set construct ; }
Video pattern to display in video track elements.
Creation methods:
Methods:
public double get_frequency ()
Get the frequency this generates.
public double get_volume ()
Get the volume of the test audio signal applied on
this .
public VideoTestPattern get_vpattern ()
public bool is_muted ()
Let you know if the audio track of this
is muted or not.
public void set_frequency (double freq)
Sets the frequency to generate.
public void set_mute (bool mute)
Sets whether the audio track of this clip is muted or not.
public void set_volume (double volume)
Sets the volume of the test audio signal.
public void set_vpattern (VideoTestPattern vpattern)
Sets which video pattern to display on this
.
Inherited Members:
All known members inherited from class GES.Clip
All known members inherited from class GES.Container
All known members inherited from class GES.TimelineElement
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GES.Extractable
All known members inherited from interface GES.MetaContainer