[MEncoder-users] vrc_minrate minimum?
Jan Paul Schmidt
jps at fundament.org
Sun Jun 12 14:41:54 CEST 2005
While encoding with MPEG I stumbled over the warning:
[mpeg2video @ 0x855f020]Warning min_rate > 0 but min_rate != max_rate
isn't recommended!
This comes directly from mpegvideo.c in libavcodec.
The interesting point is, you can't specify vrc_minrate=0 because the
allowed minimum is defined as 4 in libmpcodecs/ve_lavc.c.
ffmpeg itself uses minrate=0 in the targets (-target) svcd and dvd, so
this should do no harm, no?
jps
--- ve_lavc.c.orig 2005-06-12 14:14:50.000000000 +0200
+++ ve_lavc.c 2005-06-12 14:15:17.000000000 +0200
@@ -207,7 +207,7 @@
{"vrc_eq", &lavc_param_rc_eq, CONF_TYPE_STRING, 0, 0, 0, NULL},
{"vrc_override", &lavc_param_rc_override_string,
CONF_TYPE_STRING, 0, 0, 0, NULL},
{"vrc_maxrate", &lavc_param_rc_max_rate, CONF_TYPE_INT,
CONF_RANGE, 4, 24000000, NULL},
- {"vrc_minrate", &lavc_param_rc_min_rate, CONF_TYPE_INT,
CONF_RANGE, 4, 24000000, NULL},
+ {"vrc_minrate", &lavc_param_rc_min_rate, CONF_TYPE_INT,
CONF_RANGE, 0, 24000000, NULL},
{"vrc_buf_size", &lavc_param_rc_buffer_size, CONF_TYPE_INT,
CONF_RANGE, 4, 24000000, NULL},
{"vrc_buf_aggressivity", &lavc_param_rc_buffer_aggressivity,
CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 99.0, NULL},
{"vrc_init_cplx", &lavc_param_rc_initial_cplx, CONF_TYPE_FLOAT,
CONF_RANGE, 0.0, 9999999.0, NULL},
More information about the MEncoder-users
mailing list