]> git.parisson.com Git - telecaster-server.git/commitdiff
add logitech 920 pro power rate adjust, fix some webm options
authoryomguy <yomguy@parisson.com>
Tue, 23 Oct 2012 15:16:58 +0000 (17:16 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 23 Oct 2012 15:16:58 +0000 (17:16 +0200)
tcserver/conf/home/fluxbox/telecaster/tc_video_simple_webm_stream.sh

index 17bb6ea0a64ed365bdd322332e72db90f855974c..b5d270445a20757bb8cf4572b03ada55a7f2bfad 100755 (executable)
@@ -2,17 +2,19 @@
 
 # Start TeleCaster video channel
 
-WIDTH=320
-HEIGHT=240
-#WIDTH=1024
-#HEIGHT=576
+WIDTH=640
+HEIGHT=360
+#WIDTH=1280
+#HEIGHT=720
 
-gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT  \
+v4l2-ctl -d 1 -c power_line_frequency=1 
+
+gst-launch v4l2src device=/dev/video1 ! video/x-raw-rgb, width=$WIDTH, height=$HEIGHT, framerate={24/1}  \
        ! queue ! ffmpegcolorspace \
-       ! queue ! vp8enc speed=2 threads=2 quality=9.0 ! queue ! muxout. \
-       jackaudiosrc connect=1 \
+       ! queue ! vp8enc speed=2 threads=4 quality=10.0 max-latency=25 max-keyframe-distance=96 auto-alt-ref-frames=true  ! queue ! muxout. \
+       jackaudiosrc connect=2 ! audio/x-raw-float, channels=2 \
        ! 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 \
+       ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none blocksize=65536 sync-method=1 \
        > /dev/null