Advertisement
Guest User

mplayer config

a guest
Jun 26th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1.  
  2. [default]
  3. # MPlayer configuration file
  4. #
  5. # The configuration file settings are the same as the command line
  6. # options without the preceding '-'.
  7. #
  8. # Last Modified : Wed 30 May 2012 12:25:55 AM ICT
  9.  
  10. ####################
  11. # General settings #
  12. ####################
  13.  
  14. # Disable xscreensaver when play
  15. # heartbeat-cmd = "nice xscreensaver-command -deactivate >& /dev/null"
  16. # heartbeat-cmd="xscreensaver-command -deactivate >&- 2>&- &"
  17.  
  18. # Print out a string before starting playback.
  19. playing-msg=?(!NAME:TEXT)
  20.  
  21. # Less verbose
  22. really-quiet=1
  23.  
  24. # Fix for buggy audio drivers/codecs.
  25. mc=0.2
  26. autosync=30
  27.  
  28. # Drop video frames as necessary to keep audio sync.
  29. framedrop=yes
  30. # Make sure hard frame drop is off but can turn on easily now
  31. hardframedrop=no
  32.  
  33. # Start in fullscreen by default.
  34. # fs = yes
  35.  
  36. # Double buffering
  37. double="yes"
  38.  
  39. ###########################
  40. # Demuxer/Stream settings #
  41. ###########################
  42.  
  43. # DVD: Display English subtitles if available.
  44. slang=Vietnamese,vie,vi,English,eng,en
  45.  
  46. # DVD: Play English audio tracks if available.
  47. alang=English,eng,en,Vietnamese,vie,vi
  48.  
  49. # Use a 100MB cache; very large but helps with slow media such as NFS over a crowded network
  50. cache=8192
  51.  
  52. # Fill 20% of the cache before starting playback.
  53. cache-min=20
  54.  
  55. # Fill 20% of the cache before starting playback again when seeking.
  56. cache-seek-min=50
  57.  
  58.  
  59. ##########################
  60. # OSD/Subtitles settings #
  61. ##########################
  62.  
  63. # SSA/ASS subtitle rendering
  64. ass=yes
  65.  
  66. # Override some style or script info parameters.
  67. ass-force-style="PlayResX=512,PlayResY=320,Name=Default,Fontname=Arial,Fontsize=20,PrimaryColour=&H0000ffff,BackColour=&H00000000,OutlineColour=&H00000000,Bold=1,Italic=0,Alignment=2,BorderStyle=1,Outline=2,Shadow=3,MarginL=20,MarginR=20,MarginV=8"
  68.  
  69. # Enables extraction of Matroska embedded fonts
  70. embeddedfonts=yes
  71.  
  72. # Fonts
  73. font='DejaVu Sans'
  74.  
  75. # Set the duration of the OSD messages in ms (default: 1000).
  76. osd-duration=1000
  77.  
  78. # Specify the alpha channel value for subtitles and OSD backgrounds
  79. # 0-255 : black - white
  80. sub-bg-alpha=0
  81.  
  82. # Specify the color value for subtitles and OSD backgrounds
  83. # 0-255 : black - white
  84. sub-bg-color=0
  85.  
  86. # Adjust matching fuzziness when searching for subtitles
  87. sub-fuzziness=1
  88.  
  89. # Subfont encoding
  90. utf8=yes
  91. unicode=yes
  92. subcp="utf-8"
  93. ffactor="10"
  94. subfont-blur="2"
  95. subfont-osd-scale=4
  96. subfont-text-scale=3
  97. subfont-encoding=unicode
  98.  
  99.  
  100. ##################
  101. # Audio Settings #
  102. ##################
  103.  
  104. # Force the use of the software mixer, instead of using the sound card mixer.
  105. softvol=yes
  106.  
  107. # Maximum amplification level in percent
  108. softvol-max=100
  109.  
  110. # startup volume
  111. volume=100
  112.  
  113. # Specify default audio driver (see -ao help for a list).
  114. ao=pulse
  115.  
  116.  
  117. ##################
  118. # Video Settings #
  119. ##################
  120.  
  121. # Use this for a widescreen monitor, non-square pixels.
  122. monitoraspect=16:9
  123.  
  124. # Turn off xscreensaver at startup
  125. stop-xscreensaver="yes"
  126.  
  127. # Video Output
  128. vo=xv
  129.  
  130. autoq=100
  131.  
  132. ###############################
  133. # Decoding/Filtering settings #
  134. ###############################
  135.  
  136. # Output audio to S/PDIF
  137. # ao=alsa:device=spdif
  138. # ac=hwac3,hwdts,hwmpa,
  139.  
  140. # libavcodec options
  141. # 3 threads for decoding (Core2Duo)
  142. lavdopts=fast=1:threads=8:skiploopfilter=all
  143.  
  144. # Enable software scaling (powerful CPU needed) for video output
  145. # drivers that do not support hardware scaling.
  146. zoom=yes
  147.  
  148.  
  149.  
  150. #################
  151. # Audio Filters #
  152. #################
  153.  
  154. # Setup chain of audio filters
  155. # Resample the sound to 44100Hz with the lavcresample audio filter.
  156. #af=lavcresample=44100:volnorm
  157.  
  158.  
  159.  
  160. #################
  161. # Video Filters #
  162. #################
  163.  
  164. vf=yadif=0
  165.  
  166. [gnome-mplayer]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement