| Top |
| gchar * | fourcc | Read / Write |
| gchar * | label | Read / Write |
| gchar * | output | Read / Write |
| guint | overhead | Read |
| guint | start-delay | Read / Write |
| guint | target-number | Read / Write |
| guint | target-size | Read / Write |
void (*OGMRipContainerCodecFunc) (OGMRipContainer *container,OGMRipCodec *codec,guint demuxer,gint language,gpointer user_data);
Specifies the type of functions passed to ogmrip_container_foreach_audio(),
ogmrip_container_foreach_subp(), and ogmrip_container_foreach_chapters().
container |
||
codec |
An OGMRipCodec |
|
demuxer |
The demuxer to be used |
|
language |
The language of the stream |
|
user_data |
The user data |
void (*OGMRipContainerFileFunc) (OGMRipContainer *container,OGMRipFile *file,gpointer user_data);
Specifies the type of functions passed to ogmrip_container_foreach_file().
void ogmrip_container_set_options (OGMRipContainer *container,const gchar *section);
Sets container specific options from the specified profile.
const gchar *
ogmrip_container_get_output (OGMRipContainer *container);
Gets the name of the output file.
void ogmrip_container_set_output (OGMRipContainer *container,const gchar *output);
Sets the name of the output file.
const gchar *
ogmrip_container_get_label (OGMRipContainer *container);
Gets the label of the rip.
void ogmrip_container_set_label (OGMRipContainer *container,const gchar *label);
Sets the label of the rip.
const gchar *
ogmrip_container_get_fourcc (OGMRipContainer *container);
Gets the FourCC of the rip.
void ogmrip_container_set_fourcc (OGMRipContainer *container,const gchar *fourcc);
Sets the FourCC of the rip.
OGMRipVideoCodec *
ogmrip_container_get_video (OGMRipContainer *container);
Gets the video codec of the rip.
void ogmrip_container_set_video (OGMRipContainer *container,OGMRipVideoCodec *video);
Sets the video codec of the rip.
void ogmrip_container_add_audio (OGMRipContainer *container,OGMRipAudioCodec *audio,OGMRipAudioDemuxer demuxer,gint language);
Adds an audio codec to the rip.
GSList *
ogmrip_container_get_audio (OGMRipContainer *container);
Gets a list of the audio codecs of the rip.
OGMRipAudioCodec * ogmrip_container_get_nth_audio (OGMRipContainer *container,gint n);
Gets the audio codec at the given position.
gint
ogmrip_container_get_n_audio (OGMRipContainer *container);
Gets the number of audio codecs.
void ogmrip_container_foreach_audio (OGMRipContainer *container,OGMRipContainerCodecFunc func,gpointer data);
Calls a function for each audio codec
void ogmrip_container_remove_audio (OGMRipContainer *container,OGMRipAudioCodec *audio);
Removes the audio codec from the rip.
void ogmrip_container_add_subp (OGMRipContainer *container,OGMRipSubpCodec *subp,OGMRipSubpDemuxer demuxer,gint language);
Adds a subtitle codec to the rip.
GSList *
ogmrip_container_get_subp (OGMRipContainer *container);
Gets a list of the subtitle codecs of the rip.
gint
ogmrip_container_get_n_subp (OGMRipContainer *container);
Gets the number of subtitle codecs.
OGMRipSubpCodec * ogmrip_container_get_nth_subp (OGMRipContainer *container,gint n);
Gets the subtitle codec at the given position.
void ogmrip_container_foreach_subp (OGMRipContainer *container,OGMRipContainerCodecFunc func,gpointer data);
Calls a function for each subtitle codec
void ogmrip_container_remove_subp (OGMRipContainer *container,OGMRipSubpCodec *subp);
Removes the subp codec from the rip.
void ogmrip_container_add_chapters (OGMRipContainer *container,OGMRipChapters *chapters,gint language);
Adds a chapters codec to the rip.
GSList *
ogmrip_container_get_chapters (OGMRipContainer *container);
Gets a list of the chapters codecs of the rip.
OGMRipChapters * ogmrip_container_get_nth_chapters (OGMRipContainer *container,gint n);
Gets the chapters codec at the given position.
gint
ogmrip_container_get_n_chapters (OGMRipContainer *container);
Gets the number of chapters codecs.
void ogmrip_container_foreach_chapters (OGMRipContainer *container,OGMRipContainerCodecFunc func,gpointer data);
Calls a function for each chapters codec
void ogmrip_container_remove_chapters (OGMRipContainer *container,OGMRipChapters *chapters);
Removes the chapters from the rip.
void ogmrip_container_add_file (OGMRipContainer *container,OGMRipFile *file);
Adds a file to the rip.
GSList *
ogmrip_container_get_files (OGMRipContainer *container);
Gets a list of the files of the rip.
OGMRipFile * ogmrip_container_get_nth_file (OGMRipContainer *container,gint n);
Gets the file at the given position.
gint
ogmrip_container_get_n_files (OGMRipContainer *container);
Gets the number of files.
void ogmrip_container_foreach_file (OGMRipContainer *container,OGMRipContainerFileFunc func,gpointer data);
Calls a function for each file
void ogmrip_container_remove_file (OGMRipContainer *container,OGMRipFile *file);
Removes the file from the rip.
void ogmrip_container_set_split (OGMRipContainer *container,guint number,guint size);
Sets the number of output files and the maximum size of each one.
void ogmrip_container_get_split (OGMRipContainer *container,guint *number,guint *size);
Gets the number of output files and the maximum size of each one.
gint
ogmrip_container_get_start_delay (OGMRipContainer *container);
Gets the start delay of the audio tracks.
void ogmrip_container_set_start_delay (OGMRipContainer *container,guint start_delay);
Sets the start delay of the audio tracks
gint
ogmrip_container_get_overhead (OGMRipContainer *container);
Gets the overhead of the container.
gint64
ogmrip_container_get_overhead_size (OGMRipContainer *container);
Returns the size of the overhead generated by the video, audio and subtitle stream, the chapters information and the files in bytes.
gint64
ogmrip_container_get_nonvideo_size (OGMRipContainer *container);
Returns the size of the audio and subtitle streams, the chapters information and the files in bytes.
“start-delay” property“start-delay” guint
Set start delay.
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
“target-number” property“target-number” guint
Set target number.
Flags: Read / Write
Default value: 1
“target-size” property“target-size” guint
Set target size.
Flags: Read / Write
Default value: 0