Top | ![]() |
![]() |
![]() |
![]() |
GESTestClip * | ges_test_clip_new () |
GESTestClip * | ges_test_clip_new_for_nick () |
GESVideoTestPattern | ges_test_clip_get_vpattern () |
gdouble | ges_test_clip_get_frequency () |
gdouble | ges_test_clip_get_volume () |
gboolean | ges_test_clip_is_muted () |
void | ges_test_clip_set_vpattern () |
void | ges_test_clip_set_frequency () |
void | ges_test_clip_set_mute () |
void | ges_test_clip_set_volume () |
gdouble | freq | Read / Write / Construct |
gboolean | mute | Read / Write / Construct |
gdouble | volume | Read / Write / Construct |
GESVideoTestPattern | vpattern | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GESTimelineElement ╰── GESContainer ╰── GESClip ╰── GESSourceClip ╰── GESTestClip
Useful for testing purposes.
You can use the ges_asset_request_simple API to create an Asset capable of extracting GESTestClip-s
GESTestClip *
ges_test_clip_new_for_nick (gchar *nick
);
Creates a new GESTestClip for the provided nick
.
GESVideoTestPattern
ges_test_clip_get_vpattern (GESTestClip *self
);
Get the GESVideoTestPattern which is applied on self
.
gdouble
ges_test_clip_get_frequency (GESTestClip *self
);
Get the frequency self
generates.
gdouble
ges_test_clip_get_volume (GESTestClip *self
);
Get the volume of the test audio signal applied on self
.
gboolean
ges_test_clip_is_muted (GESTestClip *self
);
Let you know if the audio track of self
is muted or not.
void ges_test_clip_set_vpattern (GESTestClip *self
,GESVideoTestPattern vpattern
);
Sets which video pattern to display on self
.
self |
the GESTestClip to set the pattern on |
|
vpattern |
the GESVideoTestPattern to use on |
void ges_test_clip_set_frequency (GESTestClip *self
,gdouble freq
);
Sets the frequency to generate. See audiotestsrc element.
void ges_test_clip_set_mute (GESTestClip *self
,gboolean mute
);
Sets whether the audio track of this clip is muted or not.
self |
the GESTestClip on which to mute or unmute the audio track |
|
mute |
|
void ges_test_clip_set_volume (GESTestClip *self
,gdouble volume
);
Sets the volume of the test audio signal.
self |
the GESTestClip to set the volume on |
|
volume |
the volume of the audio signal you want to use on |
“freq”
property “freq” gdouble
The frequency to generate for audio track elements.
Flags: Read / Write / Construct
Allowed values: [0,20000]
Default value: 440
“mute”
property “mute” gboolean
Whether the sound will be played or not.
Flags: Read / Write / Construct
Default value: FALSE
“volume”
property “volume” gdouble
The volume for the audio track elements.
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 1
“vpattern”
property“vpattern” GESVideoTestPattern
Video pattern to display in video track elements.
Flags: Read / Write / Construct
Default value: GES_VIDEO_TEST_PATTERN_SMPTE