Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
I hoped it as an option; but this does the work too; –  4r1y4n Mar 1 '13 at 0:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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