![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <ges/ges.h> GESTestClip; GESTestClipClass; GESTestClip * ges_test_clip_new (void
); GESTestClip * ges_test_clip_new_for_nick (gchar *nick
); GESVideoTestPattern ges_test_clip_get_vpattern (GESTestClip *self
); gdouble ges_test_clip_get_frequency (GESTestClip *self
); gdouble ges_test_clip_get_volume (GESTestClip *self
); gboolean ges_test_clip_is_muted (GESTestClip *self
); void ges_test_clip_set_vpattern (GESTestClip *self
,GESVideoTestPattern vpattern
); void ges_test_clip_set_frequency (GESTestClip *self
,gdouble freq
); void ges_test_clip_set_mute (GESTestClip *self
,gboolean mute
); void ges_test_clip_set_volume (GESTestClip *self
,gdouble volume
);
GObject +----GInitiallyUnowned +----GESTimelineElement +----GESContainer +----GESClip +----GESSourceClip +----GESTestClip
"freq" gdouble : Read / Write / Construct "mute" gboolean : Read / Write / Construct "volume" gdouble : Read / Write / Construct "vpattern" GESVideoTestPattern : Read / Write / Construct
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 (void
);
Creates a new GESTestClip.
Returns : |
The newly created GESTestClip, or NULL if there was an error. |
GESTestClip * ges_test_clip_new_for_nick (gchar *nick
);
Creates a new GESTestClip for the provided nick
.
|
the nickname for which to create the GESTestClip |
Returns : |
The newly created GESTestClip, or NULL if there was an error. |
GESVideoTestPattern ges_test_clip_get_vpattern (GESTestClip *self
);
Get the GESVideoTestPattern which is applied on self
.
|
a GESTestClip |
Returns : |
The GESVideoTestPattern which is applied on self . |
gdouble ges_test_clip_get_frequency (GESTestClip *self
);
Get the frequency self
generates.
|
a GESTestClip |
Returns : |
The frequency self generates. See audiotestsrc element. |
gdouble ges_test_clip_get_volume (GESTestClip *self
);
Get the volume of the test audio signal applied on self
.
|
a GESTestClip |
Returns : |
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.
|
a GESTestClip |
Returns : |
Whether 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
.
|
the GESTestClip to set the pattern on |
|
the GESVideoTestPattern to use on self
|
void ges_test_clip_set_frequency (GESTestClip *self
,gdouble freq
);
Sets the frequency to generate. See audiotestsrc element.
|
the GESTestClip to set the frequency on |
|
the frequency you want to use on self
|
void ges_test_clip_set_mute (GESTestClip *self
,gboolean mute
);
Sets whether the audio track of this clip is muted or not.
|
the GESTestClip on which to mute or unmute the audio track |
|
TRUE to mute the audio track, FALSE to unmute it |
void ges_test_clip_set_volume (GESTestClip *self
,gdouble volume
);
Sets the volume of the test audio signal.
|
the GESTestClip to set the volume on |
|
the volume of the audio signal you want to use on self
|
"freq"
property"freq" gdouble : Read / Write / Construct
The frequency to generate for audio track elements.
Allowed values: [0,20000]
Default value: 440
"mute"
property"mute" gboolean : Read / Write / Construct
Whether the sound will be played or not.
Default value: FALSE
"volume"
property"volume" gdouble : Read / Write / Construct
The volume for the audio track elements.
Allowed values: [0,1]
Default value: 1
"vpattern"
property"vpattern" GESVideoTestPattern : Read / Write / Construct
Video pattern to display in video track elements.
Default value: SMPTE 100% color bars