Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ytdl-format="bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"
- #ytdl-format="bestvideo[ext=mp4][height<=?720]+bestaudio[ext=m4a]"
- profile=opengl-hq
- hls-bitrate=max # use max quality for HLS streams
- ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]
- #profile=gpu-hq
- hwdec=auto-copy
- hwdec-codecs=all
- gpu-api=opengl
- vo=gpu
- opengl-early-flush=auto
- #opengl-pbo=yes
- hr-seek-framedrop=no
- #Don't close the player after finishing the video
- #keep-open=yes
- #The last position of your video is saved when quitting mpv
- #save-position-on-quit=yes
- #Don't show a huge volume box on screen when turning the volume up/down
- osd-bar=no
- osd-level=0
- no-osd-bar # Hide OSD bar when seeking.
- #Cursor hide in ms
- cursor-autohide=100
- #Audio language priority
- alang=ja,jp,jpn,en,eng,ru, rus
- #Subtitle language priority
- slang=en,eng,ru, rus, ja, jp, jpn
- #Load external audio with (almost) the same name as the video
- audio-file-auto=fuzzy
- #Load external subtitles with (almost) the same name as the video
- sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
- sub-file-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories
- embeddedfonts=yes # use embedded fonts for SSA/ASS subs
- sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)
- cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen
- tone-mapping=mobius
- #adaptive sharpening require no on this
- sigmoid-upscaling=no
- #dither
- #Use "auto" or "8"/"10"/"12" depending on your display bitdepth
- #Can lead to ugly outputs when you set the wrong bitdepth number
- dither-depth=auto
- #Selects the dithering algorithm
- #Use "error-diffusion" with high-end GPUs (experimental), else use "fruit"
- dither=fruit
- #deband
- #Debanding on all videos
- #Set it "no" if you rather handle it with profiles
- deband=yes
- #Deband steps (More = Better quality, but higher GPU cost)
- #deband-iterations=4
- #Deband strength (More = Less banding, but more detail loss)
- #deband-threshold=48
- #Deband range (More = Less banding, but higher GPU cost)
- #deband-range=16
- #Dynamic Grain (More = More dynamic grain)
- #Set it to "0" in case you use the static grain shader
- #deband-grain=48
- deband-iterations=2 # Range 1-16. Higher = better quality but more GPU usage. >5 is redundant.
- deband-threshold=35 # Range 0-4096. Deband strength.
- deband-range=20 # Range 1-64. Range of deband. Too high may destroy details.
- deband-grain=5 # Range 0-4096. Inject grain to cover up bad banding, higher value needed for poor sources.
- #resize
- #Luma upscale
- #scale=bicubic
- scale=haasnsoft
- #Luma downscale
- dscale=mitchell
- #Chroma up- & downscale
- cscale=ewa_lanczossoft
- #cscale-window=blackman
- #cscale-radius=3
- #correct-downscaling=yes
- #anti-ringing
- #Luma upscale deringing (Higher = Less rining, but more detail loss)
- scale-antiring=0.7
- #Luma downscale deringing (Higher = Less rining, but more detail loss)
- dscale-antiring=0.7
- #Chroma upscale deringing (Higher = Less rining, but more detail loss)
- cscale-antiring=0.7
- #interpolation
- #Subtitle blending in scenechanges (smoother effect)
- #Important: Doesn't work with HDR content, set it "no" for HDR content!
- #blend-subtitles=yes
- #Set the fps as the max. of your monitor Hz (only useful and needed with "interpolation=yes)
- #video-sync=display-resample
- #Activate interpolation
- #interpolation=yes
- #Interpolation method [look at the table below]
- #tscale=bicubic
- #Autodetect if deinterlace is needed
- deinterlace=no
- #shaders
- fbo-format=rgba16f
- #glsl-shader="/home/nightloli/.config/mpv/shaders/KrigBilateral.glsl"
- glsl-shader="/home/nightloli/.config/mpv/shaders/ravu-lite-r2.hook"
- #SSSR
- glsl-shader="/home/nightloli/.config/mpv/shaders/SSimSuperRes.glsl"
- #Adaptive-sharpen
- #glsl-shader="/home/nightloli/.config/mpv/shaders/adaptive-sharpen.glsl"
- #Luma
- glsl-shader="/home/nightloli/.config/mpv/shaders/noise_static_luma.hook"
- #Chroma
- glsl-shader="/home/nightloli/.config/mpv/shaders/noise_static_chroma.hook"
- #cache
- cache=yes
- cache-secs=5 # how many seconds of audio/video to prefetch if the cache is active
- demuxer-max-bytes=150000000 # Max pre-load for network streams (1 MiB = 1048576 Bytes).
- demuxer-max-back-bytes=75000000 # Max loaded video kept after playback.
- force-seekable=yes
Add Comment
Please, Sign In to add comment