[Ffmpeg-devel] ratecontrol advice

Dan Finkelstein df1
Thu Aug 11 21:15:55 CEST 2005


Hi --

Here are the details.  In particular, the frame size is set to 320x240, the 
frames per second is set to 30 and I'm using the h263 encoder.

My other settings are set dynamically but tend to be like this:
         gop_size =  60
         bit_rate = 118000
         time_base.num = 1
         time_base.den = 30
         bit_rate_tolerance = 118000/5
         qmin = 3
         qmax = 10
         mb_lmin = FF_QP2LAMBDA * qmin
         mb_lmax = FF_QP2LAMBDA * qmax

Thanks very much !
Dan

At 10:47 AM 8/11/2005, Dario Andrade wrote:
> > I have tried your suggestion and added these initialization parameters:
> >
> >          c->rc_max_rate = c->bit_rate * 2;
> >          c->rc_buffer_size = c->bit_rate * 2;
> >
> > When I run this, the error "rc buffer underflow" is displayed repeatedly
> > in
> > my debug monitor.  Can you comment on whether the values that I have set
> > these parameters to is reasonable?  Also, is there another parameter that
>
>What is the frame size, fps and codec you're using?
>
>Regards,
>Dario Andrade
>
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel






More information about the ffmpeg-devel mailing list