[Ffmpeg-devel-old] Re: [Ffmpeg-devel] Some tweaks to better respect max bitrate
Michael Niedermayer
michaelni
Sat Dec 24 14:07:07 CET 2005
Hi
On Sat, Dec 24, 2005 at 08:56:01AM +0000, Mean wrote:
> Michael Niedermayer wrote:
> >ok, i tried this patch, it lowers PSNR by 0.06 increases filesize and
> >doesnt
> >get rid of a single buffer underflow (12 before 12 after this patch)
> >
> >rejected
> >
> >command line used
> >ffmpeg -i ~/videos/xXx_DivX.avi -cmp 2 -subcmp 2 -mbd 2 -an -pass 2 -b 300
> >-maxrate 400 -bufsize 60 -psnr test2.avi
> >
> >
>
> Hello,
> on typical SVCD type video it helped a bit, but without the "look in
> the future" part it is not enough
> to get rid of the underflows, because in case a large intra comes in, it
> is too late to compensate.
>
> The "look ahead" part is used in a slightly modified xvid ratecontrol
> engine which glued to libavcodec
> mpeg2 encoder works mostly (not 100 % perfect but much much better).
if you ported the xvid rc code to lavc, why not send a patch (with the code
under CONFIG_GPL)?
[...]
--
Michael
More information about the ffmpeg-devel
mailing list