mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-25 19:20:19 +00:00
mpv config
This commit is contained in:
parent
937bbf9e7a
commit
b889805b7e
2 changed files with 126 additions and 1 deletions
123
.config/mpv/mpv.conf
Normal file
123
.config/mpv/mpv.conf
Normal file
|
@ -0,0 +1,123 @@
|
|||
#Troche configu zostalo zajebane z https://pastebin.com/mThWf3vt
|
||||
|
||||
#save-position-on-quit
|
||||
|
||||
#Programming bullshit
|
||||
input-ipc-server=~/.config/mpv/mpv.sock
|
||||
# Video
|
||||
hwdec=auto
|
||||
#hwdec=cuda
|
||||
#hwdec=auto-copy
|
||||
#hwdec=nvdec
|
||||
hwdec-codecs=all
|
||||
vo=gpu
|
||||
#hr-seek-framedrop=no
|
||||
profile=gpu-hq
|
||||
deband=no
|
||||
#deband-iterations=2
|
||||
#deband-range=12
|
||||
temporal-dither=yes
|
||||
|
||||
opengl-early-flush=no
|
||||
opengl-pbo=no
|
||||
|
||||
# Some console shit
|
||||
msg-module
|
||||
msg-color
|
||||
term-osd-bar
|
||||
|
||||
load-stats-overlay=no
|
||||
|
||||
interpolation=yes
|
||||
interpolation-threshold=0.0001
|
||||
video-sync=display-resample
|
||||
# display-fps=60
|
||||
tscale=oversample
|
||||
|
||||
volume=50
|
||||
volume-max=100
|
||||
alang=jp,jpn,eng,en,enUS,en-US
|
||||
slang=pl,pln,eng,en,enUS,en-US
|
||||
audio-pitch-correction=no
|
||||
audio-normalize-downmix=yes
|
||||
#audio-display=yes #invalid in some point
|
||||
|
||||
#icc-profile-auto
|
||||
gamma-auto
|
||||
vf=format=colorlevels=full:colormatrix=auto
|
||||
target-prim=auto
|
||||
target-trc=auto
|
||||
|
||||
screenshot-format=png
|
||||
cache=yes
|
||||
demuxer-max-bytes=286870911
|
||||
|
||||
# Subs
|
||||
|
||||
demuxer-mkv-subtitle-preroll
|
||||
sub-file-paths=ass:srt:sub:subs:subtitles
|
||||
embeddedfonts=yes
|
||||
sub-fix-timing=no
|
||||
sub-scale-by-window=no
|
||||
blend-subtitles=yes
|
||||
|
||||
# Activate autosync
|
||||
autosync=30
|
||||
|
||||
# Skip some frames to maintain A/V sync on slow systems
|
||||
framedrop=vo
|
||||
|
||||
# Disable screensaver
|
||||
stop-screensaver=yes
|
||||
|
||||
# Extension shit, mostly for .webm loop
|
||||
[extension.webm]
|
||||
loop-file=inf
|
||||
[extension.gif]
|
||||
loop-file=inf
|
||||
[extension.jpeg]
|
||||
loop-file=inf
|
||||
[extension.png]
|
||||
loop-file=inf
|
||||
[extension.jpg]
|
||||
loop-file=inf
|
||||
[extension.gifv]
|
||||
loop-file=inf
|
||||
[extension.swf]
|
||||
loop-file=inf
|
||||
|
||||
# OSD rice (for file info)
|
||||
osd-font-size=20
|
||||
osd-color="#ffffffff"
|
||||
osd-border-color="#ff151515"
|
||||
osd-border-size=1.5
|
||||
osd-shadow-offset=1
|
||||
osd-shadow-color="#11000000"
|
||||
osd-fractions
|
||||
|
||||
# Sub rice
|
||||
sub-ass-force-style=Kerning=yes
|
||||
sub-ass-override=scale
|
||||
sub-scale=0.5
|
||||
sub-pos=60
|
||||
sub-font="DejaVu Sans"
|
||||
sub-font-size=70
|
||||
sub-margin-y=50
|
||||
sub-color="#FFEBDB00"
|
||||
sub-border-color="#FF151515"
|
||||
sub-border-size=3
|
||||
sub-shadow-offset=1
|
||||
sub-shadow-color="#33000000"
|
||||
sub-spacing=0.5
|
||||
|
||||
[svp]
|
||||
input-ipc-server=/tmp/mpvsocket # Receives input from SVP
|
||||
hr-seek-framedrop=no # Fixes audio desync
|
||||
resume-playback=no # Not compatible with SVP
|
||||
|
||||
[mpv-yt-inactive]
|
||||
no-video
|
||||
ytdl-format=bestaudio
|
||||
volume=25
|
||||
[mpv-yt]
|
||||
volume=25
|
|
@ -12,4 +12,6 @@ alias \
|
|||
ytv="youtube-dl -f bestvideo" \
|
||||
smpv="mpv --profile=svp --script-opts=socketPath=/tmp/mpvsocket " \
|
||||
discord-stream="doas modprobe v4l2loopback video_nr=15;nohup ffmpeg -hide_banner -loglevel error -f x11grab -r 30 -s 1920x1080 -i :0+1440,0 -pix_fmt yuv420p -f v4l2 /dev/video15&; disown" \
|
||||
vim="nvim"
|
||||
screen-stream="discord-stream" \
|
||||
vim="nvim" \
|
||||
swap-ytmpv-profiles="sed -i 's/mpv-yt/mpv-yt-inactive/g' ~/.config/mpv/mpv.conf && sed -i 's/mpv-yt-inactive-inactive/mpv-yt/g' ~/.config/mpv/mpv.conf"
|
||||
|
|
Loading…
Add table
Reference in a new issue