Encoding postprocessor. More...
#include <plugin.h>
Data Fields | |
bg_plugin_common_t | common |
Infos and functions common to all plugin types. | |
int | max_audio_streams |
Maximum number of audio streams. -1 means infinite. | |
int | max_video_streams |
Maximum number of video streams. -1 means infinite. | |
char * | supported_extensions |
Supported file extensions (space separated). | |
void(* | set_callbacks )(void *priv, bg_e_pp_callbacks_t *callbacks) |
Set callbacks. | |
int(* | init )(void *priv) |
Initialize. | |
void(* | add_track )(void *priv, const char *filename, bg_metadata_t *metadata, int pp_only) |
Add a transcoded track. | |
void(* | run )(void *priv, const char *directory, int cleanup) |
Start postprocessing. | |
void(* | stop )(void *priv) |
Stop postprocessing. |
Encoding postprocessor.
Infos and functions common to all plugin types.
Maximum number of audio streams. -1 means infinite.
Maximum number of video streams. -1 means infinite.
Supported file extensions (space separated).
void(* bg_encoder_pp_plugin_s::set_callbacks)(void *priv, bg_e_pp_callbacks_t *callbacks) |
Set callbacks.
priv | The handle returned by the create() method
|
int(* bg_encoder_pp_plugin_s::init)(void *priv) |
Initialize.
priv | The handle returned by the create() method |
void(* bg_encoder_pp_plugin_s::add_track)(void *priv, const char *filename, bg_metadata_t *metadata, int pp_only) |
Add a transcoded track.
priv | The handle returned by the create() method
|
void(* bg_encoder_pp_plugin_s::run)(void *priv, const char *directory, int cleanup) |
Start postprocessing.
priv | The handle returned by the create() method
|
void(* bg_encoder_pp_plugin_s::stop)(void *priv) |
Stop postprocessing.
priv | The handle returned by the create() method |