]> git.sesse.net Git - ffmpeg/commit
ffmpeg: remove misleading and incorrect warning messages
authorwm4 <nfxjfg@googlemail.com>
Thu, 15 Jun 2017 16:52:14 +0000 (18:52 +0200)
committerwm4 <nfxjfg@googlemail.com>
Tue, 20 Jun 2017 08:03:30 +0000 (10:03 +0200)
commitf1df7cc10c62b3d7a8979be36d14b9fb6fc30ff7
treef3ba9ffb6400fffbe64be4a48ddbad149162a761
parentae6f6d4e34b8353a547be48fbf34b95a1c3652e9
ffmpeg: remove misleading and incorrect warning messages

It is wrong/incorrect in two aspects:
1. The pixel format is not enough to guarantee that the resulting file
   will be any more compatible with media players.
2. Media players not supporting higher profiles are not necessarily
   outdated (in fact this is simply an arrogant statement that
   libavcodec can handle these particular features).

You could add that there are plenty of other ways to produce widely
incompatible files with ffmpeg, and these don't show any warnings.

What we really want to do here is defaulting to codec profiles that
have wide compatibility, such as main/high for h264. Also, if an
encoder does not accept certain pixfmts, we should automatically
convert them to a pixfmt the encoder can accept. But the existing
message certainly is not appropriate.

It also works for 2 specific encoders only. Extending it for other
cases would result in a lot of special cases, so this is not the
right place.
ffmpeg.c