Advertisement
thioshp

My MPV Config File

Mar 2nd, 2016
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. # default configuration that applies to every file
  2. [default]
  3.  
  4. ##################################################
  5. # Video
  6. # try to use high quality opengl output, with standard opengl, classic xv, and wayland as fallbacks
  7. # note: opengl has numerous quality/performance trade-off options.
  8. # as per the mpv(1), "opengl-hq" is just an alias for "opengl:lscale=lanczos2:dither-depth=auto:fbo-format=rgb16"
  9. vo=opengl-hq,opengl,gl,xv,x11,wayland,
  10.  
  11. # set the window title using the media filename (see Property Expansion section of mpv(1))
  12. title="${filename}"
  13.  
  14. # add black borders so the movies have the same aspect ratio of the monitor
  15. # for wide screen monitors
  16. vf=expand=::::16:9/9:16
  17. vf=eq
  18.  
  19. # for non wide screen traditional monitors, alternative to the above item
  20. #vf=expand=::::1:4/3:16
  21.  
  22. # disable screensaver
  23. stop-screensaver="yes"
  24.  
  25. # execute a command every 30 seconds
  26. # useful to disable a non-standard-compliant screensavers and to work around buggy behaviours
  27. # BE WARNED: to avoid dangerous commands is your responsibility
  28. #heartbeat-cmd="xscreensaver-command -deactivate &" # stop xscreensaver
  29.  
  30. # custom heartbeat frequency in seconds
  31. #heartbeat-interval=600
  32.  
  33. # correct pitch when speed is faster or slower than 1.0
  34. af=scaletempo
  35.  
  36. # allow to seek in a file which is still downloading whilst watching it
  37. # from manpage:"this switch has no effect in the typical case" (usually done automatically by demuxers)
  38. #idx=yes
  39.  
  40. # skip displaying some frames to maintain A/V sync on slow systems
  41. framedrop=yes
  42. # more intense frame dropping (breaks decoding)
  43. #framedrop=hard
  44.  
  45. # default value of 320kB is quite low, especially on slow media
  46. cache=4000
  47.  
  48. # save screenshots
  49. screenshot-jpeg-quality=80
  50. screenshot-template=~/Pictures/mpv-screenshots/mpv-screenshot%n
  51.  
  52. ################################################################################
  53. # Subtitles setup
  54.  
  55. # scale the subtitles to the 3% of the screen size
  56. sub-scale=1.40
  57.  
  58. # disable retarded VSFilter compatibility
  59. ass-force-style=Kerning=yes
  60.  
  61. sub-text-font="Ubuntu"
  62.  
  63. sub-text-font-size=48
  64.  
  65. sub-text-color="#edd400"
  66. #yellow = #edd400
  67. #orange = #f57900
  68.  
  69. ################################################################################
  70. # On Screen Display
  71.  
  72. #osc=no # I don't like mouse stuff
  73. osd-font="HelveticaNeue-Light"
  74.  
  75. # make the OSD progress bar be big and centered like in mplayer and mplayer2
  76. osd-bar-align-y=0
  77.  
  78. osd-bar-h=7
  79.  
  80. osd-border-size=1
  81.  
  82. osd-color='#CCFFFFFF'
  83.  
  84. osd-border-color='#99000000'
  85.  
  86. # custom terminal seek bar
  87. term-osd-bar-chars = "โ”€โ”€โ•ผ ยท"
  88.  
  89. osd-level=3
  90. ################################################################################
  91. # Audio
  92. # use alsa for audio output, choose pulse, or oss4 as fallback
  93. ao=alsa,pulse,oss,pcm,
  94.  
  95. # prefer using 5.1 channels audio (defaults to 2 - see mpv --channels=help)
  96. # mixing is handled by libavcodec unless using "--af-add=pan" (see below)
  97. channels=5.1
  98.  
  99. # set volume to 100 and use the sound server to actually control the volume
  100. volume=100
  101.  
  102. # epic immersion for the poor
  103. # af-add=bs2b
  104.  
  105. # gapless audio play
  106. gapless-audio
  107.  
  108. # allow to increase the maximal volume to 600%
  109. softvol-max=600
  110.  
  111. ################################################################################
  112. # Languages
  113. slang=eng,en,
  114.  
  115. alang=eng,en
  116.  
  117. ################################################################################
  118. # Profiles
  119. [pseudo-gui]
  120. terminal=no
  121. force-window=yes
  122. idle=yes
  123. screenshot-directory=~/Pictures/mpv-screenshots/
  124.  
  125. # profile for up-mixing two channels audio to six channels
  126. # use --profile 2chto6ch to activate
  127. [2chto6ch]
  128. af-add=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2
  129.  
  130. # profile to down-mixing six channels audio to two channels
  131. # use --profile 6chto2ch to activate
  132. [6chto2ch]
  133. af-add=pan=2:0.7:0:0:0.7:0.5:0:0:0.5:0.6:0.6:0:0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement