encoding-profile

encoding-profile

Functions

#define gst_encoding_profile_unref()
#define gst_encoding_profile_ref()
GstEncodingProfile * gst_encoding_profile_find ()
GstEncodingProfile * gst_encoding_profile_from_discoverer ()
const gchar * gst_encoding_profile_get_name ()
const gchar * gst_encoding_profile_get_description ()
GstCaps * gst_encoding_profile_get_format ()
const gchar * gst_encoding_profile_get_preset ()
const gchar * gst_encoding_profile_get_preset_name ()
guint gst_encoding_profile_get_presence ()
GstCaps * gst_encoding_profile_get_restriction ()
const gchar * gst_encoding_profile_get_file_extension ()
void gst_encoding_profile_set_name ()
void gst_encoding_profile_set_description ()
void gst_encoding_profile_set_enabled ()
void gst_encoding_profile_set_format ()
void gst_encoding_profile_set_preset ()
void gst_encoding_profile_set_preset_name ()
void gst_encoding_profile_set_restriction ()
void gst_encoding_profile_set_presence ()
gboolean gst_encoding_profile_is_equal ()
gboolean gst_encoding_profile_is_enabled ()
GstCaps * gst_encoding_profile_get_input_caps ()
const gchar * gst_encoding_profile_get_type_nick ()
GstEncodingContainerProfile * gst_encoding_container_profile_new ()
gboolean gst_encoding_container_profile_add_profile ()
gboolean gst_encoding_container_profile_contains_profile ()
const GList * gst_encoding_container_profile_get_profiles ()
GstEncodingAudioProfile * gst_encoding_audio_profile_new ()
GstEncodingVideoProfile * gst_encoding_video_profile_new ()
guint gst_encoding_video_profile_get_pass ()
gboolean gst_encoding_video_profile_get_variableframerate ()
void gst_encoding_video_profile_set_pass ()
void gst_encoding_video_profile_set_variableframerate ()
#define gst_encoding_target_unref()
#define gst_encoding_target_ref()
GstEncodingTarget * gst_encoding_target_new ()
const gchar * gst_encoding_target_get_name ()
const gchar * gst_encoding_target_get_category ()
const gchar * gst_encoding_target_get_description ()
const GList * gst_encoding_target_get_profiles ()
GstEncodingProfile * gst_encoding_target_get_profile ()
gboolean gst_encoding_target_add_profile ()
gboolean gst_encoding_target_save ()
gboolean gst_encoding_target_save_to_file ()
GstEncodingTarget * gst_encoding_target_load ()
GstEncodingTarget * gst_encoding_target_load_from_file ()
GList * gst_encoding_list_all_targets ()
GList * gst_encoding_list_available_categories ()

Properties

GstCaps * restriction-caps Read / Write

Types and Values

Object Hierarchy

    GObject
    ├── GstEncodingProfile
       ├── GstEncodingVideoProfile
       ├── GstEncodingAudioProfile
       ╰── GstEncodingContainerProfile
    ╰── GstEncodingTarget

Includes

#include <gst/pbutils/encoding-profile.h>

Description

Functions

gst_encoding_profile_unref()

#define gst_encoding_profile_unref(profile) (g_object_unref ((GObject*) profile))

gst_encoding_profile_ref()

#define gst_encoding_profile_ref(profile) (g_object_ref ((GObject*) profile))

gst_encoding_profile_find ()

GstEncodingProfile *
gst_encoding_profile_find (const gchar *targetname,
                           const gchar *profilename,
                           const gchar *category);

gst_encoding_profile_from_discoverer ()

GstEncodingProfile *
gst_encoding_profile_from_discoverer (GstDiscovererInfo *info);

gst_encoding_profile_get_name ()

const gchar *
gst_encoding_profile_get_name (GstEncodingProfile *profile);

gst_encoding_profile_get_description ()

const gchar *
gst_encoding_profile_get_description (GstEncodingProfile *profile);

gst_encoding_profile_get_format ()

GstCaps *
gst_encoding_profile_get_format (GstEncodingProfile *profile);

gst_encoding_profile_get_preset ()

const gchar *
gst_encoding_profile_get_preset (GstEncodingProfile *profile);

gst_encoding_profile_get_preset_name ()

const gchar *
gst_encoding_profile_get_preset_name (GstEncodingProfile *profile);

gst_encoding_profile_get_presence ()

guint
gst_encoding_profile_get_presence (GstEncodingProfile *profile);

gst_encoding_profile_get_restriction ()

GstCaps *
gst_encoding_profile_get_restriction (GstEncodingProfile *profile);

gst_encoding_profile_get_file_extension ()

const gchar *
gst_encoding_profile_get_file_extension
                               (GstEncodingProfile *profile);

gst_encoding_profile_set_name ()

void
gst_encoding_profile_set_name (GstEncodingProfile *profile,
                               const gchar *name);

gst_encoding_profile_set_description ()

void
gst_encoding_profile_set_description (GstEncodingProfile *profile,
                                      const gchar *description);

gst_encoding_profile_set_enabled ()

void
gst_encoding_profile_set_enabled (GstEncodingProfile *profile,
                                  gboolean enabled);

gst_encoding_profile_set_format ()

void
gst_encoding_profile_set_format (GstEncodingProfile *profile,
                                 GstCaps *format);

gst_encoding_profile_set_preset ()

void
gst_encoding_profile_set_preset (GstEncodingProfile *profile,
                                 const gchar *preset);

gst_encoding_profile_set_preset_name ()

void
gst_encoding_profile_set_preset_name (GstEncodingProfile *profile,
                                      const gchar *preset_name);

gst_encoding_profile_set_restriction ()

void
gst_encoding_profile_set_restriction (GstEncodingProfile *profile,
                                      GstCaps *restriction);

gst_encoding_profile_set_presence ()

void
gst_encoding_profile_set_presence (GstEncodingProfile *profile,
                                   guint presence);

gst_encoding_profile_is_equal ()

gboolean
gst_encoding_profile_is_equal (GstEncodingProfile *a,
                               GstEncodingProfile *b);

gst_encoding_profile_is_enabled ()

gboolean
gst_encoding_profile_is_enabled (GstEncodingProfile *profile);

gst_encoding_profile_get_input_caps ()

GstCaps *
gst_encoding_profile_get_input_caps (GstEncodingProfile *profile);

gst_encoding_profile_get_type_nick ()

const gchar *
gst_encoding_profile_get_type_nick (GstEncodingProfile *profile);

gst_encoding_container_profile_new ()

GstEncodingContainerProfile *
gst_encoding_container_profile_new (const gchar *name,
                                    const gchar *description,
                                    GstCaps *format,
                                    const gchar *preset);

gst_encoding_container_profile_add_profile ()

gboolean
gst_encoding_container_profile_add_profile
                               (GstEncodingContainerProfile *container,
                                GstEncodingProfile *profile);

gst_encoding_container_profile_contains_profile ()

gboolean
gst_encoding_container_profile_contains_profile
                               (GstEncodingContainerProfile *container,
                                GstEncodingProfile *profile);

gst_encoding_container_profile_get_profiles ()

const GList *
gst_encoding_container_profile_get_profiles
                               (GstEncodingContainerProfile *profile);

gst_encoding_audio_profile_new ()

GstEncodingAudioProfile *
gst_encoding_audio_profile_new (GstCaps *format,
                                const gchar *preset,
                                GstCaps *restriction,
                                guint presence);

gst_encoding_video_profile_new ()

GstEncodingVideoProfile *
gst_encoding_video_profile_new (GstCaps *format,
                                const gchar *preset,
                                GstCaps *restriction,
                                guint presence);

gst_encoding_video_profile_get_pass ()

guint
gst_encoding_video_profile_get_pass (GstEncodingVideoProfile *prof);

gst_encoding_video_profile_get_variableframerate ()

gboolean
gst_encoding_video_profile_get_variableframerate
                               (GstEncodingVideoProfile *prof);

gst_encoding_video_profile_set_pass ()

void
gst_encoding_video_profile_set_pass (GstEncodingVideoProfile *prof,
                                     guint pass);

gst_encoding_video_profile_set_variableframerate ()

void
gst_encoding_video_profile_set_variableframerate
                               (GstEncodingVideoProfile *prof,
                                gboolean variableframerate);

gst_encoding_target_unref()

#define             gst_encoding_target_unref(target)

gst_encoding_target_ref()

#define             gst_encoding_target_ref(target)

gst_encoding_target_new ()

GstEncodingTarget *
gst_encoding_target_new (const gchar *name,
                         const gchar *category,
                         const gchar *description,
                         const GList *profiles);

gst_encoding_target_get_name ()

const gchar *
gst_encoding_target_get_name (GstEncodingTarget *target);

gst_encoding_target_get_category ()

const gchar *
gst_encoding_target_get_category (GstEncodingTarget *target);

gst_encoding_target_get_description ()

const gchar *
gst_encoding_target_get_description (GstEncodingTarget *target);

gst_encoding_target_get_profiles ()

const GList *
gst_encoding_target_get_profiles (GstEncodingTarget *target);

gst_encoding_target_get_profile ()

GstEncodingProfile *
gst_encoding_target_get_profile (GstEncodingTarget *target,
                                 const gchar *name);

gst_encoding_target_add_profile ()

gboolean
gst_encoding_target_add_profile (GstEncodingTarget *target,
                                 GstEncodingProfile *profile);

gst_encoding_target_save ()

gboolean
gst_encoding_target_save (GstEncodingTarget *target,
                          GError **error);

gst_encoding_target_save_to_file ()

gboolean
gst_encoding_target_save_to_file (GstEncodingTarget *target,
                                  const gchar *filepath,
                                  GError **error);

gst_encoding_target_load ()

GstEncodingTarget *
gst_encoding_target_load (const gchar *name,
                          const gchar *category,
                          GError **error);

gst_encoding_target_load_from_file ()

GstEncodingTarget *
gst_encoding_target_load_from_file (const gchar *filepath,
                                    GError **error);

gst_encoding_list_all_targets ()

GList *
gst_encoding_list_all_targets (const gchar *categoryname);

gst_encoding_list_available_categories ()

GList *
gst_encoding_list_available_categories
                               (void);

Types and Values

GstEncodingProfile

typedef struct _GstEncodingProfile GstEncodingProfile;

GstEncodingContainerProfile

typedef struct _GstEncodingContainerProfile GstEncodingContainerProfile;

GstEncodingAudioProfile

typedef struct _GstEncodingAudioProfile GstEncodingAudioProfile;

GstEncodingVideoProfile

typedef struct _GstEncodingVideoProfile GstEncodingVideoProfile;

GST_ENCODING_CATEGORY_DEVICE

#define GST_ENCODING_CATEGORY_DEVICE            "device"

GST_ENCODING_CATEGORY_ONLINE_SERVICE

#define GST_ENCODING_CATEGORY_ONLINE_SERVICE    "online-service"

GST_ENCODING_CATEGORY_STORAGE_EDITING

#define GST_ENCODING_CATEGORY_STORAGE_EDITING   "storage-editing"

GST_ENCODING_CATEGORY_CAPTURE

#define GST_ENCODING_CATEGORY_CAPTURE           "capture"

GstEncodingTarget

typedef struct _GstEncodingTarget GstEncodingTarget;

Property Details

The “restriction-caps” property

  “restriction-caps”         GstCaps *

The restriction caps to use.

Flags: Read / Write