[FFmpeg-user] New options -preset and -tune for x264 encoding

Rodney Baker rodney.baker at iinet.net.au
Sun Apr 24 15:35:05 CEST 2011


On Sun, 24 Apr 2011 22:40:09 Klaus Kudielka wrote:
> On Sun, Apr 24, 2011 at 09:41:38PM +0930, Rodney Baker wrote:
> > Use -profile high -level 4.0 and it should set the parameters correctly.
> 
> Unfortunately not. Look at the libx264 output below.
> It complains that DPB size > level limit, but does not correct the number
> of reference frames (ref=8).
> 
> Looking at x264/encoder/set.c, this is the behaviour of
> x264_validate_levels, as it is. Specifying -level only validates the
> level, but does not enforce it.

So if ffmpeg is passing the -level parameter to x264, but x264 is not 
enforcing it, then that would seem like an x264 bug/feature, not an ffmpeg 
one. You might like to raise this on the x264-devel list (or log a bug 
report/feature request for x264) or, even better, submit a patch. :-)

-- 
===================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
=================================================== 



More information about the ffmpeg-user mailing list