The ultimate mplayer config file!!!!!
Mplayer is da bomb. But with a good config file it's much better. Take a look at mine and try it! Keep in mind, if you don't use mplayer from the terminal you don't know what you're emissing. That and this config is for the terminal version.
To play a movie from the terminal just
$ mplayer filename
Go to a terminal
(next step is only needed if you have never run mplayer before)
$ mkdir .mplayer
$ cd .mplayer
$gedit config
Paste in my code and save
Anyone have their own?
~/.mplayer/config
Code:
#General setup
ao="alsa" #audio out
mixer-channel="Master"
srate=48000
really-quiet="1" #Very very little console output
vo="xv" #video out
zoom="1" #Allow sofware scaling if I use x11 for vo
aid="1" #audio channel
sid="0" #subtitle set
#Display
double="yes" #double buffering(recommended for subtitles)
monitoraspect="16:9" #I'm on a widescreen laptop so keeps 4:3 content from stretching
framedrop="1" # For slow machines
hardframedrop="0" #Make sure hard frame drop is off but can turn on easily now
#subtitle code
#Truetype fonts rock! (sudo apt-get msttcorefonts)
font=/usr/share/fonts/truetype/msttcorefonts/impact.ttf
ffactor="10" #black outline
sub-bg-alpha="0" #background color ala closed captions
sub-bg-color="0" #black to white
subfont-text-scale="3.7" #truetype font scaling
subfont-blur="1" #Slight blur
#This sets the postprocessing into overdrive using all possible spare cpu cycles to make the movie look better
autoq=100
vf=pp=de,hqdn3d
subpos="90" #By default subtitles are too low
subalign="2"
#always keep mplayer on top
ontop="1"
#turns off xscreen saver...maybe
stop-xscreensaver="yes"
#Some extra stuff I am currently not using....
#Fix A/V sync problems on files with bad MP3 VBR audio
#mc="1"
#autosync="10"
#delay="0.5"
#Updated 11/14/2005
In my opinion, if you watch a lot of dubbed/subtitled movies, nothing beats mplayer
Last edited by pizzach; November 14th, 2005 at 02:36 PM.
Reason: Updated config file
"So switching to if-then-else blocks might be good Computer Science theory, but using goto's is good Engineering. Since the Linux kernel is one designed to be used, rather than to demonstrate theory, sound engineering principles take priority."
Bookmarks