changeset 35596:7bdb1c022122

Minor improvements to the mplmult script.
author reimar
date Sun, 16 Dec 2012 13:49:36 +0000
parents da22212d9d7b
children 6063e2930092
files TOOLS/mplmult.sh
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 "$@"