mirror of
https://github.com/gaitas13/dotfiles.git
synced 2025-12-06 07:15:37 +01:00
175 lines
No EOL
3.7 KiB
Text
Executable file
175 lines
No EOL
3.7 KiB
Text
Executable file
#VIDEO
|
|
|
|
#Mitchell-Netravali. The B and C parameters can be set with --scale-param1 and
|
|
#--scale-param2. This filter is very good at downscaling (see --dscale).
|
|
scale=mitchell
|
|
|
|
#Mid quality and speed. This is the default when using gpu-hq.
|
|
#scale=spline36
|
|
|
|
#mitchell uses less resources than spline36
|
|
#spline36 looks slightly better
|
|
#mitchell = bicubic b 0.33 c 0.33
|
|
|
|
#--dscale=<filter>
|
|
#Like --scale, but apply these filters on downscaling instead.
|
|
#If this option is unset, the filter implied by --scale will be applied.
|
|
#dscale=spline36
|
|
dscale=mitchell
|
|
|
|
|
|
|
|
# AUDIO
|
|
|
|
|
|
#audio-device=alsa/default
|
|
|
|
#Audio output drivers are interfaces to different audio output facilities.
|
|
ao=pipewire,coreauido,pulse,wasapi,
|
|
|
|
volume=100
|
|
volume-max=200
|
|
|
|
# Do not filter audio to keep pitch when changing playback speed.
|
|
#audio-pitch-correction=no
|
|
|
|
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
|
|
#audio-channels=5.1
|
|
# Output 2.0 audio natively, and upmix/downmix audio with a different format.
|
|
audio-channels=stereo
|
|
# Disable any automatic remix, _if_ the audio output accepts the audio format.
|
|
# of the currently played file. See caveats mentioned in the manpage.
|
|
# (The default is "auto-safe", see manpage.)
|
|
#audio-channels=auto
|
|
#raw bitperfect audio, but you can only hear mpv
|
|
audio-exclusive=no
|
|
|
|
|
|
# OTHER
|
|
|
|
#user-agent="Mozilla/5.0"
|
|
|
|
|
|
# Display English subtitles if available.
|
|
slang=en
|
|
|
|
# Play Finnish audio if available, fall back to English otherwise.
|
|
#alang=fi,en
|
|
|
|
# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
|
|
# If the file seems to be valid UTF-8, prefer UTF-8.
|
|
# (You can add '+' in front of the codepage to force it.)
|
|
#sub-codepage=cp1256
|
|
|
|
# You can also include other configuration files.
|
|
#include=/path/to/the/file/you/want/to/include
|
|
|
|
|
|
|
|
# SCREENSHOTS
|
|
|
|
|
|
screenshot-format=png
|
|
|
|
screenshot-tag-colorspace=no
|
|
|
|
screenshot-high-bit-depth=no
|
|
|
|
screenshot-template="mpv-shot-%tY-%tm-%td_%tH-%tM-%tS"
|
|
|
|
screenshot-directory=~/Pictures/
|
|
|
|
screenshot-png-compression=9
|
|
|
|
screenshot-png-filter=0
|
|
|
|
|
|
|
|
|
|
# HDR TONE MAPPING
|
|
|
|
|
|
hdr-compute-peak=no
|
|
|
|
#tone-mapping=hable
|
|
|
|
#tone-mapping-param=0.6
|
|
|
|
tone-mapping=bt.2390
|
|
|
|
#tone-mapping-param=1.5
|
|
|
|
tone-mapping-mode=hybrid
|
|
|
|
gamut-mapping-mode=darken
|
|
|
|
icc-intent=0
|
|
|
|
#blend-subtitles=yes
|
|
|
|
#tone-mapping=bt.2446a
|
|
|
|
|
|
|
|
# DEBANDING
|
|
|
|
|
|
deband=no
|
|
|
|
|
|
|
|
# HARDWARE DECODING
|
|
|
|
|
|
#vulkan uses more resources,but has better hdr compatibility
|
|
#if you use d3d11va-copy without opengl or vulkan, it may lead to video/audio desync
|
|
#gpu-api=opengl # Uncomment this if you notice stuttering with vulkan, opengl may cause screen tearing depending of your config
|
|
gpu-api=vulkan # Comment this if you notice stuttering and uncomment the above line
|
|
vulkan-async-compute=yes
|
|
vulkan-async-transfer=yes
|
|
vulkan-queue-count=1
|
|
vulkan-device='Intel(R) UHD Graphics 620'
|
|
#opengl-waitvsync=yes
|
|
vd-lavc-dr=yes #i think this solves screen tearing when using gpu-api=opengl
|
|
spirv-compiler=auto
|
|
|
|
#hwdec=auto-safe
|
|
#hwdec=auto-copy
|
|
hwdec=d3d11va-copy #windows only, auto-copy uses dxva2-copy instead of d3d11va-copy, but d3d11va-copy is better and has better color
|
|
|
|
#interpolation-threshold=-1
|
|
#video-sync=display-resample
|
|
video-sync=audio #fix desync on d3d11va-copy when not using opengl or vulkan
|
|
|
|
#gpu has better performance but gpu-next has better hdr
|
|
vo=gpu
|
|
#vo=gpu-next
|
|
|
|
|
|
|
|
|
|
# PROFILES
|
|
|
|
|
|
|
|
#bwdif deinterlacing profile
|
|
|
|
[bwdifdeint]
|
|
profile-desc="Deinterlacing mode: bwdif bob"
|
|
#deinterlacing, bwdif and w3fdif are better quality than yadif
|
|
vf-append=bwdif=deint=1
|
|
#deinterlace=yes
|
|
#vf=bwdif
|
|
#vf-togle=bwdif
|
|
#vo-vaapi-deint-mode=bob
|
|
|
|
[deinterlace-no]
|
|
profile-desc="Deinterlacing mode: disabled"
|
|
vf-remove=bwdif
|
|
deinterlace=no
|
|
vf-clr
|
|
|
|
|
|
#[bwdifdeint-autoprofile]
|
|
#profile-cond=p["video-format/tff"]
|
|
#profile=bwdifdeint |