Advertisement
Guest User

Untitled

a guest
Jul 31st, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. # inherit from default high quality preset; implies most things that are useful
  2. # such as dither, correct-downscaling, sigmoid-upscaling and therefore
  3. # linear-scaling, deband and related implied settings, we want
  4. profile=opengl-hq
  5.  
  6. # high quality scaling, needs a powerful GPU
  7. # use spline36 (opengl-hq profile default) for less demanding and still good
  8. scale=ewa_lanczossharp
  9. scale-antiring=0.5
  10. cscale=ewa_lanczossoft
  11.  
  12. # display-sync, make sure you have working vsync on your desktop, if you have
  13. # for example a tear-free compositing environment this will work just fine
  14. # keep in mind that this causes rendering at display refresh rate, so if
  15. # you are on a mobile device and need to save battery, you will probably
  16. # want to disable this (also disables interpolation as this is needed for
  17. # it to work)
  18. # also it seems to be pretty expensive as far as CPU goes... so it might
  19. # cause dropped frames and lag - if it does there is nothing you can do
  20. video-sync=display-resample
  21.  
  22. # interpolation needs display-sync as above
  23. # this will blend frames together in A A A+B B B C C C+D D D E ... pattern
  24. # this reduces pulldown judder when playing 24fps files on a 60fps monitor
  25. # by displaying each frame 2.5 times instead of the normal 3:2 pulldown
  26. # pattern where frames display like A A A B B C C C D D E E E F F etc.
  27. # use catmull_rom tscale for blending as it has the best blur/smoothness ratio
  28. interpolation
  29. tscale=catmull_rom
  30.  
  31. # higher precision fbo format for better quality
  32. opengl-fbo-format=rgb32f
  33.  
  34. # blend subs into the video instead of rendering them separately (after scaling
  35. # the video); this is important to get rid of judder with motion tracked signs
  36. blend-subtitles=yes
  37.  
  38. # target primaries/gamma
  39. target-prim=bt.709
  40. target-trc=srgb
  41.  
  42. # default subtitle style for unstyled or overridden subs
  43. # font is normally not present, you have to install it or use some other font
  44. # keep in mind the other params are highly dependent on the font used so they
  45. # might need further adjustments if you change it
  46. sub-font="ITCFranklinGothic LT MedCn"
  47. sub-font-size=42
  48. sub-border-size=2.75
  49. sub-border-color="#C8111111"
  50. sub-shadow-offset=1
  51. sub-shadow-color="#3C101010"
  52. sub-color="#E6FFFFFF"
  53.  
  54. # no yellow subs for vob/pgs, will not affect text/styled subs
  55. sub-gray
  56.  
  57. # audio channels - stereo (2) is default in most recent mpv
  58. # enabling this will request 6 channels for 5.1 audio tracks etc.
  59. # this might be broken with some setups, in my case it's done in order to
  60. # let OSS do the downmixing rather than mpv (OSS does a better job at it,
  61. # handling both cases that require normalization as in below and cases that
  62. # do not correctly), on systems using alsa or something (Linux) you might
  63. # want to actually disable it depending on your setup
  64. audio-channels=auto
  65.  
  66. # when using mpv downmixing (see above), this will make audio in some files
  67. # not clip (but it might make some too quiet)
  68. # because the above is set to auto, this has no effect
  69. #audio-normalize-downmix=yes
  70.  
  71. # audio output, OSS for freebsd (to prevent pulse from taking over)
  72. # on Linux you probably want to comment this out or set to pulse or alsa
  73. #ao=oss
  74.  
  75. # take png screenshots by default
  76. screenshot-format=png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement