[FFmpeg-user] ffmpeg latest git -profile:v ignored, always gives baseline

David Favor david at davidfavor.com
Tue May 7 17:58:59 CEST 2013


David Favor wrote:
> Someone let me know how to specify profiles in latest ffmpeg.
> 
> net1# x264 --version
> x264 0.129.2245.2013-05-06
> (libswscale 2.2.100)
> (libavformat 55.4.101)
> built on May  6 2013, gcc: 4.7.3
> configuration: --bit-depth=8 --chroma-format=all
> x264 license: GPL version 2 or later
> libswscale/libavformat license: nonfree and unredistributable
> WARNING: This binary is unredistributable!
> _______
> 
> Setting -profile:v seems to have no effect. All the following produce 
> "profile Constrained Baseline, level 4.2" output profiles.
> 
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -profile:v high -preset:v ultrafast -crf 20 -t 
> 10 -y foo.mov 2>&1 | grep profile
> [libx264 @ 0x7924c0] profile Constrained Baseline, level 4.2
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -profile:v high -preset:v ultrafast -crf 20 -t 
> 10 -y foo.mov 2>&1 | egrep 'ffmpeg|profile'
> ffmpeg version 1.2.0 (2013-05-07-52854-gd3f7b98) Copyright (c) 2000-2013 
> the FFmpeg developers
> [libx264 @ 0x14574c0] profile Constrained Baseline, level 4.2
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -profile:v high444 -preset:v ultrafast -crf 20 
> -t 10 -y foo.mov 2>&1 | egrep 'ffmpeg|profile'
> ffmpeg version 1.2.0 (2013-05-07-52854-gd3f7b98) Copyright (c) 2000-2013 
> the FFmpeg developers
> [libx264 @ 0x1b254c0] profile Constrained Baseline, level 4.2
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -profile:v main -preset:v ultrafast -crf 20 -t 
> 10 -y foo.mov 2>&1 | egrep 'ffmpeg|profile'
> ffmpeg version 1.2.0 (2013-05-07-52854-gd3f7b98) Copyright (c) 2000-2013 
> the FFmpeg developers
> [libx264 @ 0x18864c0] profile Constrained Baseline, level 4.2
> 
> -level works... -profile:v still has no effect.
> 
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -profile:v main -level 3.1 -preset:v ultrafast 
> -crf 20 -t 10 -y foo.mov 2>&1 | egrep 'ffmpeg|profile'
> ffmpeg version 1.2.0 (2013-05-07-52854-gd3f7b98) Copyright (c) 2000-2013 
> the FFmpeg developers
> [libx264 @ 0x1e5c3e0] profile Constrained Baseline, level 3.1
> 
> Passing a profile via -x264opts produces an error...
> 
> net1# ffmpeg -benchmark -threads 0 -i 2013-04-10-erai-beckmann-rap.mts 
> -c:a libfaac -c:v libx264 -preset:v ultrafast -crf 20 -x264opts 
> profile=high -t 10 -y foo.mov 2>&1 | egrep 'ffmpeg|profile'
> ffmpeg version 1.2.0 (2013-05-07-52854-gd3f7b98) Copyright (c) 2000-2013 
> the FFmpeg developers
> [libx264 @ 0xa6e280] bad option 'profile': 'high'
> 

Ah... reversing the order of profile + preset seems to work...

Might be good to catch + report this or auto-reverse them.

-- 
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!


More information about the ffmpeg-user mailing list