mpv.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. volume-max=600
  2. #msg-level="demux=no:ad=no:ffmpeg=no:ao=no"
  3. #user-agent="Googlebot (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
  4. #user-agent="Windows-Media-Player/11.0.5721.5145"
  5. #user-agent="Mozilla/5.0 (Android; Mobile; rv:39.0) Gecko/39.0 Firefox/39.0"
  6. #user-agent="mplayer"
  7. user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'
  8. # Save the video position on quit
  9. save-position-on-quit=yes
  10. # Use the vdpau driver for hardware decoding (for nvidia cards)
  11. #hwdec=vdpau
  12. #hwdec=auto
  13. # Video output driver. A list can be displayed via: mpv -vo=help
  14. #vo=vdpau
  15. vo=vaapi,opengl
  16. # Display Brazilian Portuguese subtitles if available.
  17. slang = pt_BR
  18. # Play Brazilian Portuguese audio if available.
  19. alang = pt_BR
  20. # Desligar proteção de tela
  21. stop-screensaver = "yes"
  22. # multithreaded decoding of H264/MPEG-1/2 (valid: 0-16)
  23. #vd-lavc-threads = 2
  24. #Scripts
  25. load-scripts=yes
  26. #Sound
  27. #audio-channels=5.1
  28. #af=channels=4:[0-1,1-0,0-2,1-3]
  29. af=channels=6:[1-1,0-1,0-0,0-0,1-1,1-3]
  30. #af=equalizer=4.3:3.3:0.0:-4.4:-2.9:1.0:4.8:6.7:7.2:7.2
  31. #af=equalizer=6.2:6.2:3.3:3.3:0.0:-2.9:-2.9:-2.9:0.0:0.0
  32. #af=equalizer=-2.9:0.0:2.4:3.3:3.3:3.3:2.4:1.4:1.4:1.4 #live
  33. #af=equalizer=9:7:2:1:0:0:0:3:7:9
  34. ad=spdif:ac3,spdif:dts,
  35. #af=scaletempo,lavcac3enc=yes:640:3
  36. af=format=spdif-truehd
  37. #af=format=double
  38. #af=volume=10.1
  39. af=pan=3:[1,0,0.5,0,1,0.5]
  40. af=format=channels=5.1
  41. #af=delay=[10.5,10.5,0,0,7,0]
  42. ##Cache
  43. cache=yes
  44. cache-initial=0 # start playback when your cache is filled up with x kB
  45. cache-file=/home/pekman/.config/mpv/cache
  46. cache-file-size=9000000
  47. cache-default=5000000 # size in KB
  48. cache-backbuffer=25000 # size in KB
  49. cache-secs=50 # how many seconds of audio/video to prefetch if the cache is active
  50. [live]
  51. profile-desc="Prevent A/V desync during live streams"
  52. mc=0
  53. autosync=4
  54. hls-bitrate=max # use max quality for HLS streams
  55. ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]