From 8927b88a1510777be420783c275745c6da00c39d Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 9 Nov 2012 18:33:23 +0100 Subject: [PATCH] add first working dv gst pipe --- .../telecaster/tc_video_dv_webm_stream.sh | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tcserver/conf/home/fluxbox/telecaster/tc_video_dv_webm_stream.sh diff --git a/tcserver/conf/home/fluxbox/telecaster/tc_video_dv_webm_stream.sh b/tcserver/conf/home/fluxbox/telecaster/tc_video_dv_webm_stream.sh new file mode 100755 index 0000000..054abc6 --- /dev/null +++ b/tcserver/conf/home/fluxbox/telecaster/tc_video_dv_webm_stream.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# Start TeleCaster video channel + +#WIDTH=640 +#HEIGHT=360 +#WIDTH=1024 +#HEIGHT=576 +WIDTH=480 +HEIGHT=320 + +gst-launch dv1394src ! dvdemux ! queue ! dvdec ! queue ! deinterlace \ + ! queue ! videoscale ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT \ + ! queue ! ffmpegcolorspace \ + ! queue ! vp8enc speed=2 threads=2 quality=10.0 max-latency=25 max-keyframe-distance=96 \ + ! queue ! muxout. \ + jackaudiosrc connect=1 ! audio/x-raw-float, channels=2 \ + ! queue ! audioconvert ! queue ! vorbisenc quality=0.6 ! queue ! muxout. \ + webmmux streamable=true name=muxout \ + ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none blocksize=65536 sync-method=1 + + -- 2.39.5