From: yomguy Date: Mon, 15 Aug 2011 08:54:55 +0000 (+0200) Subject: add shouting script with 2 video sources, jack and filesink X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=eb70739d038ad33adf1e667ad15198d7489d78f6;p=telecaster-cgi.git add shouting script with 2 video sources, jack and filesink --- diff --git a/scripts/telecaster/gst_video_double_shout b/scripts/telecaster/gst_video_double_shout new file mode 100755 index 0000000..1fd823e --- /dev/null +++ b/scripts/telecaster/gst_video_double_shout @@ -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.