[MPlayer-dev-eng] [PATCH] silence the overly verbose mov demuxer

Roberto Togni r_togni at tiscali.it
Mon Mar 6 23:31:14 CET 2006


On Mon, 6 Mar 2006 22:03:14 +0100
Diego Biurrun <diego at biurrun.de> wrote:

> On Mon, Mar 06, 2006 at 09:59:09PM +0100, Roberto Togni wrote:
> > On Mon, 6 Mar 2006 20:39:40 +0100
> > Diego Biurrun <diego at biurrun.de> wrote:
> > 
> > [...]
> > > "When a program has nothing surprising to say, it should say nothing."
> > > 
> > MPlayer have many important things to say, and it says them in a
> > non-invasive way on the console, not on its main output. If the messages
> > were outputted with OSD, or mixed over the soundtrack with a
> > text-to-speech program you would be right to complain :)
> 
> MPlayer does not always have a video output, think of audio-only files
> or image vo drivers..  Then again, I think you were just pulling my leg
> :)

Even with audio-only files, the main output is the sound device, not
the terminal.
Probably the only case where the terminal is the main output is mplayer
-identify, but that output is intended for automated parsing, not for
human readers.

[..]
> > 
> > MPlayer != MEncoder, they have different purposes and different usage
> > methods.
> 
> But since so much of the code is common, so are the problems.  Efforts
> to silence the output of one will always have to take into account the
> other...

I don't think it would be too hard to have two different default
verbose levels for mplayer and mencoder.

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list