From: Guillaume Pellerin Date: Thu, 15 Mar 2012 10:16:33 +0000 (+0100) Subject: add dv stream X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=db0e77f18fe8b11d65fa8079d91bdf657122ae34;p=telecaster-cgi.git add dv stream --- diff --git a/conf/home/fluxbox/telecaster/tc_dv_simple_webm_stream.sh b/conf/home/fluxbox/telecaster/tc_dv_simple_webm_stream.sh new file mode 100755 index 0000000..68c568d --- /dev/null +++ b/conf/home/fluxbox/telecaster/tc_dv_simple_webm_stream.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +WIDTH=480 +HEIGHT=360 +#WIDTH=1024 +#HEIGHT=576 + +gst-launch-0.10 dv1394src ! queue ! dvdemux name=d ! queue ! dvdec \ + ! queue ! videoscale ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT \ + ! 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 \ + ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none + +