diff --git a/scripts/ossia2laser.sh b/scripts/ossia2laser.sh index 7fc414c44c92bedb530d315bb835e9612013dc75..0a02a7cfca2587106660128556722928095b0453 100755 --- a/scripts/ossia2laser.sh +++ b/scripts/ossia2laser.sh @@ -1,13 +1,16 @@ #!/bin/bash -WIDTH=800 -HEIGHT=600 -VIDEO_DEV=/dev/video0 +WIDTH=640 +HEIGHT=480 +VIDEO_DEV1=/dev/video0 +VIDEO_DEV2=/dev/video1 -gst-launch-1.0 shmdatasrc socket-path=/tmp/score_shm_video \ +GST_DEBUG=3 gst-launch-1.0 shmdatasrc socket-path=/tmp/video1 \ ! videoconvert \ ! video/x-raw,format=NV12 \ ! videoscale \ ! video/x-raw, width=$WIDTH, height=$HEIGHT \ ! queue \ - ! v4l2sink device=$VIDEO_DEV + ! v4l2sink device=$VIDEO_DEV1 + +