Difference between revisions of "Mplayer.conf"

From 0xWIKI
Jump to: navigation, search
 
Line 1: Line 1:
 
<pre>
 
<pre>
# To install the latest SVN snapshot of mplayer so as to support multithreading, run the following command:
+
# To install the latest SVN snapshot of mplayer so as to support multithreading, install the mplayer-9999 ebuild
# git clone git://repo.or.cz/mplayer && cd mplayer && git checkout origin/mt && git submodule init && git submodule update && ./configure && make && make install
+
# you will have to unmask it in package.unmask and add it to package.keywords it as the ebuild is hard masked
  
 
# After the SVN mplayer build is done, as your standard user, run this command:
 
# After the SVN mplayer build is done, as your standard user, run this command:
Line 22: Line 22:
 
[protocol.dvd]
 
[protocol.dvd]
 
lavdopts = threads=1:skiploopfilter=default
 
lavdopts = threads=1:skiploopfilter=default
 +
mouse-movements=yes
 +
nocache=yes
  
 
[protocol.dvdnav]
 
[protocol.dvdnav]
Line 32: Line 34:
  
 
[extension.mkv]
 
[extension.mkv]
lavdopts = fast=1:threads=3:skiploopfilter=nonref
+
lavdopts = fast=1:threads=2:skiploopfilter=nonref
 +
cache = 102400
 +
#cache-min = 20
 +
#cache-seek-min = 20
 +
af = volnorm=2:0.25
 +
softvol = 1
 +
softvol-max = 1000
 +
volstep = 3
 +
 
 +
[extension.m2ts]
 +
lavdopts = fast=1:threads=2:skiploopfilter=nonref
 
cache = 102400
 
cache = 102400
 
#cache-min = 20
 
#cache-min = 20
Line 42: Line 54:
  
 
[extension.avi]
 
[extension.avi]
lavdopts = threads=1:skiploopfilter=default
 
 
cache = 10240
 
cache = 10240
 
cache-min = 20
 
cache-min = 20
Line 49: Line 60:
  
 
[extension.mpg]
 
[extension.mpg]
lavdopts = threads=1:skiploopfilter=default
 
 
cache = 10240
 
cache = 10240
 
cache-min = 20
 
cache-min = 20
Line 56: Line 66:
  
 
[extension.mpeg]
 
[extension.mpeg]
lavdopts = threads=1:skiploopfilter=default
 
 
cache = 10240
 
cache = 10240
 
cache-min = 20
 
cache-min = 20
Line 67: Line 76:
  
 
[extension.mov]
 
[extension.mov]
lavdopts = threads=1:skiploopfilter=default
 
 
cache = 10240
 
cache = 10240
 
cache-min = 20
 
cache-min = 20
Line 74: Line 82:
  
 
[extension.mp4]
 
[extension.mp4]
lavdopts = threads=1:skiploopfilter=default
 
 
cache = 10240
 
cache = 10240
 
cache-min = 20
 
cache-min = 20

Latest revision as of 21:04, 23 May 2009

# To install the latest SVN snapshot of mplayer so as to support multithreading, install the mplayer-9999 ebuild
# you will have to unmask it in package.unmask and add it to package.keywords it as the ebuild is hard masked

# After the SVN mplayer build is done, as your standard user, run this command:
# rm ~/.mplayer/config && ln -s /etc/mplayer/mplayer.conf ~/.mplayer/config



# Global Options That apply to everything played
vo = xv
monitoraspect = 16:10
zoom = no
autosync = 15
framedrop = yes
cache = 1024
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3

# Individual settings for specific types of media played
[protocol.dvd]
lavdopts = threads=1:skiploopfilter=default
mouse-movements=yes
nocache=yes

[protocol.dvdnav]
protocol=protocol.dvd
mouse-movements=yes
nocache=yes

[extension.iso]
profile=protocol.dvd

[extension.mkv]
lavdopts = fast=1:threads=2:skiploopfilter=nonref
cache = 102400
#cache-min = 20
#cache-seek-min = 20
af = volnorm=2:0.25
softvol = 1
softvol-max = 1000
volstep = 3

[extension.m2ts]
lavdopts = fast=1:threads=2:skiploopfilter=nonref
cache = 102400
#cache-min = 20
#cache-seek-min = 20
af = volnorm=2:0.25
softvol = 1
softvol-max = 1000
volstep = 3

[extension.avi]
cache = 10240
cache-min = 20
cache-seek-min = 20
af = volnorm=1

[extension.mpg]
cache = 10240
cache-min = 20
cache-seek-min = 20
af = volnorm=1

[extension.mpeg]
cache = 10240
cache-min = 20
cache-seek-min = 20
af = volnorm=1

[extension.wmv]
cache = 1024
af = volnorm=1

[extension.mov]
cache = 10240
cache-min = 20
cache-seek-min = 20
af = volnorm=1

[extension.mp4]
cache = 10240
cache-min = 20
cache-seek-min = 20
af = volnorm=1
Personal tools