Top | ![]() |
![]() |
![]() |
![]() |
guint | angle | Read / Write |
guint | bframes | Read / Write |
guint | bitrate | Read / Write |
gdouble | bpp | Read / Write |
gboolean | cartoon | Read / Write |
gboolean | deblock | Read / Write |
gboolean | denoise | Read / Write |
gboolean | dering | Read / Write |
gboolean | grayscale | Read / Write |
guint | passes | Read / Write |
gboolean | qpel | Read / Write |
gdouble | quantizer | Read / Write |
guint | threads | Read / Write |
gboolean | trellis | Read / Write |
gboolean | turbo | Read / Write |
gboolean | v4mv | Read / Write |
GObject ╰── OGMJobSpawn ╰── OGMJobContainer ╰── OGMJobBin ╰── OGMRipCodec ╰── OGMRipVideoCodec
gboolean ogmrip_video_codec_analyze (OGMRipVideoCodec *video
,guint nframes
);
Analyze the video stream to detect if the video is progressive, interlaced and/or telecine.
gboolean ogmrip_video_codec_autocrop (OGMRipVideoCodec *video
,guint nframes
);
Autodetects the cropping parameters.
void
ogmrip_video_codec_autoscale (OGMRipVideoCodec *video
);
Autodetects the scaling parameters.
void ogmrip_video_codec_autobitrate (OGMRipVideoCodec *video
,guint64 nonvideo_size
,guint64 overhead_size
,guint64 total_size
);
Autodetects the video bitrate.
gboolean
ogmrip_video_codec_get_4mv (OGMRipVideoCodec *video
);
Gets whether 4 motion vectors per macroblock are allowed.
void ogmrip_video_codec_set_4mv (OGMRipVideoCodec *video
,gboolean v4mv
);
Sets whether to allow 4 motion vectors per macroblock.
gint
ogmrip_video_codec_get_angle (OGMRipVideoCodec *video
);
Gets the current angle.
void ogmrip_video_codec_set_angle (OGMRipVideoCodec *video
,guint angle
);
Sets the angle to encode.
void ogmrip_video_codec_get_aspect_ratio (OGMRipVideoCodec *video
,guint *num
,guint *denom
);
Gets the aspect ratio of the movie.
void ogmrip_video_codec_set_aspect_ratio (OGMRipVideoCodec *video
,guint num
,guint denom
);
Sets the aspect ratio of the movie.
gint
ogmrip_video_codec_get_bitrate (OGMRipVideoCodec *video
);
Gets the video bitrate in bits/second.
void ogmrip_video_codec_set_bitrate (OGMRipVideoCodec *video
,guint bitrate
);
Sets the video bitrate to be used in bits/second, 4000 being the lowest and 24000000 the highest available bitrates.
gdouble
ogmrip_video_codec_get_bits_per_pixel (OGMRipVideoCodec *video
);
Gets the number of bits per pixel.
void ogmrip_video_codec_set_bits_per_pixel (OGMRipVideoCodec *video
,gdouble bpp
);
Sets the number of bits per pixel to be used.
gboolean
ogmrip_video_codec_get_cartoon (OGMRipVideoCodec *video
);
Gets whether the movie is a cartoon.
void ogmrip_video_codec_set_cartoon (OGMRipVideoCodec *video
,gboolean cartoon
);
Sets whether the movie is a cartoon.
gboolean ogmrip_video_codec_get_crop_size (OGMRipVideoCodec *video
,guint *x
,guint *y
,guint *width
,guint *height
);
Gets whether the video will be cropped and the crop size.
void ogmrip_video_codec_set_crop_size (OGMRipVideoCodec *video
,guint x
,guint y
,guint width
,guint height
);
Sets the crop size of the movie.
gboolean
ogmrip_video_codec_get_deblock (OGMRipVideoCodec *video
);
Gets whether a deblocking filter will be applied.
void ogmrip_video_codec_set_deblock (OGMRipVideoCodec *video
,gboolean deblock
);
Sets whether to apply a deblocking filter.
gint
ogmrip_video_codec_get_deinterlacer (OGMRipVideoCodec *video
);
Gets the currnet deinterlacer.
void ogmrip_video_codec_set_deinterlacer (OGMRipVideoCodec *video
,OGMRipDeintType deint
);
Sets the deinterlacer to be used.
gboolean
ogmrip_video_codec_get_denoise (OGMRipVideoCodec *video
);
Gets whether to reduce image noise.
void ogmrip_video_codec_set_denoise (OGMRipVideoCodec *video
,gboolean denoise
);
Sets whether to reduce image noise.
gboolean
ogmrip_video_codec_get_dering (OGMRipVideoCodec *video
);
Gets whether a deringing filter will be applied.
void ogmrip_video_codec_set_dering (OGMRipVideoCodec *video
,gboolean dering
);
Sets whether to apply a deringing filter.
OGMDvdAudioStream *
ogmrip_video_codec_get_ensure_sync (OGMRipVideoCodec *video
);
Gets the audio stream that will be encoded along with the video to ensure the A/V synchronization.
void ogmrip_video_codec_set_ensure_sync (OGMRipVideoCodec *video
,OGMDvdAudioStream *stream
);
Sets the audio stream that will be encoded along with the video to ensure the A/V synchronization.
gboolean
ogmrip_video_codec_get_grayscale (OGMRipVideoCodec *video
);
Gets whether the movie is grayscale.
void ogmrip_video_codec_set_grayscale (OGMRipVideoCodec *video
,gboolean grayscale
);
Sets whether the movie is grayscale.
OGMDvdSubpStream * ogmrip_video_codec_get_hard_subp (OGMRipVideoCodec *video
,gboolean *forced
);
Gets the subp stream that will be hardcoded in the video.
void ogmrip_video_codec_set_hard_subp (OGMRipVideoCodec *video
,OGMDvdSubpStream *stream
,gboolean forced
);
Sets the subp stream that will be hardcoded in the video.
gint
ogmrip_video_codec_get_max_b_frames (OGMRipVideoCodec *video
);
Gets the maximum number of B-frames to put between I/P-frames.
void ogmrip_video_codec_set_max_b_frames (OGMRipVideoCodec *video
,guint max_b_frames
);
Sets the maximum number of B-frames to put between I/P-frames.
gboolean ogmrip_video_codec_get_max_size (OGMRipVideoCodec *video
,guint *width
,guint *height
,gboolean *expand
);
Gets wether the video has a maximum size and the maximum size.
void ogmrip_video_codec_set_max_size (OGMRipVideoCodec *video
,guint width
,guint height
,gboolean expand
);
Sets the maximum size of the movie.
gboolean ogmrip_video_codec_get_min_size (OGMRipVideoCodec *video
,guint *width
,guint *height
);
Gets wether the video has a minimum size and the minimum size.
void ogmrip_video_codec_set_min_size (OGMRipVideoCodec *video
,guint width
,guint height
);
Sets the minimum size of the movie.
gint
ogmrip_video_codec_get_passes (OGMRipVideoCodec *video
);
Gets the number of passes.
void ogmrip_video_codec_set_passes (OGMRipVideoCodec *video
,guint pass
);
Sets the number of passes.
gboolean
ogmrip_video_codec_get_qpel (OGMRipVideoCodec *video
);
Sets whether quarter pel motion compensation is used.
void ogmrip_video_codec_set_qpel (OGMRipVideoCodec *video
,gboolean qpel
);
Sets whether to use quarter pel motion compensation.
gint
ogmrip_video_codec_get_quality (OGMRipVideoCodec *video
);
Gets the quality of the encoding.
void ogmrip_video_codec_set_quality (OGMRipVideoCodec *video
,OGMRipQualityType quality
);
Sets the quality of the encoding.
gdouble
ogmrip_video_codec_get_quantizer (OGMRipVideoCodec *video
);
Gets the video quantizer.
void ogmrip_video_codec_set_quantizer (OGMRipVideoCodec *video
,gdouble quantizer
);
Sets the video quantizer to be used, 1 being the lowest and 31 the highest available quantizers.
void ogmrip_video_codec_get_raw_size (OGMRipVideoCodec *video
,guint *width
,guint *height
);
Gets the raw size of the video.
gboolean ogmrip_video_codec_get_scale_size (OGMRipVideoCodec *video
,guint *width
,guint *height
);
Gets whether the video will be scaled and the scale size.
void ogmrip_video_codec_set_scale_size (OGMRipVideoCodec *video
,guint width
,guint height
);
Sets the scaled size of the movie.
gint
ogmrip_video_codec_get_scaler (OGMRipVideoCodec *video
);
Gets the current software scaler.
void ogmrip_video_codec_set_scaler (OGMRipVideoCodec *video
,OGMRipScalerType scaler
);
Sets the software scaler to be used.
gint
ogmrip_video_codec_get_threads (OGMRipVideoCodec *video
);
Gets the number of threads.
void ogmrip_video_codec_set_threads (OGMRipVideoCodec *video
,guint threads
);
Sets the number of threads to be used.
gboolean
ogmrip_video_codec_get_trellis (OGMRipVideoCodec *video
);
Gets whether trellis quantization is enabled.
void ogmrip_video_codec_set_trellis (OGMRipVideoCodec *video
,gboolean trellis
);
Sets whether trellis quantization will be enabled.
gboolean
ogmrip_video_codec_get_turbo (OGMRipVideoCodec *video
);
Gets whether turbo is enabled.
void ogmrip_video_codec_set_turbo (OGMRipVideoCodec *video
,gboolean turbo
);
Sets whether to enable turbo.
gint
ogmrip_video_codec_get_start_delay (OGMRipVideoCodec *video
);
Gets the start delay that must be applied to audio streams when merging.
gint
ogmrip_video_codec_is_interlaced (OGMRipVideoCodec *video
);
Gets whether the video stream is interlaced.
struct OGMRipVideoCodecClass { OGMRipCodecClass parent_class; /* signals */ void (* pass) (OGMRipVideoCodec *video, guint pass); /* vtable */ gint (* get_start_delay) (OGMRipVideoCodec *video); void (* set_quality) (OGMRipVideoCodec *video, OGMRipQualityType quality); };
“angle”
property“angle” guint
Set angle.
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“bframes”
property“bframes” guint
Set b-frames.
Flags: Read / Write
Allowed values: <= 4
Default value: 2
“bitrate”
property“bitrate” guint
Set bitrate.
Flags: Read / Write
Allowed values: [4000,24000000]
Default value: 800000
“bpp”
property“bpp” gdouble
Set bits per pixel.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.25
“grayscale”
property“grayscale” gboolean
Set grayscale.
Flags: Read / Write
Default value: FALSE
“passes”
property“passes” guint
Set the number of passes.
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“qpel”
property“qpel” gboolean
Set quarter pel motion compensation.
Flags: Read / Write
Default value: FALSE
“quantizer”
property“quantizer” gdouble
Set quantizer.
Flags: Read / Write
Allowed values: [-1,31]
Default value: -1
“threads”
property“threads” guint
Set the number of threads.
Flags: Read / Write
Default value: 0
“v4mv”
property“v4mv” gboolean
Set 4 motion vectors per macroblock.
Flags: Read / Write
Default value: TRUE