[Ffmpeg-devel] Bug in libavcodec/x264.c?
Luca Abeni
lucabe72
Thu Feb 2 12:23:47 CET 2006
Hi all,
in libavcodec/x264.c I see
x4->params.rc.i_qp_min = avctx->qmin;
x4->params.rc.i_qp_max = avctx->qmax;
x4->params.rc.i_qp_step = avctx->max_qdiff;
But... qmin & qmax defaults are 2 & 31, whereas i_qp_min & i_qp_max
defaults are 10 & 51... So, I suppose i_qp_min/i_qp_max use a different
scale respect to qmin/qmax?
The result of this is that using default parameters h264 rate control
does not work very well in ffmpeg (if I encode mpeg4 video, it always
matches the target bitrate, but if I try encoding h264 I often get a lot
of VBV underflows and the final bitrate is wrong).
So, how can I correctly convert qmin/qmax values in i_qp_min/i_qp_max
values?
Thanks,
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
DA NON PERDERE: Prova gratis per 15 giorni DVDNet Rent e ricevi a casa tua i migliori film!
*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4633&d=2-2
More information about the ffmpeg-devel
mailing list