Skip to content

Instantly share code, notes, and snippets.

@jdek
Created May 31, 2024 06:29
Show Gist options
  • Save jdek/ba912b31f90059c0343c603e367cf70f to your computer and use it in GitHub Desktop.
Save jdek/ba912b31f90059c0343c603e367cf70f to your computer and use it in GitHub Desktop.
#profile=high-quality
vo=gpu-next
gpu-api=vulkan
hwdec=off # enable best HW decoder; turn off for software decoding
volume=65
alang=zho,jpn,ger,eng
slang=ger,eng
screenshot-format=png
###############################################################################
# General
###############################################################################
#### UI
msg-color=yes # color log messages on terminal
term-osd-bar=yes # display a progress bar on the terminal
force-window=immediate
cursor-autohide=200 # autohide the curser after 1s
#### Playback
framedrop=no
deinterlace=no # global reset of deinterlacing to off
#### Colorspace
target-prim=auto
# target-prim=bt.709 # target Rec.709 for SDR TVs
# target-prim=bt.2020 # target Rec.2020 (wide color gamut) for HDR TVs
target-trc=auto
vf=format=colorlevels=full:colormatrix=auto
video-output-levels=full
#### Dither
dither-depth=auto
temporal-dither=yes
dither=fruit
#### Debanding
deband=yes # enabled by default
deband-iterations=4 # deband steps
deband-threshold=35 # deband strength
deband-range=16 # deband range
deband-grain=5 # dynamic grain: set to "0" if using the static grain shader
#### Anti-Ringing
scale-antiring=0.6 # luma upscale deringing using libplacebo
# dscale-antiring=0.7 # luma downscale deringing; currently does nothing with vo=gpu-next
# cscale-antiring=0.7 # chroma upscale deringing; currently does nothing with vo=gpu-next
#### Protocol Specific
[protocol.http]
hls-bitrate=max # use max quality for HLS streams
cache=yes
no-cache-pause # don't pause when the cache runs low
[protocol.https]
profile=protocol.http
[protocol.ytdl]
profile=protocol.http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment