From: John F. <jo...@us...> - 2010-08-25 17:32:12
|
Update of /cvsroot/ingex/ingex/studio/scripts In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv18916 Added Files: play_cam1.sh play_cam2.sh play_cam3.sh play_cam4.sh Log Message: Script to show single input --- NEW FILE: play_cam1.sh --- #!/bin/bash # single-input viewer # Check whether process is running and kill if it is if killall -q -0 -e player then killall -e player while killall -q -0 -e player do usleep 100000 done fi # -g option runs program under gdb so that a crash displays a stack trace PRERUN="" if [ "$1" = "-g" ] ; then PRERUN="gdb -q -ex run -ex where --args" shift # swallow option fi # play shm channel 0 $PRERUN /usr/local/bin/player --disable-shuttle --audio-lineup -18 --audio-mon 2 --source-aspect 16:9 --hide-progress-bar --shm-in 0p --- NEW FILE: play_cam2.sh --- #!/bin/bash # single-input viewer # Check whether process is running and kill if it is if killall -q -0 -e player then killall -e player while killall -q -0 -e player do usleep 100000 done fi # -g option runs program under gdb so that a crash displays a stack trace PRERUN="" if [ "$1" = "-g" ] ; then PRERUN="gdb -q -ex run -ex where --args" shift # swallow option fi # play shm channel 1 $PRERUN /usr/local/bin/player --disable-shuttle --audio-lineup -18 --audio-mon 2 --source-aspect 16:9 --hide-progress-bar --shm-in 1p --- NEW FILE: play_cam3.sh --- #!/bin/bash # single-input viewer # Check whether process is running and kill if it is if killall -q -0 -e player then killall -e player while killall -q -0 -e player do usleep 100000 done fi # -g option runs program under gdb so that a crash displays a stack trace PRERUN="" if [ "$1" = "-g" ] ; then PRERUN="gdb -q -ex run -ex where --args" shift # swallow option fi # play shm channel 2 $PRERUN /usr/local/bin/player --disable-shuttle --audio-lineup -18 --audio-mon 2 --source-aspect 16:9 --hide-progress-bar --shm-in 2p --- NEW FILE: play_cam4.sh --- #!/bin/bash # single-input viewer # Check whether process is running and kill if it is if killall -q -0 -e player then killall -e player while killall -q -0 -e player do usleep 100000 done fi # -g option runs program under gdb so that a crash displays a stack trace PRERUN="" if [ "$1" = "-g" ] ; then PRERUN="gdb -q -ex run -ex where --args" shift # swallow option fi # play shm channel 3 $PRERUN /usr/local/bin/player --disable-shuttle --audio-lineup -18 --audio-mon 2 --source-aspect 16:9 --hide-progress-bar --shm-in 3p |