38 lines
728 B
Bash
Executable File
38 lines
728 B
Bash
Executable File
#!/usr/bin/env bash
|
|
apt-get -y install mpv
|
|
|
|
mkdir -p ~/.config/mpv
|
|
|
|
## https://www.dotslashlinux.com/2017/03/31/optimal-mpv-configuration/
|
|
## Low cpu
|
|
cat > ~/.config/mpv/mpv.conf<< 'EOF'
|
|
#profile=opengl-hq
|
|
#scale=ewa_lanczossharp
|
|
#cscale=ewa_lanczossoft
|
|
#dscale=mitchell
|
|
#scale-antiring=0.7
|
|
#cscale-antiring=0.7
|
|
#dither-depth=auto
|
|
#correct-downscaling=yes
|
|
#sigmoid-upscaling=yes
|
|
#deband=no
|
|
#volume-max=100
|
|
#hwdec=vaapi
|
|
EOF
|
|
#
|
|
## Quality over performance
|
|
#cat > ~/.config/mpv/mpv.conf << 'EOF'
|
|
#profile=opengl-hq
|
|
#scale=ewa_lanczossharp
|
|
#cscale=ewa_lanczossoft
|
|
#dscale=mitchell
|
|
#scale-antiring=0.7
|
|
#cscale-antiring=0.7
|
|
#dither-depth=auto
|
|
#correct-downscaling=yes
|
|
#sigmoid-upscaling=yes
|
|
#deband=no
|
|
#volume-max=100
|
|
#hwdec=auto
|
|
#EOF
|