From: yomguy Date: Fri, 9 Nov 2012 17:33:23 +0000 (+0100) Subject: add first working dv gst pipe X-Git-Tag: 1.0~17^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8927b88a1510777be420783c275745c6da00c39d;p=telecaster-server.git add first working dv gst pipe --- 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 + +