From 34f30c123789532014ba7d9bd65370b3ed046cb1 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 11 Jan 2012 16:34:09 +0100 Subject: [PATCH] rm trash rec --- .../telecaster/tc_video_simple_webm_stream.sh | 3 +-- .../tc_video_simple_webm_stream_m.sh | 25 +++++++++++++++++++ .../telecaster/tc_video_simple_webm_tee.sh | 25 +++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100755 conf/home/fluxbox/telecaster/tc_video_simple_webm_stream_m.sh create mode 100755 conf/home/fluxbox/telecaster/tc_video_simple_webm_tee.sh diff --git a/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream.sh b/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream.sh index d006917..9d31bf6 100755 --- a/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream.sh +++ b/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream.sh @@ -14,8 +14,7 @@ gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv, width=$WIDTH, height=$H jackaudiosrc connect=1 \ ! queue ! audioconvert ! queue ! vorbisenc quality=0.3 ! queue ! muxout. \ webmmux streamable=true name=muxout \ - ! tee name=t ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none \ - t. ! queue ! filesink location=/home/telecaster/trash/test.webm \ + ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none \ > /dev/null & sleep 4 diff --git a/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream_m.sh b/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream_m.sh new file mode 100755 index 0000000..b4d8403 --- /dev/null +++ b/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream_m.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Start TeleCaster video channel + +WIDTH=640 +HEIGHT=360 +#WIDTH=1024 +#HEIGHT=576 + +gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT \ + ! queue ! videoflip method=rotate-180 \ + ! queue ! ffmpegcolorspace \ + ! queue ! vp8enc speed=2 threads=2 quality=5 ! queue ! muxout. \ + jackaudiosrc connect=1 \ + ! queue ! audioconvert ! queue ! vorbisenc quality=3 ! queue ! muxout. \ + webmmux streamable=true name=muxout \ + ! tee name=t ! queue ! multifdsink name=sink sync=false recover-policy=3 \ + t. ! queue ! filesink location=/home/telecaster/trash/test.webm \ + > /dev/null & + +sleep 2 + +jack_disconnect system:capture_1 gst-launch-0.10:in_jackaudiosrc0_1 +jack_connect jack_rack:out_1 gst-launch-0.10:in_jackaudiosrc0_1 + diff --git a/conf/home/fluxbox/telecaster/tc_video_simple_webm_tee.sh b/conf/home/fluxbox/telecaster/tc_video_simple_webm_tee.sh new file mode 100755 index 0000000..d006917 --- /dev/null +++ b/conf/home/fluxbox/telecaster/tc_video_simple_webm_tee.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Start TeleCaster video channel + +WIDTH=640 +HEIGHT=360 +#WIDTH=1024 +#HEIGHT=576 + +gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT \ + ! queue ! videoflip method=rotate-180 \ + ! queue ! ffmpegcolorspace \ + ! queue ! vp8enc speed=2 threads=2 quality=9.0 ! queue ! muxout. \ + jackaudiosrc connect=1 \ + ! queue ! audioconvert ! queue ! vorbisenc quality=0.3 ! queue ! muxout. \ + webmmux streamable=true name=muxout \ + ! tee name=t ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none \ + t. ! queue ! filesink location=/home/telecaster/trash/test.webm \ + > /dev/null & + +sleep 4 + +jack_disconnect system:capture_1 gst-launch-0.10:in_jackaudiosrc0_1 +jack_connect jack_rack:out_1 gst-launch-0.10:in_jackaudiosrc0_1 + -- 2.39.5