]> git.parisson.com Git - telecaster-cgi.git/commitdiff
add dv stream
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Mar 2012 10:16:33 +0000 (11:16 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Mar 2012 10:16:33 +0000 (11:16 +0100)
conf/home/fluxbox/telecaster/tc_dv_simple_webm_stream.sh [new file with mode: 0755]

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 (executable)
index 0000000..68c568d
--- /dev/null
@@ -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 
+
+