Top | ![]() |
![]() |
![]() |
![]() |
GObject ├── GstEncodingProfile │ ├── GstEncodingVideoProfile │ ├── GstEncodingAudioProfile │ ╰── GstEncodingContainerProfile ╰── GstEncodingTarget
#define gst_encoding_profile_unref(profile) (g_object_unref ((GObject*) profile))
#define gst_encoding_profile_ref(profile) (g_object_ref ((GObject*) profile))
GstEncodingProfile * gst_encoding_profile_find (const gchar *targetname
,const gchar *profilename
,const gchar *category
);
GstEncodingProfile *
gst_encoding_profile_from_discoverer (GstDiscovererInfo *info
);
const gchar *
gst_encoding_profile_get_name (GstEncodingProfile *profile
);
const gchar *
gst_encoding_profile_get_description (GstEncodingProfile *profile
);
GstCaps *
gst_encoding_profile_get_format (GstEncodingProfile *profile
);
const gchar *
gst_encoding_profile_get_preset (GstEncodingProfile *profile
);
const gchar *
gst_encoding_profile_get_preset_name (GstEncodingProfile *profile
);
guint
gst_encoding_profile_get_presence (GstEncodingProfile *profile
);
GstCaps *
gst_encoding_profile_get_restriction (GstEncodingProfile *profile
);
const gchar *
gst_encoding_profile_get_file_extension
(GstEncodingProfile *profile
);
void gst_encoding_profile_set_name (GstEncodingProfile *profile
,const gchar *name
);
void gst_encoding_profile_set_description (GstEncodingProfile *profile
,const gchar *description
);
void gst_encoding_profile_set_enabled (GstEncodingProfile *profile
,gboolean enabled
);
void gst_encoding_profile_set_format (GstEncodingProfile *profile
,GstCaps *format
);
void gst_encoding_profile_set_preset (GstEncodingProfile *profile
,const gchar *preset
);
void gst_encoding_profile_set_preset_name (GstEncodingProfile *profile
,const gchar *preset_name
);
void gst_encoding_profile_set_restriction (GstEncodingProfile *profile
,GstCaps *restriction
);
void gst_encoding_profile_set_presence (GstEncodingProfile *profile
,guint presence
);
gboolean gst_encoding_profile_is_equal (GstEncodingProfile *a
,GstEncodingProfile *b
);
gboolean
gst_encoding_profile_is_enabled (GstEncodingProfile *profile
);
GstCaps *
gst_encoding_profile_get_input_caps (GstEncodingProfile *profile
);
const gchar *
gst_encoding_profile_get_type_nick (GstEncodingProfile *profile
);
GstEncodingContainerProfile * gst_encoding_container_profile_new (const gchar *name
,const gchar *description
,GstCaps *format
,const gchar *preset
);
gboolean gst_encoding_container_profile_add_profile (GstEncodingContainerProfile *container
,GstEncodingProfile *profile
);
gboolean gst_encoding_container_profile_contains_profile (GstEncodingContainerProfile *container
,GstEncodingProfile *profile
);
const GList *
gst_encoding_container_profile_get_profiles
(GstEncodingContainerProfile *profile
);
GstEncodingAudioProfile * gst_encoding_audio_profile_new (GstCaps *format
,const gchar *preset
,GstCaps *restriction
,guint presence
);
GstEncodingVideoProfile * gst_encoding_video_profile_new (GstCaps *format
,const gchar *preset
,GstCaps *restriction
,guint presence
);
guint
gst_encoding_video_profile_get_pass (GstEncodingVideoProfile *prof
);
gboolean
gst_encoding_video_profile_get_variableframerate
(GstEncodingVideoProfile *prof
);
void gst_encoding_video_profile_set_pass (GstEncodingVideoProfile *prof
,guint pass
);
void gst_encoding_video_profile_set_variableframerate (GstEncodingVideoProfile *prof
,gboolean variableframerate
);
GstEncodingTarget * gst_encoding_target_new (const gchar *name
,const gchar *category
,const gchar *description
,const GList *profiles
);
const gchar *
gst_encoding_target_get_name (GstEncodingTarget *target
);
const gchar *
gst_encoding_target_get_category (GstEncodingTarget *target
);
const gchar *
gst_encoding_target_get_description (GstEncodingTarget *target
);
const GList *
gst_encoding_target_get_profiles (GstEncodingTarget *target
);
GstEncodingProfile * gst_encoding_target_get_profile (GstEncodingTarget *target
,const gchar *name
);
gboolean gst_encoding_target_add_profile (GstEncodingTarget *target
,GstEncodingProfile *profile
);
gboolean gst_encoding_target_save (GstEncodingTarget *target
,GError **error
);
gboolean gst_encoding_target_save_to_file (GstEncodingTarget *target
,const gchar *filepath
,GError **error
);
GstEncodingTarget * gst_encoding_target_load (const gchar *name
,const gchar *category
,GError **error
);
GstEncodingTarget * gst_encoding_target_load_from_file (const gchar *filepath
,GError **error
);
typedef struct _GstEncodingContainerProfile GstEncodingContainerProfile;
#define GST_ENCODING_CATEGORY_STORAGE_EDITING "storage-editing"
“restriction-caps”
property“restriction-caps” GstCaps *
The restriction caps to use.
Flags: Read / Write