Top | ![]() |
![]() |
![]() |
![]() |
struct | OGMRipVideoPlugin |
struct | OGMRipAudioPlugin |
struct | OGMRipSubpPlugin |
struct | OGMRipContainerPlugin |
enum | OGMRipPluginError |
void (*OGMRipPluginFunc) (GType type
,const gchar *name
,const gchar *description
,gpointer data
);
Specifies the type of functions passed to ogmrip_plugin_foreach_container()
,
ogmrip_plugin_foreach_video_codec()
, ogmrip_plugin_foreach_audio_codec()
,
and ogmrip_plugin_foreach_subp_codec()
.
gint (*OGMRipPluginCmpFunc) (GType type
,const gchar *name
,const gchar *description
,gconstpointer data
);
Specifieѕ the type of functions passed to ogmrip_plugin_find_container()
,
ogmrip_plugin_find_video_codec()
, ogmrip_plugin_find_audio_codec()
, and
ogmrip_plugin_find_subp_codec()
.
gint
ogmrip_plugin_get_n_containers (void
);
Gets the number of container plugins.
void ogmrip_plugin_foreach_container (OGMRipPluginFunc func
,gpointer data
);
Calls a function for each container plugin.
GType ogmrip_plugin_find_container (OGMRipPluginCmpFunc func
,gconstpointer data
);
Finds a container using the supplied function.
GType
ogmrip_plugin_get_nth_container (guint n
);
Gets the container at the given position.
const gchar *
ogmrip_plugin_get_container_name (GType container
);
Gets the name of the given container.
gint
ogmrip_plugin_get_container_index (GType container
);
Gets the position of the given container.
gboolean
ogmrip_plugin_get_container_bframes (GType container
);
Gets whether the given container supports B-frames
GModule *
ogmrip_plugin_get_container_module (GType container
);
Gets the GModule associated with container
.
gint
ogmrip_plugin_get_container_max_audio (GType container
);
Returns the number of audio streams the given container can contain.
gint
ogmrip_plugin_get_container_max_subp (GType container
);
Returns the number of subtitle streams the given container can contain.
GType
ogmrip_plugin_get_container_by_name (const gchar *name
);
Gets the container with the given name.
gint
ogmrip_plugin_get_n_video_codecs (void
);
Gets the number of video codec plugins.
void ogmrip_plugin_foreach_video_codec (OGMRipPluginFunc func
,gpointer data
);
Calls a function for each video codec plugin.
GType ogmrip_plugin_find_video_codec (OGMRipPluginCmpFunc func
,gconstpointer data
);
Finds a video codec using the supplied function.
GType
ogmrip_plugin_get_nth_video_codec (guint n
);
Gets the video codec at the given position.
const gchar *
ogmrip_plugin_get_video_codec_name (GType codec
);
Gets the name of the given video codec.
gint
ogmrip_plugin_get_video_codec_index (GType codec
);
Gets the position of the given video codec.
gint
ogmrip_plugin_get_video_codec_format (GType codec
);
Gets the format of the given video codec.
gint
ogmrip_plugin_get_video_codec_passes (GType codec
);
Gets the maximum number of passes the given video codec supports.
gint
ogmrip_plugin_get_video_codec_threads (GType codec
);
Gets the maximum number of threads the given video codec supports.
GModule *
ogmrip_plugin_get_video_codec_module (GType codec
);
Gets the GModule associated with codec
.
GType
ogmrip_plugin_get_video_codec_by_name (const gchar *name
);
Gets the video codec with the given name.
gint
ogmrip_plugin_get_n_audio_codecs (void
);
Gets the number of audio codec plugins.
void ogmrip_plugin_foreach_audio_codec (OGMRipPluginFunc func
,gpointer data
);
Calls a function for each plugin.
GType ogmrip_plugin_find_audio_codec (OGMRipPluginCmpFunc func
,gconstpointer data
);
Finds a audio codec using the supplied function.
GType
ogmrip_plugin_get_nth_audio_codec (guint n
);
Gets the audio codec at the given position.
const gchar *
ogmrip_plugin_get_audio_codec_name (GType codec
);
Gets the name of the given audio codec.
gint
ogmrip_plugin_get_audio_codec_index (GType codec
);
Gets the position of the given audio codec.
gint
ogmrip_plugin_get_audio_codec_format (GType codec
);
Gets the format of the given audio codec.
GModule *
ogmrip_plugin_get_audio_codec_module (GType codec
);
Gets the GModule associated with codec
.
GType
ogmrip_plugin_get_audio_codec_by_name (const gchar *name
);
Gets the audio codec with the given name.
gint
ogmrip_plugin_get_n_subp_codecs (void
);
Gets the number of subtitle codec plugins.
void ogmrip_plugin_foreach_subp_codec (OGMRipPluginFunc func
,gpointer data
);
Calls a function for each plugin.
GType ogmrip_plugin_find_subp_codec (OGMRipPluginCmpFunc func
,gconstpointer data
);
Finds a subtitle codec using the supplied function.
GType
ogmrip_plugin_get_nth_subp_codec (guint n
);
Gets the subtitle codec at the given position.
const gchar *
ogmrip_plugin_get_subp_codec_name (GType codec
);
Gets the name of the given subtitle codec.
gint
ogmrip_plugin_get_subp_codec_index (GType codec
);
Gets the position of the given subtitle codec.
gint
ogmrip_plugin_get_subp_codec_format (GType codec
);
Gets the format of the given subtitle codec.
gboolean
ogmrip_plugin_get_subp_codec_text (GType codec
);
Gets whether the given codec outputs text subtitles.
GModule *
ogmrip_plugin_get_subp_codec_module (GType codec
);
Gets the GModule associated with codec
.
GType
ogmrip_plugin_get_subp_codec_by_name (const gchar *name
);
Gets the subp codec with the given name.
gboolean ogmrip_plugin_can_contain_video (GType container
,GType codec
);
Returns whether container
supports the given video codec.
gboolean ogmrip_plugin_can_contain_audio (GType container
,GType codec
);
Returns whether container
supports the given audio codec.
gboolean ogmrip_plugin_can_contain_subp (GType container
,GType codec
);
Returns whether container
supports the given subtitle codec.
gboolean ogmrip_plugin_can_contain_format (GType container
,OGMRipFormatType format
);
Returns whether container
supports the given format.
gboolean ogmrip_plugin_can_contain_n_audio (GType container
,guint ncodec
);
Returns whether container
can contain ncodec
audio streams.
struct OGMRipVideoPlugin { GModule *module; GType type; gchar *name; gchar *description; OGMRipFormatType format; gint passes; gint threads; };
A structure describing a video codec plugin
GModule * |
For internal use only |
|
GType |
The type of the codec |
|
gchar * |
The name of the codec |
|
gchar * |
The description of the codec |
|
OGMRipFormatType |
The codec output format |
|
gint |
The number of passes supported by the codec |
|
gint |
The number of threads supported by the codec |
struct OGMRipAudioPlugin { GModule *module; GType type; gchar *name; gchar *description; OGMRipFormatType format; };
A structure describing an audio codec plugin
GModule * |
For internal use only |
|
GType |
The type of the codec |
|
gchar * |
The name of the codec |
|
gchar * |
The description of the codec |
|
OGMRipFormatType |
The codec output format |
struct OGMRipSubpPlugin { GModule *module; GType type; gchar *name; gchar *description; OGMRipFormatType format; gboolean text; };
A structure describing a subtitle codec plugin
struct OGMRipContainerPlugin { GModule *module; GType type; gchar *name; gchar *description; gboolean video; gboolean bframes; gint max_audio; gint max_subp; gint *formats; };
A structure describing a container plugin
GModule * |
For internal use only |
|
GType |
The type of the container |
|
gchar * |
The name of the container |
|
gchar * |
The description of the container |
|
gboolean |
Whether the container requires a video stream |
|
gboolean |
Whether the container supports B-frames |
|
gint |
The maximum number of audio streams that can be embedded in the container |
|
gint |
The maximum number of subtitle streams that can be embedded in the container |
|
gint * |
A NULL terminated array of OGMRipFormatType supported by the container |