stremio-community-v5/utils/mpv/mpv.conf
Zarg e578413d98 Mpv.conf support and seek skipping fixed
- Added mpv.conf support
- Added a example / default mpv.conf
- Added a anime upscaler example profile with required shaders
- Adjusted deploy_windows to include the mpv.conf and shaders
- Set dict size to 128 to make installer even smaller
2025-01-04 03:04:43 +01:00

46 lines
No EOL
1.9 KiB
Text

[stremio-default]
# Default Stremio Profile uncomment below line to customize / overwrite defaullt settings
# profile-cond=width >= 1
profile-desc=Stremio Profile
# Shorten probe size and analyzeduration to reduce initial demux overhead. (Faster playback start)
demuxer-lavf-probesize=524288
demuxer-lavf-analyzeduration=0.5f
# Increase max bytes/packets to allow for 60s cache-secs. Default 150mb/75mb
demuxer-max-bytes=300000000
demuxer-max-packets=150000000
# Buffer / Cache Settings
cache=yes
cache-pause=no
cache-secs=60 # Limited by demuxer-max-bytes
# More threads for decoding
vd-lavc-threads=0
ad-lavc-threads=0
[stremio-anime]
# Example profile following this guide https://kokomins.wordpress.com/2019/10/14/mpv-config-guide/#advanced-video-scaling-config
profile-desc=Anime Profile
# See mpv docs for conditional auto profiles https://mpv.io/manual/stable/#conditional-auto-profiles .To enable uncomment the line below:
# profile-cond=filename ~= "(?i)anime|fansub|horriblesubs|ttga|lulu|ozr|thighs|mtbb|ember|lostyears|breeze|yuisubs|almighty|bigfoot|neohevc|cleo|judas|anime time|golumpa|legion|nokou|usagi|av1ary|yameii|metaljerk|gbr|sam|scy|salieri|anipakku|cbm|db|valenciano|suki desu|hakata ramen|trix|jacobswaggedup|sokudo"
profile=gpu-hq
# Deband filter. Always turn on for anime.
deband=yes # Default values are 1:64:16:48
# Deband parameters configuration.
deband-iterations=2 # Range 1-16.
deband-threshold=35 # Range 0-4096.
deband-range=20 # Range 1-64.
deband-grain=5 # Range 0-4096.
dither-depth=auto
volume=100
volume-max=100
demuxer-mkv-subtitle-preroll=yes
sub-auto=fuzzy
# Source https://gist.github.com/igv/2364ffa6e81540f29cb7ab4c9bc05b6b
glsl-shader="~~/shaders/SSimSuperResMitchell.glsl"
scale=ewa_lanczossharp
# Source https://github.com/awused/dotfiles/blob/master/mpv/.config/mpv/shaders/KrigBilateral.glsl
glsl-shader="~~/shaders/KrigBilateral.glsl" # High quality chroma upscaler.