hydrus/static/mpv-conf/high_gpu_quality_test_mpv.conf

40 lines
1.2 KiB
Plaintext

# these seem to be very important if hydrus has a large file collection, particularly over SMB,
# since they can cause mpv to scan the media file's directory for subtitles and so on
autoload-files=no
access-references=no
rescan-external-files=keep-selection
# some audio normalisation experiments
# https://ffmpeg.org/ffmpeg-filters.html
# af=lavfi=[dynaudnorm=g=5:f=250:r=0.9:p=0.9]
# af=lavfi=[dynaudnorm=p=0.9]
# dynamic
# af=lavfi=[loudnorm=i=-30.0:lra=10.0:tp=-2.0]
# 2-pass, needs pre-processing:
# https://bytesandbones.wordpress.com/2017/03/16/audio-nomalization-with-ffmpeg-using-loudnorm-ebur128-filter/
# ./ffmpeg -i /path/to/input.wav -af loudnorm=I=-30:TP=-2.0:LRA=10.0:print_format=summary -f null -
# af=lavfi=[loudnorm=i=-30.0:lra=10.0:tp=-2.0:measured_I=-27.2:measured_TP=-14.4:measured_LRA=0.1:measured_thresh=-37.7:offset=-0.7:linear=true]
# mostly from here: https://wiki.archlinux.org/index.php/Mpv
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
# enable hardware acceleration
# may improve performance, may cause errors
# you may find hwdec=auto-copy looks better/smoother for you
hwdec=auto
hwdec-codecs=all
# needed for SVP
input-ipc-server=mpvpipe