This goes into .mplayer/config:
#============
#General setup
#============
ao=”alsa” #audio out
mixer-channel=”PCM”
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
#==========
# Subtitles
#==========
#========
#VobSubs
#========
# Align subs. (-1: as they want to align themselves)
#spualign=-1
# Anti-alias subs. (4: best and slowest)
spuaa=4
# Set language.
slang=bg,bul,en,eng
#=====================
# Text-based subtitles
#=====================
# Find subtitle files. (1: load all subs containing movie name)
sub-fuzziness=1
#Set font.
font=/usr/share/fonts/corefonts/arial.ttf
subcp=cp1251
subfont-text-scale=”4.5″
#Set encodings.
subfont-encoding=unicode
unicode=yes
utf8=yes
ffactor=”7″ #black outline
sub-bg-alpha=”0″ #background color ala closed captions
sub-bg-color=”0″ #black to white
subfont-blur=”1″ #Slight blur
#====
# OSD
#====
# Set autoscale coefficient. (default: 6)
subfont-osd-scale=4.4
#This sets the postprocessing into overdrive using all possible spare cpu cycles to make the movie look better
autoq=100
#vf=pp=de,hqdn3d
#vf= expand=0:-100
#subpos=”100″ #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 6 Feb 2008. Works AS IS with Mplayer, ver. 1.0rc2-4.2.
0 Responses to “A working mplayer config file”