On Thu, Jun 15, 2017 at 4:59 AM, wm4 <nfx...@googlemail.com> wrote: > > > av_log(NULL, AV_LOG_WARNING, > > "No pixel format specified, %s for H.264 encoding > chosen.\n" > > "Use -pix_fmt yuv420p for compatibility with > outdated media players.\n", > > This warning shouldn't exist in the first place. It's dumb and > incorrect. >
It could (and should) be better worded but it's needed. There's a semi-regular influx of questions at the SE sites where users complain about their ffmpeg output having audio but 'no video' or having a video stream which only plays in certain players. I can only imagine that the presence of the warning cuts down on the frequency of those queries, but also there's likely a countervailing effect by the use of the term 'outdated' which implies that if one has a recent version of a player, this warning can be ignored. When, in fact, browser-based players don't decode anything other than yuv420p , whichever version, and same's the case for many players on WIndows, including atleast WMP on Win7. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel