# HG changeset patch # User reimar # Date 1355665776 0 # Node ID 7bdb1c022122a73aecff057cf9d835491f5094c1 # Parent da22212d9d7b3345e2ebcec21583fc76bbaa6de9 Minor improvements to the mplmult script. diff -r da22212d9d7b -r 7bdb1c022122 TOOLS/mplmult.sh --- a/TOOLS/mplmult.sh Sat Dec 15 23:09:27 2012 +0000 +++ b/TOOLS/mplmult.sh Sun Dec 16 13:49:36 2012 +0000 @@ -35,10 +35,12 @@ mkfifo $fifo_list (cat $dir/stream.yuv | tee $fifo_list > /dev/null ) & for fifo in $fifo_list; do - # -benchmark is neccessary so that it will not do any timing. + # -benchmark is necessary so that it will not do any timing. # the master instance already takes care of it and not specifying # it will break A-V sync. - mplayer -nocache -quiet -benchmark "$fifo" > /dev/null 2>&1 & + # -demuxer y4m is necessary because otherwise excessive probing + # (probably by # the lavf demuxer) causes a long delay. + mplayer -nocache -quiet -benchmark -demuxer y4m "$fifo" > /dev/null 2>&1 & done mplayer -nocache -fixed-vo -vo yuv4mpeg:file=$dir/stream.yuv "$@"