diff options
Diffstat (limited to 'src/libffmpeg')
-rw-r--r-- | src/libffmpeg/video_decoder.c | 12 | ||||
-rw-r--r-- | src/libffmpeg/xine_encoder.c | 22 |
2 files changed, 24 insertions, 10 deletions
diff --git a/src/libffmpeg/video_decoder.c b/src/libffmpeg/video_decoder.c index 13606126e..88cee7ffa 100644 --- a/src/libffmpeg/video_decoder.c +++ b/src/libffmpeg/video_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_decoder.c,v 1.14 2004/04/19 21:18:01 jstembridge Exp $ + * $Id: video_decoder.c,v 1.15 2004/04/26 17:50:07 mroi Exp $ * * xine video decoder plugin using ffmpeg * @@ -1209,8 +1209,14 @@ void *init_video_plugin (xine_t *xine, void *data) { config = xine->config; this->pp_quality = xine->config->register_range(config, "codec.ffmpeg_pp_quality", 3, - 0, PP_QUALITY_MAX, _("ffmpeg mpeg-4 postprocessing quality"), NULL, - 10, pp_quality_cb, this); + 0, PP_QUALITY_MAX, + _("MPEG-4 postprocessing quality"), + _("You can adjust the amount of post processing applied to MPEG-4 video.\n" + "Higher values result in better quality, but need more CPU. Lower values may " + "result in image defects like block artifacts. For high quality content, " + "too heavy post processing can actually make the image worse by blurring it " + "too much."), + 10, pp_quality_cb, this); return this; } diff --git a/src/libffmpeg/xine_encoder.c b/src/libffmpeg/xine_encoder.c index b883bce85..da5e134e6 100644 --- a/src/libffmpeg/xine_encoder.c +++ b/src/libffmpeg/xine_encoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_encoder.c,v 1.12 2004/04/15 15:49:56 mroi Exp $ + * $Id: xine_encoder.c,v 1.13 2004/04/26 17:50:07 mroi Exp $ */ /* mpeg encoders for the dxr3 video out plugin. */ @@ -151,23 +151,31 @@ static int lavc_on_update_format(dxr3_driver_t *drv, dxr3_frame_t *frame) /* put sample parameters */ this->context->bit_rate = drv->class->xine->config->register_range(drv->class->xine->config, "dxr3.lavc_bitrate", 10000, 1000, 20000, - _("Dxr3enc: libavcodec mpeg output bitrate (kbit/s)"), - _("The bitrate the libavcodec mpeg encoder should use for dxr3's encoding mode"), 10, - NULL, NULL); + _("libavcodec mpeg output bitrate (kbit/s)"), + _("The bitrate the libavcodec mpeg encoder should use for DXR3's encoding mode. + "Higher values will increase quality and CPU usage.\n" + "This setting is only considered, when constant quality mode is disabled."), 10, NULL, NULL); this->context->bit_rate *= 1000; /* config in kbit/s, libavcodec wants bit/s */ use_quantizer = drv->class->xine->config->register_bool(drv->class->xine->config, "dxr3.lavc_quantizer", 1, - _("Dxr3enc: Use quantizer instead of bitrate"),NULL, 0, NULL, NULL); + _("constant quality mode"), + _("When enabled, libavcodec will use a constant quality mode by danymically " + "compressing the images based on their complexity. When disabled, libavcodec " + "will use constant bitrate mode."), 10, NULL, NULL); if (use_quantizer) { this->context->qmin = drv->class->xine->config->register_range(drv->class->xine->config, "dxr3.lavc_qmin", 1, 1, 10, - _("Dxr3enc: Minimum quantizer"),NULL , 10, NULL, NULL); + _("minimum compression"), + _("The minimum compression to apply to an image in constant quality mode."), + 10, NULL, NULL); this->context->qmax = drv->class->xine->config->register_range(drv->class->xine->config, "dxr3.lavc_qmax", 2, 1, 20, - _("Dxr3enc: Maximum quantizer"),NULL, 10, NULL, NULL); + _("maximum quantizer"), + _("The maximum compression to apply to an image in constant quality mode."), + 10, NULL, NULL); } #if LOG_ENC |