[FFmpeg-user] ffmpeg-55ed91c and x264-d9d2288. Profile setting differs from output.

James Darnley james.darnley at gmail.com
Sat Jul 21 16:44:37 CEST 2012


On 2012-07-20 21:32, Joseph Rosensweig wrote:
> Hey all,
> 
>    I assume I'm missing something really simple here.  But I'm not quite
> sure what I'm doing wrong.  I checked out the ffmpeg and x264 git versions
> indicated in my subject header.  I wanted to test out encoding H264 with
> high, high10, high422, and high444 using libx264.  However when I try to
> encode with anything above high, the output always just shows high rather
> than say high 4:2:2.  Here are a few examples:
> 
> Input #0, rawvideo, from 'pipe:0':
>   Duration: N/A, start: 0.000000, bitrate: N/A
>     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 30 tbr, 30 tbn, 30 tbc
> 
> Any help here :-)?

Why would anything higher than High Profile be used for 8-bit 4:2:0
video?  If you want to use High422 Profile then give x264 4:2:2 video
(-pix_fmt yuv422p).  If you want to use High10 Profile then compile a
10-bit build of x264 and link ffmpeg to that.

Setting the profile option for x264 does not force it to turn on all
particular encoding features available in a profile.  In fact it does
just the opposite: it disables all features that are not allowed or
returns an error in cases where it cannot.


More information about the ffmpeg-user mailing list