OGMRip Reference Manual | ||||
---|---|---|---|---|
#include <ogmrip-mplayer.h> GPtrArray* ogmrip_mencoder_audio_command (OGMRipAudioCodec *audio, const gchar *output); gdouble ogmrip_mencoder_codec_watch (OGMJobExec *exec, const gchar *buffer, OGMRipCodec *codec); GPtrArray* ogmrip_mencoder_container_command (OGMRipContainer *container); gdouble ogmrip_mencoder_container_watch (OGMJobExec *exec, const gchar *buffer, OGMRipContainer *container); GPtrArray* ogmrip_mencoder_video_command (OGMRipVideoCodec *video, const gchar *output, guint pass); GPtrArray* ogmrip_mencoder_vobsub_command (OGMRipSubpCodec *subp, const gchar *output); gdouble ogmrip_mencoder_vobsub_watch (OGMJobExec *exec, const gchar *buffer, OGMRipSubpCodec *subp); GPtrArray* ogmrip_mplayer_video_command (OGMRipVideoCodec *video, const gchar *output); gdouble ogmrip_mplayer_video_watch (OGMJobExec *exec, const gchar *buffer, OGMRipVideoCodec *video); GPtrArray* ogmrip_mplayer_wav_command (OGMRipAudioCodec *audio, gboolean header, const gchar *output); gdouble ogmrip_mplayer_wav_watch (OGMJobExec *exec, const gchar *buffer, OGMRipAudioCodec *audio);
GPtrArray* ogmrip_mencoder_audio_command (OGMRipAudioCodec *audio, const gchar *output);
This function creates the common part of the command line when using mencoder to encode an audio stream.
|
An OGMRipAudioCodec |
|
The output file, or NULL |
Returns : |
A new GPtrArray, or NULL |
gdouble ogmrip_mencoder_codec_watch (OGMJobExec *exec, const gchar *buffer, OGMRipCodec *codec);
This function parses the output of mencoder when encoding a stream and returns the progress made.
|
An OGMJobExec |
|
The buffer to parse |
|
An OGMRipCodec |
Returns : |
The progress made, or -1.0 |
GPtrArray* ogmrip_mencoder_container_command (OGMRipContainer *container);
This function creates the common part of the command line to merge streams using mencoder.
|
An OGMRipContainer |
Returns : |
A new GPtrArray, or NULL |
gdouble ogmrip_mencoder_container_watch (OGMJobExec *exec, const gchar *buffer, OGMRipContainer *container);
This function parses the output of mencoder when merging streams and returns the progress made.
|
An OGMJobExec |
|
The buffer to parse |
|
An OGMRipContainer |
Returns : |
The progress made, or -1.0 |
GPtrArray* ogmrip_mencoder_video_command (OGMRipVideoCodec *video, const gchar *output, guint pass);
This function creates the common part of the command line when using mencoder to encode a video stream.
|
An OGMRipVideoCodec |
|
The output file, or NULL |
|
The number of passes |
Returns : |
A new GPtrArray, or NULL |
GPtrArray* ogmrip_mencoder_vobsub_command (OGMRipSubpCodec *subp, const gchar *output);
This function creates the command line for extracting VobSub subtitles using mencoder.
|
An OGMRipSubpCodec |
|
The output file, or NULL |
Returns : |
A new GPtrArray, or NULL |
gdouble ogmrip_mencoder_vobsub_watch (OGMJobExec *exec, const gchar *buffer, OGMRipSubpCodec *subp);
This function parses the output of mencoder when extracting VobSub subtitles and returns the progress made.
|
An OGMJobExec |
|
The buffer to parse |
|
An OGMRipSubpCodec |
Returns : |
The progress made, or -1.0 |
GPtrArray* ogmrip_mplayer_video_command (OGMRipVideoCodec *video, const gchar *output);
This function creates the common part of the command line when using mplayer to encode a video stream.
|
An OGMRipVideoCodec |
|
The output file, or NULL |
Returns : |
A new GPtrArray, or NULL |
gdouble ogmrip_mplayer_video_watch (OGMJobExec *exec, const gchar *buffer, OGMRipVideoCodec *video);
This function parses the output of mplayer when encoding a video stream and returns the progress made.
|
An OGMJobExec |
|
The buffer to parse |
|
An OGMRipVideoCodec |
Returns : |
The progress made, or -1.0 |
GPtrArray* ogmrip_mplayer_wav_command (OGMRipAudioCodec *audio, gboolean header, const gchar *output);
This function creates the command line for encoding an audio stream in PCM or WAV.
|
An OGMRipAudioCodec |
|
Whether to add the PCM header |
|
The output file, or NULL |
Returns : |
A new GPtrArray, or NULL |
gdouble ogmrip_mplayer_wav_watch (OGMJobExec *exec, const gchar *buffer, OGMRipAudioCodec *audio);
This function parses the output of mplayer when encoding an audio stream in WAV or PCM and returns the progress made.
|
An OGMJobExec |
|
The buffer to parse |
|
An OGMRipAudioCodec |
Returns : |
The progress made, or -1.0 |