Difference between revisions of "Mplayer"

Marked this version for translation
m (added languages and translate tags)
(Marked this version for translation)
 
Line 2: Line 2:
__TOC__
__TOC__
<translate>
<translate>
== Overview ==
== Overview == <!--T:1-->


<!--T:2-->
'''mplayer''' is a media file player which can decode nearly every media file out there. It can also use countless output drivers (like vpdau or pulseaudio)
'''mplayer''' is a media file player which can decode nearly every media file out there. It can also use countless output drivers (like vpdau or pulseaudio)
Most of the time mplayer is in the background when you use frontends like gnome-mplayer, smplayer or gmusicbrowser.
Most of the time mplayer is in the background when you use frontends like gnome-mplayer, smplayer or gmusicbrowser.
Line 9: Line 10:




<!--T:3-->
{{note|mplayer has been mostly replaced in common use by '''mpv'''}}
{{note|mplayer has been mostly replaced in common use by '''mpv'''}}




= General options =
= General options = <!--T:4-->
Default options which i found useful
Default options which i found useful
   [default]
   [default]
Line 38: Line 40:




= Per file/protocol option =
= Per file/protocol option = <!--T:5-->
Another great feature of mplayer is that it can use different settings according to your media file (extension or protocol) Settings in this sections overrides the default config.
Another great feature of mplayer is that it can use different settings according to your media file (extension or protocol) Settings in this sections overrides the default config.


<!--T:6-->
Here's an example for mp3 files
Here's an example for mp3 files
   [extension.mp3]
   [extension.mp3]
Line 49: Line 52:
   lavdopts=threads=4
   lavdopts=threads=4


<!--T:7-->
The notable thing is the audio filter line (af=), This line  
The notable thing is the audio filter line (af=), This line  
   af=surround=15,center=4,channels=6,sub=60:5
   af=surround=15,center=4,channels=6,sub=60:5
decodes matrix encoded surround sound like Dolby Surround. You need a 5.1 speaker set for that to work.
decodes matrix encoded surround sound like Dolby Surround. You need a 5.1 speaker set for that to work.


<!--T:8-->
Here's the section for mkv files. Using the above line here would mess up the already 5.1 encoded sound.
Here's the section for mkv files. Using the above line here would mess up the already 5.1 encoded sound.
   [extension.mkv]
   [extension.mkv]
Line 58: Line 63:
   cache=81920
   cache=81920


<!--T:9-->
The following is a protocol section for DVD decoding. (Not sure what it acutally does since i don't have any DVDs :P)
The following is a protocol section for DVD decoding. (Not sure what it acutally does since i don't have any DVDs :P)
   [protocol.dvd]
   [protocol.dvd]