[FFmpeg-devel] [PATCH] mpeg4videodec: silence "Invalid and inefficient vfw-avi packed B frames detected" warning

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Sep 8 19:48:15 CEST 2013

On Tue, Sep 03, 2013 at 04:35:35PM -0400, Don Moir wrote:
> >Though for some reason this yet again seems to have degenerated into
> >an IMO fairly pointless back and forth, with no attention
> >or comments that would allow me to understand the issue and where I
> >might have misunderstood the problem on the two suggestions I had
> Yes exactly. All I said was I would compile out the warnings if
> good... just a switch mind you.. just a comment and not to generate
> endless BS
> I expect the name calling to happen next :)

Yes, because you don't give any useful explanation.
It sounds like "me hate warnings, me crush warnings".
Why would you want to _compile_ them out?
I would imagine they add some size to the binary, so it would
be interesting in some resource-constrained cases.
But since it's not something that could be done trivially with a
macro or so I'm not sure it's worth it, but it's interesting to
consider. We do already have the NULL_IF_CONFIG_SMALL macro for
example, but the av_log needs to handle NULL arguments.

> >1) Making the message less technical and more helpful (for the users that
> >care, why should users not caring about messages be relevant there?)
> >2) Possibly adjusting the level, which also makes it easier for users
> >to filter depending on what they care about, though at some level it's
> >always going to be just a matter of opinion.
> Nobody I deal with cares about the warnings, would complain if I
> offered, and they would not even be paying attention to it. They are
> busy doing other things beside sitting on there ass... Normally
> standing and keeping the show running without even looking at the
> computer.. They control with a controller like Numark etc
> If they need to do it so bad they would do it offline with any tool they choose
> You have your opinion, I have mine

WTF does this have to do with opinions? I am asking for what the
actual _problems_ are and offering possible solutions.
If your users don't care about warnings, then just don't show
it to them, that's absolutely trivial to do (as far as I can tell,
it seems to work fine in MPlayer at least), whether ffmpeg command-line
or library or whatever is used. In what way would these users have any
relevance whatsoever to how we word message and at what level we print
You tell me over and over your users don't care about warnings.
I understood that the first time. On the other hand I _still_
have no clue what you are trying to tell me or otherwise accomplish
by repeating that over and over again, while not actually responding
to the questions I do ask.

More information about the ffmpeg-devel mailing list