Advertisement
thioshp

Best MPlayer Config

Feb 8th, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. #COPY ALL TEXT BELOW TO ~/.mplayer/config
  2.  
  3. vo="xv,x11,gl," #video out
  4. zoom="0" #Allow sofware scaling if I use x11 for vo
  5. aid="1" #audio channel
  6. sid="1" #subtitle set
  7.  
  8. #Display
  9.  
  10. double="yes" #double buffering(recommended for subtitles)
  11. monitoraspect="1.78:1" #I'm on a widescreen laptop so keeps 4:3 content from stretching
  12. framedrop="1" # For slow machines
  13. hardframedrop="0" #Make sure hard frame drop is off but can turn on easily now
  14.  
  15. #subtitle code
  16. #Truetype fonts rock! (sudo apt-get msttcorefonts)
  17. font="/usr/share/fonts/truetype/msttcorefonts/impact.ttf"
  18.  
  19. # Set font encoding.
  20. subfont-encoding="unicode"
  21.  
  22. # Set subtitle file encoding.
  23. unicode="yes"
  24. utf8="yes"
  25.  
  26. ffactor="10" #black outline
  27. sub-bg-alpha="0" #background color ala closed captions
  28. sub-bg-color="0" #black to white
  29. subfont-text-scale="3.7" #truetype font scaling
  30. subfont-blur="1" #Slight blur
  31.  
  32. #This sets the postprocessing into overdrive using all possible spare cpu cycles to make the movie look better
  33. autoq="100"
  34. vf="eq"
  35.  
  36. vc="ffmpeg12,ffmpeg12vdpau,mpeg12,ffh264,ffh264vdpau,xvid,"
  37.  
  38. ao="pulse,alsa,oss,sdl:aalib,"
  39.  
  40.  
  41. subpos="90" #By default subtitles are too low
  42. subalign="2"
  43.  
  44. #always keep mplayer on top
  45. ontop="1"
  46.  
  47. #turns off xscreen saver...maybe
  48. stop-xscreensaver="yes"
  49.  
  50. #Some extra stuff I am currently not using....
  51. #Fix A/V sync problems on files with bad MP3 VBR audio
  52. #mc="1"
  53. #autosync="10"
  54. #delay="0.5"
  55.  
  56. nolirc="yes"
  57.  
  58. noar="yes"
  59.  
  60. #ass=true
  61.  
  62. embeddedfonts="yes"
  63.  
  64. sub-fuzziness="2"
  65.  
  66. softvol="yes"
  67.  
  68. softvol-max="200"
  69.  
  70. volume="100"
  71.  
  72. volstep="5"
  73.  
  74. alang="English,eng,en"
  75. slang="English,eng,en"
  76.  
  77. [gnome-mplayer]
  78. msglevel=all=5
  79. vo=xv,x11,gl,
  80. ao=pulse,alsa,oss,
  81. alang=English,eng,en
  82. slang=English,eng,en
  83. vf=eq
  84.  
  85. [protocol.dvd]
  86. profile-desc="Profile for dvd:// streams"
  87. alang=English,eng,en
  88. slang=English,eng,en
  89. nocache=yes
  90.  
  91. [protocol.dvdnav]
  92. profile-desc="Profile for dvdnav:// streams"
  93. profile=protocol.dvd
  94. mouse-movements=yes
  95. nocache=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement