[FFmpeg-devel] [PATCH] ffmpeg: Don't offer H.264 compatibility warning for NV12 input

Gyan gyandoshi at gmail.com
Thu Jun 15 15:47:37 EEST 2017

On Thu, Jun 15, 2017 at 4:44 PM, wm4 <nfxjfg at googlemail.com> wrote:

> Forcing the "High" or maybe "Main" profile is enough to ensure
> compatibility.

Result of encoding a PNG sequence, forcing High profile, but without

No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
x264 [error]: high profile doesn't support 4:4:4
[libx264 @ 0000000002b02b40] Error setting profile high.
[libx264 @ 0000000002b02b40] Possible profiles: baseline main high high10
high422 high444
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!

More information about the ffmpeg-devel mailing list