[MPlayer-users] Is there a way to completely disable all output message?

The Wanderer inverseparadox at comcast.net
Tue Sep 18 19:30:55 CEST 2007


Liyu,She wrote:

> I've tried everything I can to disable all output messages, and the
> following command is what I come up so far -
> 
> ================================================================
> mplayer max.ogg -quiet -really-quiet -vc dummy -msglevel
> all=-1:global=-1:cplayer=-1:gplayer=-1:vo=-1:ao=-1:demuxer=-1:ds=-1:demux=-1:header=-1:avsync=-1:autoq=-1:cfgparser=-1:decaudio=-1:decvideo=-1:seek=-1:win32=-1:open=-1:dvd=-1:parsees=-1:lirc=-1:stream=-1:cache=-1:mencoder=-1:xacodec=-1:tv=-1:osdep=-1:spudec=-1:playtree=-1:input=-1:vfilter=-1:osd=-1:network=-1:cpudetect=-1:codeccfg=-1:sws=-1:vobsub=-1:subreader=-1:osd=-menu=-1:afilter=-1:netst=-1:muxer=-1:identify=-1
> ================================================================
> 
> However, it still prints the following output message(stdout).
> ================================================================
> MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
> CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 7)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> ================================================================
> 
> Is there a way to stop this?

You might investigate the MPLAYER_VERBOSE environment variable, as
mentioned in the man page under the -msglevel option.

I'm not entirely sure that that environment variable was supported (at
least to the necessary degree) in the version you are running, but it is
the only way - short of redirecting all output to /dev/null - to prevent
MPlayer from printing anything at all.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-users mailing list