[FFmpeg-user] X264 chroma error

Lou lou at lrcd.com
Wed Apr 10 22:13:23 CEST 2013


On Wed, 10 Apr 2013 17:03:41 +0800
mali(马丽).repeat <ml at founder.com> wrote:

> Dears,
> 
>          Here is my string and dubug information:
> 
> ----------------------------
> 
> >ffmpeg.exe -threads 16 -y -i test_lt_hh.ts -s 176x144 -r 12 -vcodec libx264 -b:v 112k -bt 112k -flags +loop -me_method umh -minrate 80k -maxrate 150k -flags +loop
> 
>  -cmp +chroma -qcomp 0.4 -b_strategy 1 -refs 4 -qblur 0.01 -qdiff 0.1  -me_range 16 -g 4 -keyint_min 1 -sc_threshold 40 -i_qfactor 0.71
> 
>  -rc_eq "blurCplx^(1-qComp)" -pix_fmt yuv420p -qmin 2 -qmax 51 -coder 1 -bufsize 300k -level 40 -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -subq 5
> 
>  -vprofile baseline -fmp4 -acodec libfaac -ab 16k -ar 22050 -ac 1 test.mp4
> 
> ------------------------------------

It is not recommended to set each x264 option. Use the x264 encoding
presets instead. They were created by the x264 developers so users will
not have to declare a large number of confusing and outdated options.
They make your commands much shorter, saner, and are kept up-to-date
with any changes, additions, etc.

Your command will then be shortened to:
ffmpeg.exe -y -i test_lt_hh.ts -vcodec libx264 -preset medium \
-profile:v baseline -level 40 -b:v 112k -minrate 80k -maxrate 150k \
-acodec libfaac -b:a 16k -ar 22050 -ac 1 test.mp4

"-bt" is ignored by x264.

You can see a list of current presets with "-preset help", and what
settings they apply with "x264 --fullhelp".

See:
http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide


More information about the ffmpeg-user mailing list