OGMRip Reference Manual | ||||
---|---|---|---|---|
#include <ogmrip-encoding.h> OGMRipEncoding; OGMRipEncodingClass; #define OGMRIP_ENCODING_IS_ANALYZED (enc) #define OGMRIP_ENCODING_IS_BACKUPED (enc) #define OGMRIP_ENCODING_IS_BACKUPING (enc) #define OGMRIP_ENCODING_IS_EXTRACTED (enc) #define OGMRIP_ENCODING_IS_EXTRACTING (enc) #define OGMRIP_ENCODING_IS_RUNNING (enc) #define OGMRIP_ENCODING_IS_TESTED (enc) #define OGMRIP_ENCODING_IS_TESTING (enc) enum OGMRipEncodingFlags; enum OGMRipEncodingMethod; enum OGMRipEncodingError; enum OGMRipTaskEvent; enum OGMRipTaskType; enum OGMRipOptionsType; gboolean (*OGMRipEncodingFunc) (OGMRipEncoding *encoding, gpointer data); void (*OGMRipEncodingAudioFunc) (OGMRipEncoding *encoding, OGMDvdAudioStream *stream, OGMRipAudioOptions *options, gpointer data); void (*OGMRipEncodingSubpFunc) (OGMRipEncoding *encoding, OGMDvdSubpStream *stream, OGMRipSubpOptions *options, gpointer data); void (*OGMRipEncodingFileFunc) (OGMRipEncoding *encoding, OGMRipFile *file, gpointer data); OGMRipEncoding* ogmrip_encoding_new (OGMDvdTitle *title, const gchar *filename); OGMRipEncoding* ogmrip_encoding_new_from_file (const gchar *filename, GError **error); gint ogmrip_encoding_backup (OGMRipEncoding *encoding, GError **error); gint ogmrip_encoding_test (OGMRipEncoding *encoding, GError **error); gint ogmrip_encoding_extract (OGMRipEncoding *encoding, GError **error); void ogmrip_encoding_cancel (OGMRipEncoding *encoding); void ogmrip_encoding_suspend (OGMRipEncoding *encoding); void ogmrip_encoding_resume (OGMRipEncoding *encoding); void ogmrip_encoding_cleanup (OGMRipEncoding *encoding); gboolean ogmrip_encoding_dump (OGMRipEncoding *encoding, const gchar *filename); gboolean ogmrip_encoding_equal (OGMRipEncoding *encoding1, OGMRipEncoding *encoding2); gboolean ogmrip_encoding_check_filename (OGMRipEncoding *encoding, GError **error); gboolean ogmrip_encoding_set_container_type (OGMRipEncoding *encoding, GType type, GError **error); GType ogmrip_encoding_get_container_type (OGMRipEncoding *encoding); gboolean ogmrip_encoding_set_video_codec_type (OGMRipEncoding *encoding, GType type, GError **error); GType ogmrip_encoding_get_video_codec_type (OGMRipEncoding *encoding); gboolean ogmrip_encoding_add_audio_stream (OGMRipEncoding *encoding, OGMDvdAudioStream *stream, OGMRipAudioOptions *options, GError **error); gint ogmrip_encoding_get_n_audio_streams (OGMRipEncoding *encoding); OGMDvdAudioStream* ogmrip_encoding_get_nth_audio_stream (OGMRipEncoding *encoding, guint n); void ogmrip_encoding_foreach_audio_streams (OGMRipEncoding *encoding, OGMRipEncodingAudioFunc func, gpointer data); gboolean ogmrip_encoding_get_nth_audio_options (OGMRipEncoding *encoding, guint n, OGMRipAudioOptions *options); gboolean ogmrip_encoding_add_subp_stream (OGMRipEncoding *encoding, OGMDvdSubpStream *stream, OGMRipSubpOptions *options, GError **error); gint ogmrip_encoding_get_n_subp_streams (OGMRipEncoding *encoding); OGMDvdSubpStream* ogmrip_encoding_get_nth_subp_stream (OGMRipEncoding *encoding, guint n); void ogmrip_encoding_foreach_subp_streams (OGMRipEncoding *encoding, OGMRipEncodingSubpFunc func, gpointer data); gboolean ogmrip_encoding_get_nth_subp_options (OGMRipEncoding *encoding, guint n, OGMRipSubpOptions *options); gboolean ogmrip_encoding_add_audio_file (OGMRipEncoding *encoding, OGMRipFile *file, GError **error); gint ogmrip_encoding_get_n_audio_files (OGMRipEncoding *encoding); OGMRipFile* ogmrip_encoding_get_nth_audio_file (OGMRipEncoding *encoding, guint n); void ogmrip_encoding_foreach_audio_files (OGMRipEncoding *encoding, OGMRipEncodingFileFunc func, gpointer data); gboolean ogmrip_encoding_add_subp_file (OGMRipEncoding *encoding, OGMRipFile *file, GError **error); gint ogmrip_encoding_get_n_subp_files (OGMRipEncoding *encoding); OGMRipFile* ogmrip_encoding_get_nth_subp_file (OGMRipEncoding *encoding, guint n); void ogmrip_encoding_foreach_subp_files (OGMRipEncoding *encoding, OGMRipEncodingFileFunc func, gpointer data); gint ogmrip_encoding_get_angle (OGMRipEncoding *encoding); void ogmrip_encoding_get_aspect_ratio (OGMRipEncoding *encoding, guint *numerator, guint *denominator); gint ogmrip_encoding_get_bitrate (OGMRipEncoding *encoding); gdouble ogmrip_encoding_get_bits_per_pixel (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_can_crop (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_can_scale (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_cartoon (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_chapter_label (OGMRipEncoding *encoding, guint nr); void ogmrip_encoding_get_chapters (OGMRipEncoding *encoding, guint *start_chap, gint *end_chap); gint ogmrip_encoding_get_chapters_language (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_copy_dvd (OGMRipEncoding *encoding); gint ogmrip_encoding_get_crop (OGMRipEncoding *encoding, guint *x, guint *y, guint *w, guint *h); gboolean ogmrip_encoding_get_deblock (OGMRipEncoding *encoding); gint ogmrip_encoding_get_deinterlacer (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_denoise (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_dering (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_ensure_sync (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_filename (OGMRipEncoding *encoding); guint32 ogmrip_encoding_get_flags (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_fourcc (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_id (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_keep_tmp_files (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_label (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_logfile (OGMRipEncoding *encoding); void ogmrip_encoding_get_max_size (OGMRipEncoding *encoding, guint *width, guint *height, gboolean *expand); gint ogmrip_encoding_get_method (OGMRipEncoding *encoding); gint ogmrip_encoding_get_passes (OGMRipEncoding *encoding); gint ogmrip_encoding_get_preset (OGMRipEncoding *encoding); gchar* ogmrip_encoding_get_profile (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_qpel (OGMRipEncoding *encoding); gdouble ogmrip_encoding_get_quantizer (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_relative (OGMRipEncoding *encoding); gint ogmrip_encoding_get_scale (OGMRipEncoding *encoding, guint *w, guint *h); gint ogmrip_encoding_get_scaler (OGMRipEncoding *encoding); gint ogmrip_encoding_get_target_number (OGMRipEncoding *encoding); gint ogmrip_encoding_get_target_size (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_test (OGMRipEncoding *encoding); gint ogmrip_encoding_get_threads (OGMRipEncoding *encoding); OGMDvdTitle* ogmrip_encoding_get_title (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_trellis (OGMRipEncoding *encoding); gboolean ogmrip_encoding_get_turbo (OGMRipEncoding *encoding); void ogmrip_encoding_set_angle (OGMRipEncoding *encoding, guint angle); void ogmrip_encoding_set_aspect_ratio (OGMRipEncoding *encoding, guint numerator, guint denominator); void ogmrip_encoding_set_bitrate (OGMRipEncoding *encoding, guint bitrate); void ogmrip_encoding_set_bits_per_pixel (OGMRipEncoding *encoding, gdouble bpp); void ogmrip_encoding_set_can_crop (OGMRipEncoding *encoding, gboolean can_crop); void ogmrip_encoding_set_can_scale (OGMRipEncoding *encoding, gboolean can_scale); void ogmrip_encoding_set_cartoon (OGMRipEncoding *encoding, gboolean cartoon); void ogmrip_encoding_set_chapter_label (OGMRipEncoding *encoding, guint nr, const gchar *label); void ogmrip_encoding_set_chapters (OGMRipEncoding *encoding, guint start_chap, gint end_chap); void ogmrip_encoding_set_chapters_language (OGMRipEncoding *encoding, guint language); void ogmrip_encoding_set_copy_dvd (OGMRipEncoding *encoding, gboolean copy_dvd); void ogmrip_encoding_set_crop (OGMRipEncoding *encoding, OGMRipOptionsType type, guint x, guint y, guint w, guint h); void ogmrip_encoding_set_deblock (OGMRipEncoding *encoding, gboolean deblock); void ogmrip_encoding_set_deinterlacer (OGMRipEncoding *encoding, OGMRipDeintType deint); void ogmrip_encoding_set_denoise (OGMRipEncoding *encoding, gboolean denoise); void ogmrip_encoding_set_dering (OGMRipEncoding *encoding, gboolean dering); void ogmrip_encoding_set_ensure_sync (OGMRipEncoding *encoding, gboolean ensure_sync); void ogmrip_encoding_set_filename (OGMRipEncoding *encoding, const gchar *filename); void ogmrip_encoding_set_fourcc (OGMRipEncoding *encoding, const gchar *fourcc); void ogmrip_encoding_set_keep_tmp_files (OGMRipEncoding *encoding, gboolean keep_tmp_files); void ogmrip_encoding_set_label (OGMRipEncoding *encoding, const gchar *label); void ogmrip_encoding_set_max_size (OGMRipEncoding *encoding, guint width, guint height, gboolean expand); void ogmrip_encoding_set_method (OGMRipEncoding *encoding, OGMRipEncodingMethod method); gboolean ogmrip_encoding_set_nth_audio_options (OGMRipEncoding *encoding, guint n, OGMRipAudioOptions *options, GError **error); gboolean ogmrip_encoding_set_nth_subp_options (OGMRipEncoding *encoding, guint n, OGMRipSubpOptions *options, GError **error); void ogmrip_encoding_set_passes (OGMRipEncoding *encoding, guint passes); void ogmrip_encoding_set_preset (OGMRipEncoding *encoding, OGMRipVideoPreset preset); void ogmrip_encoding_set_profile (OGMRipEncoding *encoding, const gchar *profile); void ogmrip_encoding_set_qpel (OGMRipEncoding *encoding, gboolean qpel); void ogmrip_encoding_set_quantizer (OGMRipEncoding *encoding, gdouble quantizer); void ogmrip_encoding_set_relative (OGMRipEncoding *encoding, gboolean relative); void ogmrip_encoding_set_scale (OGMRipEncoding *encoding, OGMRipOptionsType type, guint w, guint h); void ogmrip_encoding_set_scaler (OGMRipEncoding *encoding, OGMRipScalerType scaler); void ogmrip_encoding_set_target_number (OGMRipEncoding *encoding, guint target_number); void ogmrip_encoding_set_target_size (OGMRipEncoding *encoding, guint target_size); void ogmrip_encoding_set_test (OGMRipEncoding *encoding, gboolean test); void ogmrip_encoding_set_threads (OGMRipEncoding *encoding, guint threads); void ogmrip_encoding_set_trellis (OGMRipEncoding *encoding, gboolean trellis); void ogmrip_encoding_set_turbo (OGMRipEncoding *encoding, gboolean turbo);
"aspect-denom" guint : Read / Write "aspect-num" guint : Read / Write "bitrate" guint : Read / Write "bpp" gdouble : Read / Write "can-crop" gboolean : Read / Write "can-scale" gboolean : Read / Write "cartoon" gboolean : Read / Write "chapters-lang" guint : Read / Write "container-type" GType* : Read / Write "copy-dvd" gboolean : Read / Write "crop-height" guint : Read / Write "crop-type" guint : Read / Write "crop-width" guint : Read / Write "crop-x" guint : Read / Write "crop-y" guint : Read / Write "deblock" gboolean : Read / Write "deinterlacer" guint : Read / Write "denoise" gboolean : Read / Write "dering" gboolean : Read / Write "end-chapter" gint : Read / Write "ensure-sync" gboolean : Read / Write "expand" gboolean : Read / Write "filename" gchar* : Read / Write "fourcc" gchar* : Read / Write "keep-tmp-files" gboolean : Read / Write "label" gchar* : Read / Write "max-height" guint : Read / Write "max-width" guint : Read / Write "method" guint : Read / Write "passes" guint : Read / Write "preset" guint : Read / Write "profile" gchar* : Read / Write "qpel" gboolean : Read / Write "quantizer" gdouble : Read / Write "relative" gboolean : Read / Write "scale-height" guint : Read / Write "scale-type" guint : Read / Write "scale-width" guint : Read / Write "scaler" guint : Read / Write "start-chapter" gint : Read / Write "target-number" guint : Read / Write "target-size" guint : Read / Write "test" gboolean : Read / Write "threads" guint : Read / Write "trellis" gboolean : Read / Write "turbo" gboolean : Read / Write "video-codec-type" GType* : Read / Write
"complete" : Run Last / No Recursion / No Hooks "run" : Run Last / No Recursion / No Hooks "task" : Run Last / No Recursion / Has Details / No Hooks
typedef struct { GObjectClass parent_class; void (* run) (OGMRipEncoding *encoding); void (* complete) (OGMRipEncoding *encoding, OGMJobResultType result); void (* task) (OGMRipEncoding *encoding, OGMRipEncodingTask *task); } OGMRipEncodingClass;
#define OGMRIP_ENCODING_IS_ANALYZED(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_ANALYZED) != 0)
Gets whether encoding
has already been analyzed.
Returns
: TRUE
if already analyzed, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_BACKUPED(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_BACKUPED) != 0)
Gets whether encoding
has already been backuped.
Returns
: TRUE
if already backuped, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_BACKUPING(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_BACKUPING) != 0)
Gets whether encoding
is being backuped.
Returns
: TRUE
if backuping, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_EXTRACTED(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_EXTRACTED) != 0)
Gets whether encoding
has already been extracted.
Returns
: TRUE
if already extracted, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_EXTRACTING(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_EXTRACTING) != 0)
Gets whether encoding
is being extracted.
Returns
: TRUE
if extracting, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_RUNNING(enc)
Gets whether encoding
is being backuped, tested, or extracted.
Returns
: TRUE
if backuping, testing, or extracting, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_TESTED(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_TESTED) != 0)
Gets whether encoding
has already been tested.
Returns
: TRUE
if already tested, FALSE
otherwise
|
An OGMRipEncoding |
#define OGMRIP_ENCODING_IS_TESTING(enc) ((ogmrip_encoding_get_flags (enc) & OGMRIP_ENCODING_TESTING) != 0)
Gets whether encoding
is being tested.
Returns
: TRUE
if testing, FALSE
otherwise
|
An OGMRipEncoding |
typedef enum { OGMRIP_ENCODING_BACKUPED = 1 << 0, OGMRIP_ENCODING_ANALYZED = 1 << 1, OGMRIP_ENCODING_TESTED = 1 << 2, OGMRIP_ENCODING_EXTRACTED = 1 << 3, OGMRIP_ENCODING_BACKUPING = 1 << 4, OGMRIP_ENCODING_TESTING = 1 << 5, OGMRIP_ENCODING_EXTRACTING = 1 << 6, OGMRIP_ENCODING_CANCELING = 1 << 7 } OGMRipEncodingFlags;
The encoding flags.
Whether the encoding has been backuped | |
Whether the encoding has been analyzed | |
Whether the encoding has been tested | |
Whether the encoding has been extracted | |
If the encoding is being backuped | |
If the encoding is being tested | |
If the encoding is being tested | |
If the encoding is being cancelled |
typedef enum { OGMRIP_ENCODING_SIZE, OGMRIP_ENCODING_BITRATE, OGMRIP_ENCODING_QUANTIZER } OGMRipEncodingMethod;
The encoding methods.
typedef enum { OGMRIP_ENCODING_ERROR_CONTAINER, OGMRIP_ENCODING_ERROR_STREAMS, OGMRIP_ENCODING_ERROR_SIZE, OGMRIP_ENCODING_ERROR_TEST, OGMRIP_ENCODING_ERROR_IMPORT, OGMRIP_ENCODING_ERROR_UNKNOWN } OGMRipEncodingError;
Error codes returned by ogmdvd_disc_open()
Container and codecs are not compatible | |
A stream is not compatible | |
No enough disk space | |
Cannot perform compressibility test | |
Cannot import encoding file | |
Unknown error |
typedef enum { OGMRIP_TASK_RUN, OGMRIP_TASK_PROGRESS, OGMRIP_TASK_COMPLETE, OGMRIP_TASK_SUSPEND, OGMRIP_TASK_RESUME } OGMRipTaskEvent;
The events associated with encoding tasks.
typedef enum { OGMRIP_TASK_BACKUP, OGMRIP_TASK_ANALYZE, OGMRIP_TASK_CHAPTERS, OGMRIP_TASK_AUDIO, OGMRIP_TASK_SUBP, OGMRIP_TASK_CROP, OGMRIP_TASK_TEST, OGMRIP_TASK_VIDEO, OGMRIP_TASK_MERGE } OGMRipTaskType;
The available tasks.
Backup task | |
Analyze task | |
Chapters extraction task | |
Audio extraction task | |
Subtitles extraction task | |
Automatic cropping task | |
Compressibility test task | |
Video extraction task | |
Merge task |
typedef enum { OGMRIP_OPTIONS_NONE, OGMRIP_OPTIONS_AUTOMATIC, OGMRIP_OPTIONS_MANUAL } OGMRipOptionsType;
How options are set.
gboolean (*OGMRipEncodingFunc) (OGMRipEncoding *encoding, gpointer data);
Specifies the type of functions passed to ogmrip_encoding_manager_foreach()
.
|
An OGMRipEncoding |
|
The user data |
Returns : |
FALSE to stop calling the function.
|
void (*OGMRipEncodingAudioFunc) (OGMRipEncoding *encoding, OGMDvdAudioStream *stream, OGMRipAudioOptions *options, gpointer data);
Specifies the type of functions passed to ogmrip_encoding_foreach_audio_streams()
.
|
An OGMRipEncoding |
|
An OGMDvdAudioStream |
|
An OGMRipAudioOptions |
|
The user data |
void (*OGMRipEncodingSubpFunc) (OGMRipEncoding *encoding, OGMDvdSubpStream *stream, OGMRipSubpOptions *options, gpointer data);
Specifies the type of functions passed to ogmrip_encoding_foreach_subp_streams()
.
|
An OGMRipEncoding |
|
An OGMDvdSubpStream |
|
An OGMRipSubpOptions |
|
The user data |
void (*OGMRipEncodingFileFunc) (OGMRipEncoding *encoding, OGMRipFile *file, gpointer data);
Specifies the type of functions passed to ogmrip_encoding_foreach_audio_files()
.
and ogmrip_encoding_foreach_subp_files()
.
|
An OGMRipEncoding |
|
An OGMRipFile |
|
The user data |
OGMRipEncoding* ogmrip_encoding_new (OGMDvdTitle *title, const gchar *filename);
Creates a new OGMRipEncoding.
|
An OGMDvdTitle |
|
The output filename |
Returns : |
The newly created OGMRipEncoding, or NULL |
OGMRipEncoding* ogmrip_encoding_new_from_file (const gchar *filename, GError **error);
Creates a new OGMRipEncoding from an XML file.
|
An encoding file |
|
Return location for error |
Returns : |
The newly created OGMRipEncoding, or NULL |
gint ogmrip_encoding_backup (OGMRipEncoding *encoding, GError **error);
Performs all the steps necessary to copy the DVD title on the hard drive.
|
An OGMRipEncoding |
|
Error location for error |
Returns : |
An OGMJobResultType |
gint ogmrip_encoding_test (OGMRipEncoding *encoding, GError **error);
Performs a compressibility test on the DVD title.
|
An OGMRipEncoding |
|
Error location for error |
Returns : |
An OGMJobResultType |
gint ogmrip_encoding_extract (OGMRipEncoding *encoding, GError **error);
Performs all the steps necessary to encode the DVD title.
|
An OGMRipEncoding |
|
Error location for error |
Returns : |
An OGMJobResultType |
void ogmrip_encoding_cancel (OGMRipEncoding *encoding);
Cancels an encoding.
|
An OGMRipEncoding |
void ogmrip_encoding_suspend (OGMRipEncoding *encoding);
Suspends an encoding.
|
An OGMRipEncoding |
void ogmrip_encoding_resume (OGMRipEncoding *encoding);
Suspends an encoding.
|
An OGMRipEncoding |
void ogmrip_encoding_cleanup (OGMRipEncoding *encoding);
Removes any remaining temporary files.
|
An OGMRipEncoding |
gboolean ogmrip_encoding_dump (OGMRipEncoding *encoding, const gchar *filename);
Dumps encoding
to an XML file.
|
An OGMRipEncoding |
|
The output filename |
Returns : |
TRUE on success, or FALSE otherwise
|
gboolean ogmrip_encoding_equal (OGMRipEncoding *encoding1, OGMRipEncoding *encoding2);
Compares two encodings.
|
An OGMRipEncoding |
|
An OGMRipEncoding |
Returns : |
TRUE if the encodings are equal, FALSE otherwise
|
gboolean ogmrip_encoding_check_filename (OGMRipEncoding *encoding, GError **error);
Checks whether a file with the same name already exists.
|
An OGMRipEncoding |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gboolean ogmrip_encoding_set_container_type (OGMRipEncoding *encoding, GType type, GError **error);
Sets the type of the container. If the container cannot contain the video, audio, and/or subtitle codecs, an error will be set.
|
An OGMRipEncoding |
|
The type of a container |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
GType ogmrip_encoding_get_container_type (OGMRipEncoding *encoding);
Gets the type of the container.
|
An OGMRipEncoding |
Returns : |
the type of the container |
gboolean ogmrip_encoding_set_video_codec_type (OGMRipEncoding *encoding, GType type, GError **error);
Sets the type of the vide codec. If the container cannot contain the video codec, an error will be set.
|
An OGMRipEncoding |
|
The type of a video codec |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
GType ogmrip_encoding_get_video_codec_type (OGMRipEncoding *encoding);
Gets the type of the video codec.
|
An OGMRipEncoding |
Returns : |
the type of the video codec |
gboolean ogmrip_encoding_add_audio_stream (OGMRipEncoding *encoding, OGMDvdAudioStream *stream, OGMRipAudioOptions *options, GError **error);
Adds an audio stream to the encoding.
|
An OGMRipEncoding |
|
An OGMDvdAudioStream |
|
An OGMRipAudioOptions |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gint ogmrip_encoding_get_n_audio_streams (OGMRipEncoding *encoding);
Gets the number of audio streams of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of audio streams, or -1 |
OGMDvdAudioStream* ogmrip_encoding_get_nth_audio_stream (OGMRipEncoding *encoding, guint n);
Gets the audio stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
Returns : |
An OGMDvdAudioStream, or NULL |
void ogmrip_encoding_foreach_audio_streams (OGMRipEncoding *encoding, OGMRipEncodingAudioFunc func, gpointer data);
Calls the given function for each audio streams.
|
An OGMRipEncoding |
|
The function to call with each audio streams |
|
User data to pass to the function |
gboolean ogmrip_encoding_get_nth_audio_options (OGMRipEncoding *encoding, guint n, OGMRipAudioOptions *options);
Gets the options of the audio stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
|
A location to return the options |
Returns : |
TRUE on success, FALSE if there is no audio stream at the given position
|
gboolean ogmrip_encoding_add_subp_stream (OGMRipEncoding *encoding, OGMDvdSubpStream *stream, OGMRipSubpOptions *options, GError **error);
Adds a subp stream to the encoding.
|
An OGMRipEncoding |
|
An OGMDvdSubpStream |
|
An OGMRipSubpOptions |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gint ogmrip_encoding_get_n_subp_streams (OGMRipEncoding *encoding);
Gets the number of subp streams of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of subp streams, or -1 |
OGMDvdSubpStream* ogmrip_encoding_get_nth_subp_stream (OGMRipEncoding *encoding, guint n);
Gets the subp stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
Returns : |
An OGMDvdSubpStream, or NULL |
void ogmrip_encoding_foreach_subp_streams (OGMRipEncoding *encoding, OGMRipEncodingSubpFunc func, gpointer data);
Calls the given function for each subp streams.
|
An OGMRipEncoding |
|
The function to call with each subp streams |
|
User data to pass to the function |
gboolean ogmrip_encoding_get_nth_subp_options (OGMRipEncoding *encoding, guint n, OGMRipSubpOptions *options);
Gets the options of the subp stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
|
A location to return the options |
Returns : |
TRUE on success, FALSE if there is no subp stream at the given position
|
gboolean ogmrip_encoding_add_audio_file (OGMRipEncoding *encoding, OGMRipFile *file, GError **error);
Adds an audio file to the encoding.
|
An OGMRipEncoding |
|
An OGMRipFile |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gint ogmrip_encoding_get_n_audio_files (OGMRipEncoding *encoding);
Gets the number of audio files of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of audio files, or -1 |
OGMRipFile* ogmrip_encoding_get_nth_audio_file (OGMRipEncoding *encoding, guint n);
Gets the audio file at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
Returns : |
An OGMRipFile, or NULL |
void ogmrip_encoding_foreach_audio_files (OGMRipEncoding *encoding, OGMRipEncodingFileFunc func, gpointer data);
Calls the given function for each audio file.
|
An OGMRipEncoding |
|
The function to call with each audio file |
|
User data to pass to the function |
gboolean ogmrip_encoding_add_subp_file (OGMRipEncoding *encoding, OGMRipFile *file, GError **error);
Adds an subp file to the encoding.
|
An OGMRipEncoding |
|
An OGMRipFile |
|
Return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
gint ogmrip_encoding_get_n_subp_files (OGMRipEncoding *encoding);
Gets the number of subp files of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of subp files, or -1 |
OGMRipFile* ogmrip_encoding_get_nth_subp_file (OGMRipEncoding *encoding, guint n);
Gets the subp file at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
Returns : |
An OGMRipFile, or NULL |
void ogmrip_encoding_foreach_subp_files (OGMRipEncoding *encoding, OGMRipEncodingFileFunc func, gpointer data);
Calls the given function for each subp file.
|
An OGMRipEncoding |
|
The function to call with each subp file |
|
User data to pass to the function |
gint ogmrip_encoding_get_angle (OGMRipEncoding *encoding);
Gets the angle to encoding.
|
An OGMRipEncoding |
Returns : |
The angle, or -1 |
void ogmrip_encoding_get_aspect_ratio (OGMRipEncoding *encoding, guint *numerator, guint *denominator);
Gets the aspect ratio of the encoding.
|
An OGMRipEncoding |
|
A location to return the numerator of the aspect ratio |
|
A location to resturn the denominator of the aspect ratio |
gint ogmrip_encoding_get_bitrate (OGMRipEncoding *encoding);
Gets the average bitrate in bits/seconds for the encoding.
|
An OGMRipEncoding |
Returns : |
The bitrate, or -1 |
gdouble ogmrip_encoding_get_bits_per_pixel (OGMRipEncoding *encoding);
Gets the number of bits per pixel of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of bits per pixel, or -1 |
gboolean ogmrip_encoding_get_can_crop (OGMRipEncoding *encoding);
Gets whether the video should be cropped.
|
An OGMRipEncoding |
Returns : |
TRUE if the video can be cropped, FALSE otherwise
|
gboolean ogmrip_encoding_get_can_scale (OGMRipEncoding *encoding);
Gets whether the video should be scaled.
|
An OGMRipEncoding |
Returns : |
TRUE if the video can be scaled, FALSE otherwise
|
gboolean ogmrip_encoding_get_cartoon (OGMRipEncoding *encoding);
Gets whether to optimize the encoding for cartoons.
|
An OGMRipEncoding |
Returns : |
TRUE for cartoon mode, FALSE otherwise
|
gchar* ogmrip_encoding_get_chapter_label (OGMRipEncoding *encoding, guint nr);
Gets the name of the chapter.
|
An OGMRipEncoding |
|
A chapter number, counting from 0 |
Returns : |
The name of the chapter, or NULL |
void ogmrip_encoding_get_chapters (OGMRipEncoding *encoding, guint *start_chap, gint *end_chap);
Gets the first and last chapters of the encoding.
|
An OGMRipEncoding |
|
A location to return the first chapter |
|
A location to return the last chapter |
gint ogmrip_encoding_get_chapters_language (OGMRipEncoding *encoding);
Gets the language of the name of the chapters.
|
An OGMRipEncoding |
Returns : |
A language code, or -1 |
gboolean ogmrip_encoding_get_copy_dvd (OGMRipEncoding *encoding);
Gets whether the title should be copied on the hard drive.
|
An OGMRipEncoding |
Returns : |
TRUE if the title will be copied, FALSE otherwise
|
gint ogmrip_encoding_get_crop (OGMRipEncoding *encoding, guint *x, guint *y, guint *w, guint *h);
Gets the cropping parameters of the encoding.
|
An "" |
|
A location to return the cropped horizontal position |
|
A location to return the cropped vertical position |
|
A location to return the cropped width |
|
A location to return the cropped height |
Returns : |
An OGMRipOptionsType, or -1 |
gboolean ogmrip_encoding_get_deblock (OGMRipEncoding *encoding);
Gets whether a deblocking filter should be applied.
|
An OGMRipEncoding |
Returns : |
TRUE to deblock, FALSE otherwise
|
gint ogmrip_encoding_get_deinterlacer (OGMRipEncoding *encoding);
Gets the deinterlacer.
|
An OGMRipEncoding |
Returns : |
An OGMRipDeintType, or -1 |
gboolean ogmrip_encoding_get_denoise (OGMRipEncoding *encoding);
Gets whether a noise reducing filter should be applied.
|
An OGMRipEncoding |
Returns : |
TRUE to denoise, FALSE otherwise
|
gboolean ogmrip_encoding_get_dering (OGMRipEncoding *encoding);
Gets whether a deringing filter should be applied.
|
An OGMRipEncoding |
Returns : |
TRUE to dering, FALSE otherwise
|
gboolean ogmrip_encoding_get_ensure_sync (OGMRipEncoding *encoding);
Gets whether to ensure audio/video synchronization.
|
An OGMRipEncoding |
Returns : |
TRUE to ensure A/V sync, FALSE otherwise
|
gchar* ogmrip_encoding_get_filename (OGMRipEncoding *encoding);
Gets the output file name.
|
An OGMRipEncoding |
Returns : |
The output filename, or NULL |
guint32 ogmrip_encoding_get_flags (OGMRipEncoding *encoding);
Gets the flags of the encoding.
|
An OGMRipEncoding |
Returns : |
The flags, or 0 |
gchar* ogmrip_encoding_get_fourcc (OGMRipEncoding *encoding);
Gets the FOUR character code for the encoding.
|
An OGMRipEncoding |
Returns : |
The FourCC, or NULL |
gchar* ogmrip_encoding_get_id (OGMRipEncoding *encoding);
Gets the id of the DVD source.
|
An OGMRipEncoding |
Returns : |
The id, or NULL |
gboolean ogmrip_encoding_get_keep_tmp_files (OGMRipEncoding *encoding);
Gets whether to keep the temporary files.
|
An OGMRipEncoding |
Returns : |
TRUE to keep the temporary files, FALSE otherwise
|
gchar* ogmrip_encoding_get_label (OGMRipEncoding *encoding);
Gets the name of the encoding.
|
An OGMRipEncoding |
Returns : |
The name of the encoding, or NULL |
gchar* ogmrip_encoding_get_logfile (OGMRipEncoding *encoding);
Gets the log filename.
|
An OGMRipEncoding |
Returns : |
The log filename, or NULL |
void ogmrip_encoding_get_max_size (OGMRipEncoding *encoding, guint *width, guint *height, gboolean *expand);
Gets the maximum size of the image and whether the image should be expanded to this size.
|
An OGMRipEncoding |
|
A location to return the max width |
|
A location to return the max height |
|
A location to return whether to expand the image |
gint ogmrip_encoding_get_method (OGMRipEncoding *encoding);
Gets the method of encoding.
|
An OGMRipEncoding |
Returns : |
An OGMRipEncodingMethod, or -1 |
gint ogmrip_encoding_get_passes (OGMRipEncoding *encoding);
Gets the number of passes of the encoding.
|
An OGMRipEncoding |
Returns : |
the number of passes, or -1 |
gint ogmrip_encoding_get_preset (OGMRipEncoding *encoding);
Gets the preset of the video options.
|
An OGMRipEncoding |
Returns : |
An OGMRipVideoPreset, or -1 |
gchar* ogmrip_encoding_get_profile (OGMRipEncoding *encoding);
Gets the profile' section of the encoding.
|
An OGMRipEncoding |
Returns : |
The profile' section, or NULL |
gboolean ogmrip_encoding_get_qpel (OGMRipEncoding *encoding);
Gets whether to use quarter pel motion compensation.
|
An OGMRipEncoding |
Returns : |
TRUE to use qpel, FALSE otherwise
|
gdouble ogmrip_encoding_get_quantizer (OGMRipEncoding *encoding);
Gets the quantizer of the encoding.
|
An OGMRipEncoding |
Returns : |
The quantizer, or -1 |
gboolean ogmrip_encoding_get_relative (OGMRipEncoding *encoding);
Gets whether the bitrate is computed relatively to the full length of the title, or to the length of the selected chapters only.
|
An OGMRipEncoding |
Returns : |
TRUE for relative, FALSE otherwise
|
gint ogmrip_encoding_get_scale (OGMRipEncoding *encoding, guint *w, guint *h);
Gets the scaling parameters of the encoding.
|
An OGMRipEncoding |
|
A location to return the scaled width |
|
A location to resturn the scaled height |
Returns : |
An OGMRipOptionsType, or -1 |
gint ogmrip_encoding_get_scaler (OGMRipEncoding *encoding);
Gets the software scaler of the encoding.
|
An OGMRipEncoding |
Returns : |
An OGMRipScalerType, or -1 |
gint ogmrip_encoding_get_target_number (OGMRipEncoding *encoding);
Gets the number of targets of the encoding.
|
An OGMRipEncoding |
Returns : |
The number of targets, or -1 |
gint ogmrip_encoding_get_target_size (OGMRipEncoding *encoding);
Gets the size of each target of the encoding.
|
An OGMRipEncoding |
Returns : |
The size of the targets, or -1 |
gboolean ogmrip_encoding_get_test (OGMRipEncoding *encoding);
Gets whether to automatically perform a compressibility test.
|
An OGMRipEncoding |
Returns : |
TRUE to perform a compressibility test, FALSE otherwise
|
gint ogmrip_encoding_get_threads (OGMRipEncoding *encoding);
Gets the number of threads to use for the encoding.
|
An OGMRipEncoding |
Returns : |
The number of thread, or -1 |
OGMDvdTitle* ogmrip_encoding_get_title (OGMRipEncoding *encoding);
Gets the DVD title.
|
An OGMRipEncoding |
Returns : |
An OGMDvdTitle, or NULL |
gboolean ogmrip_encoding_get_trellis (OGMRipEncoding *encoding);
Gets whether to enable trellis searched quantization.
|
An OGMRipEncoding |
Returns : |
TRUE to enable trellis, FALSE otherwise
|
gboolean ogmrip_encoding_get_turbo (OGMRipEncoding *encoding);
Gets whether to speed up first pass of multi-pass encodings.
|
An OGMRipEncoding |
Returns : |
TRUE to enable turbo, FALSE , otherwise
|
void ogmrip_encoding_set_angle (OGMRipEncoding *encoding, guint angle);
Sets the angle to encode.
|
An OGMRipEncoding |
|
An angle |
void ogmrip_encoding_set_aspect_ratio (OGMRipEncoding *encoding, guint numerator, guint denominator);
Sets the aspect ratio for the encoding.
|
An OGMRipEncoding |
|
The numerator of the aspect ratio |
|
The denominator of the aspect ratio |
void ogmrip_encoding_set_bitrate (OGMRipEncoding *encoding, guint bitrate);
Sets the average bitrate in bits/second for the encoding. The bitrate will
be used only if the method of encoding is OGMRIP_ENCODING_BITRATE
.
|
An OGMRipEncoding |
|
The bitrate |
void ogmrip_encoding_set_bits_per_pixel (OGMRipEncoding *encoding, gdouble bpp);
Sets the number of bits per pixel for the encoding.
|
An OGMRipEncoding |
|
The number of bits per pixel |
void ogmrip_encoding_set_can_crop (OGMRipEncoding *encoding, gboolean can_crop);
Sets whether the video should be cropped.
|
An OGMRipEncoding |
|
TRUE to crop the video
|
void ogmrip_encoding_set_can_scale (OGMRipEncoding *encoding, gboolean can_scale);
Sets whether the video should be scaled.
|
An OGMRipEncoding |
|
TRUE to scale the video
|
void ogmrip_encoding_set_cartoon (OGMRipEncoding *encoding, gboolean cartoon);
Sets whether to optimiza the encoding for cartoons.
|
An OGMRipEncoding |
|
TRUE for cartoon mode
|
void ogmrip_encoding_set_chapter_label (OGMRipEncoding *encoding, guint nr, const gchar *label);
Sets the name of the chapter.
|
An OGMRipEncoding |
|
A chapter number, counting from 0 |
|
The name of the encoding |
void ogmrip_encoding_set_chapters (OGMRipEncoding *encoding, guint start_chap, gint end_chap);
Sets the first and last chapters of the encoding.
|
An OGMRipEncoding |
|
The first chapter |
|
The last chapter |
void ogmrip_encoding_set_chapters_language (OGMRipEncoding *encoding, guint language);
Sets the language of the name of the chapters.
|
An OGMRipEncoding |
|
A language code |
void ogmrip_encoding_set_copy_dvd (OGMRipEncoding *encoding, gboolean copy_dvd);
Sets whether to copy the title on the hard drive.
|
An OGMRipEncoding |
|
Whether to copy the title |
void ogmrip_encoding_set_crop (OGMRipEncoding *encoding, OGMRipOptionsType type, guint x, guint y, guint w, guint h);
Sets the cropping parameters for the encoding.
|
An OGMRipEncoding |
|
An OGMRipOptionsType |
|
The cropped horizontal position |
|
The cropped vertical position |
|
The cropped width |
|
The cropped height |
void ogmrip_encoding_set_deblock (OGMRipEncoding *encoding, gboolean deblock);
Sets whether a deblocking filter should be applied.
|
An OGMRipEncoding |
|
TRUE to deblock
|
void ogmrip_encoding_set_deinterlacer (OGMRipEncoding *encoding, OGMRipDeintType deint);
Sets the deinterlacer.
|
An OGMRipEncoding |
|
An OGMRipDeintType |
void ogmrip_encoding_set_denoise (OGMRipEncoding *encoding, gboolean denoise);
Sets whether a noise reducing filter should be applied.
|
An OGMRipEncoding |
|
TRUE to denoise
|
void ogmrip_encoding_set_dering (OGMRipEncoding *encoding, gboolean dering);
Sets whether a deringing filter should be applied.
|
An OGMRipEncoding |
|
TRUE to dering
|
void ogmrip_encoding_set_ensure_sync (OGMRipEncoding *encoding, gboolean ensure_sync);
Sets whether to ensure audio/video synchronization.
|
An OGMRipEncoding |
|
Whether to ensure A/V sync |
void ogmrip_encoding_set_filename (OGMRipEncoding *encoding, const gchar *filename);
Sets the output filename.
|
An OGMRipEncoding |
|
A filename |
void ogmrip_encoding_set_fourcc (OGMRipEncoding *encoding, const gchar *fourcc);
Sets the FOUR character code for the encoding.
|
An OGMRipEncoding |
|
A FourCC |
void ogmrip_encoding_set_keep_tmp_files (OGMRipEncoding *encoding, gboolean keep_tmp_files);
Sets whether to keep the temporary files.
|
An OGMRipEncoding |
|
Whether to keep the temporary files |
void ogmrip_encoding_set_label (OGMRipEncoding *encoding, const gchar *label);
Sets the name of the encoding.
|
An OGMRipEncoding |
|
The name of the encoding |
void ogmrip_encoding_set_max_size (OGMRipEncoding *encoding, guint width, guint height, gboolean expand);
Sets the maximum size of the image and whether the image should be expanded to this size.
|
An OGMRipEncoding |
|
The max width |
|
The max height |
|
TRUE to expand the image
|
void ogmrip_encoding_set_method (OGMRipEncoding *encoding, OGMRipEncodingMethod method);
Sets the method of encoding.
|
An OGMRipEncoding |
|
An OGMRipEncodingMethod |
gboolean ogmrip_encoding_set_nth_audio_options (OGMRipEncoding *encoding, guint n, OGMRipAudioOptions *options, GError **error);
Sets the options of the audio stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
|
An OGMRipAudioOptions |
|
Return location for error |
Returns : |
TRUE on success, FALSE if there is no audio stream at the given position
|
gboolean ogmrip_encoding_set_nth_subp_options (OGMRipEncoding *encoding, guint n, OGMRipSubpOptions *options, GError **error);
Sets the options of the subp stream at the given position.
|
An OGMRipEncoding |
|
The position of the stream, counting from 0 |
|
An OGMRipSubpOptions |
|
Return location for error |
Returns : |
TRUE on success, FALSE if there is no subp stream at the given position
|
void ogmrip_encoding_set_passes (OGMRipEncoding *encoding, guint passes);
Sets the number of passes of the encoding.
|
An OGMRipEncoding |
|
The number of passes |
void ogmrip_encoding_set_preset (OGMRipEncoding *encoding, OGMRipVideoPreset preset);
Sets the preset of the video options.
|
An OGMRipEncoding |
|
An OGMRipVideoPreset |
void ogmrip_encoding_set_profile (OGMRipEncoding *encoding, const gchar *profile);
Sets the profile' section of the profile
|
An OGMRipEncoding |
|
A profile' section |
void ogmrip_encoding_set_qpel (OGMRipEncoding *encoding, gboolean qpel);
Sets whether to use quarter pel motion compensation.
|
An OGMRipEncoding |
|
TRUE to use qpel
|
void ogmrip_encoding_set_quantizer (OGMRipEncoding *encoding, gdouble quantizer);
Sets the quantizer of the encoding. The quantizer will be used only if the
method of encoding is OGMRIP_ENCODING_QUANTIZER
.
|
An OGMRipEncoding |
|
The quantizer |
void ogmrip_encoding_set_relative (OGMRipEncoding *encoding, gboolean relative);
Sets whether the bitrate is computed relatively to the full length of the title, or to the length of the selected chapters only.
|
An OGMRipEncoding |
|
TRUE for relative
|
void ogmrip_encoding_set_scale (OGMRipEncoding *encoding, OGMRipOptionsType type, guint w, guint h);
Sets the scaling parameters for the encoding.
|
An OGMRipEncoding |
|
An OGMRipOptionsType |
|
The scaled width |
|
The scaled height |
void ogmrip_encoding_set_scaler (OGMRipEncoding *encoding, OGMRipScalerType scaler);
Sets the software scaler for the encoding.
|
An OGMRipEncoding |
|
An OGMRipScalerType |
void ogmrip_encoding_set_target_number (OGMRipEncoding *encoding, guint target_number);
Sets the number of targets of the encoding. This value will be used only if
the method of encoding is OGMRIP_ENCODING_SIZE
.
|
An OGMRipEncoding |
|
The number of targets |
void ogmrip_encoding_set_target_size (OGMRipEncoding *encoding, guint target_size);
Sets the size of each target of an encoding. This value will be used only if
the method of encoding is OGMRIP_ENCODING_SIZE
..
|
An OGMRipEncoding |
|
The size of the targets |
void ogmrip_encoding_set_test (OGMRipEncoding *encoding, gboolean test);
Sets whether to automatically perform a compressibility test.
|
An OGMRipEncoding |
|
TRUE to perform a compressibility test
|
void ogmrip_encoding_set_threads (OGMRipEncoding *encoding, guint threads);
Sets the number of threads to use for the encoding.
|
An OGMRipEncoding |
|
The number of threads |
void ogmrip_encoding_set_trellis (OGMRipEncoding *encoding, gboolean trellis);
Sets whether to enable trellis searched quantization.
|
An OGMRipEncoding |
|
TRUE to enable trellis
|
void ogmrip_encoding_set_turbo (OGMRipEncoding *encoding, gboolean turbo);
Sets whether to speed up first pass of multi-pass encodings.
|
An OGMRipEncoding |
|
TRUE to enable turbo
|
"aspect-denom"
property"aspect-denom" guint : Read / Write
Set the aspect denominator.
Allowed values: <= G_MAXINT
Default value: 0
"aspect-num"
property"aspect-num" guint : Read / Write
Set the aspect numerator.
Allowed values: <= G_MAXINT
Default value: 0
"bitrate"
property"bitrate" guint : Read / Write
Set bitrate.
Allowed values: [4000,24000000]
Default value: 800000
"bpp"
property"bpp" gdouble : Read / Write
Set bits per pixel.
Allowed values: [0,1]
Default value: 0.25
"can-crop"
property"can-crop" gboolean : Read / Write
Whether to crop the input.
Default value: TRUE
"can-scale"
property"can-scale" gboolean : Read / Write
Whether to scale the input.
Default value: TRUE
"cartoon"
property"cartoon" gboolean : Read / Write
Whether to optimize for cartoons.
Default value: FALSE
"chapters-lang"
property"chapters-lang" guint : Read / Write
Set the language of the chapter's label.
Allowed values: <= G_MAXINT
Default value: 0
"copy-dvd"
property"copy-dvd" gboolean : Read / Write
Whether to copy the DVD on the hard drive.
Default value: TRUE
"crop-height"
property"crop-height" guint : Read / Write
Set the crop height.
Allowed values: <= G_MAXINT
Default value: 0
"crop-type"
property"crop-type" guint : Read / Write
Set the crop type.
Allowed values: <= 2
Default value: 1
"crop-width"
property"crop-width" guint : Read / Write
Set the crop width.
Allowed values: <= G_MAXINT
Default value: 0
"crop-x"
property"crop-x" guint : Read / Write
Set the crop horizontal position.
Allowed values: <= G_MAXINT
Default value: 0
"crop-y"
property"crop-y" guint : Read / Write
Set the crop vertical position.
Allowed values: <= G_MAXINT
Default value: 0
"deblock"
property"deblock" gboolean : Read / Write
Whether to deblock the input.
Default value: FALSE
"deinterlacer"
property"deinterlacer" guint : Read / Write
Set the deinterlacer.
Allowed values: <= 8
Default value: 0
"denoise"
property"denoise" gboolean : Read / Write
Whether to denoise the input.
Default value: TRUE
"dering"
property"dering" gboolean : Read / Write
Whether to dering the input.
Default value: FALSE
"end-chapter"
property"end-chapter" gint : Read / Write
Set end chapter.
Allowed values: >= -1
Default value: -1
"ensure-sync"
property"ensure-sync" gboolean : Read / Write
Whether to ensure A/V sync.
Default value: TRUE
"expand"
property"expand" gboolean : Read / Write
Whether to expand to max size.
Default value: TRUE
"keep-tmp-files"
property"keep-tmp-files" gboolean : Read / Write
Whether to keep temporary files.
Default value: FALSE
"max-height"
property"max-height" guint : Read / Write
Set max height.
Allowed values: <= G_MAXINT
Default value: 0
"max-width"
property"max-width" guint : Read / Write
Set max width.
Allowed values: <= G_MAXINT
Default value: 0
"method"
property"method" guint : Read / Write
Set method.
Allowed values: <= 2
Default value: 0
"passes"
property"passes" guint : Read / Write
Set the number of passes.
Allowed values: >= 1
Default value: 1
"preset"
property"preset" guint : Read / Write
Set the preset.
Allowed values: <= 3
Default value: 0
"qpel"
property"qpel" gboolean : Read / Write
Whether to use quarter pel motion compensation.
Default value: FALSE
"quantizer"
property"quantizer" gdouble : Read / Write
Set quantizer.
Allowed values: [-1,31]
Default value: -1
"relative"
property"relative" gboolean : Read / Write
Whether to compute the bitrate relatively to the length of the title.
Default value: FALSE
"scale-height"
property"scale-height" guint : Read / Write
Set the scale height.
Allowed values: <= G_MAXINT
Default value: 0
"scale-type"
property"scale-type" guint : Read / Write
Set the scale type.
Allowed values: <= 2
Default value: 1
"scale-width"
property"scale-width" guint : Read / Write
Set the scale width.
Allowed values: <= G_MAXINT
Default value: 0
"scaler"
property"scaler" guint : Read / Write
Set the software scaler.
Allowed values: <= 10
Default value: 7
"start-chapter"
property"start-chapter" gint : Read / Write
Set start chapter.
Allowed values: >= 0
Default value: 0
"target-number"
property"target-number" guint : Read / Write
Set target number.
Default value: 1
"test"
property"test" gboolean : Read / Write
Whether to perform a compressibility test.
Default value: TRUE
"trellis"
property"trellis" gboolean : Read / Write
Whether to use trellis searched quantization.
Default value: TRUE
"turbo"
property"turbo" gboolean : Read / Write
Whether to use turbo on first pass.
Default value: TRUE
"video-codec-type"
property"video-codec-type" GType* : Read / Write
Set the type of the video codec.
"complete"
signalvoid user_function (OGMRipEncoding *encoding, gint result, gpointer user_data) : Run Last / No Recursion / No Hooks
Emitted each time an encoding completes.
|
An OGMRipEncoding |
|
An OGMJobResultType |
|
user data set when the signal handler was connected. |
"run"
signalvoid user_function (OGMRipEncoding *encoding, gpointer user_data) : Run Last / No Recursion / No Hooks
Emitted each time an encoding starts.
|
An OGMRipEncoding |
|
user data set when the signal handler was connected. |
"task"
signalvoid user_function (OGMRipEncoding *encoding, gpointer task, gpointer user_data) : Run Last / No Recursion / Has Details / No Hooks
Emitted each time a task of encoding
starts, completeѕ, progresses, is
suspended, or is resumed.
|
An OGMRipEncoding |
|
An OGMRipEncodingTask |
|
user data set when the signal handler was connected. |