1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-01 23:43:07 -07:00

actually synchronized streams in mpv

This commit is contained in:
Connor Olding 2014-05-24 17:19:18 -07:00
parent e41991cb9f
commit 5eac25a5a2

View File

@ -79,17 +79,7 @@ alias makepkgf='sudo -u $USER MAKEFLAGS=-j2 makepkg -Af --skipchecksums'
. ~/sh/z/z.sh
#export MPV_HOME=/c/path/mpv
mf="--no-sub" # waste of time, twitch/hitbox doesn't have subs
mf+=" --cache 4096" # default of 320 is way too small in practice
mf+=" --cache-pause=1" # avoid pausing as much as possible
mf+=" --cache-min=20" # should be higher but who has time for that
mf+=" --framedrop=yes" # necessary for video to catch up to audio
mf+=" --mc=60" # very aggressive video sync
mf+=" --no-initial-audio-sync" # not sure if helps tbh
mf+=" --autosync=0" # testing
export MPV_STREAM_FLAGS="$mv"
unset mv
export MPV_STREAM_FLAGS="--quiet --no-sub --vo=opengl:swapinterval=0"
twitch(){
livestreamer "twitch.tv/$1" best -p mpv -a \