2

I'm trying to open mplayer to play video without any terminal output using this:

mplayer -msglevel all=-1 /path/to/video

also:

mplayer -really-quiet /path/to/video

but it doesn't make it completely silent! and these are printed to output:

[flv @ 0x9a5d100]Estimating duration from bitrate, this may be inaccurate
[ass] Init
[ass] Updating font cache

How can I make mplayer completely silent?

Thanks

3

Try this: mplayer file > /dev/null 2>&1

  • I hoped it as an option; but this does the work too; – RYN Mar 1 '13 at 0:54
2

Bash 4 : mplayer file &> /dev/null

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.