]> git.parisson.com Git - telecaster-cgi.git/commitdiff
add shouting script with 2 video sources, jack and filesink
authoryomguy <yomguy@parisson.com>
Mon, 15 Aug 2011 08:54:55 +0000 (10:54 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 15 Aug 2011 08:54:55 +0000 (10:54 +0200)
scripts/telecaster/gst_video_double_shout [new file with mode: 0755]

diff --git a/scripts/telecaster/gst_video_double_shout b/scripts/telecaster/gst_video_double_shout
new file mode 100755 (executable)
index 0000000..1fd823e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+gst-launch v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv, width=160, height=120 ! videomixer name=mix sink_1::xpos=20 sink_1::ypos=20 sink_1::alpha=0.9 ! queue ! ffmpegcolorspace ! theoraenc quality=30 ! muxout. jackaudiosrc connect=1 ! audioconvert ! audio/x-raw-int,rate=44100,channels=1,width=16 ! queue ! audioconvert ! vorbisenc ! queue ! muxout. oggmux name=muxout ! tee name=t ! queue ! filesink location="video_test.ogg" t. ! queue ! shout2send mount=/telecaster_live_video.ogg port=8000 password=source2parisson ip=127.0.0.1 v4l2src device=/dev/video1 ! videoscale ! video/x-raw-yuv, width=640, height=360 ! mix.