From: yomguy Date: Mon, 13 Jan 2014 15:04:32 +0000 (+0100) Subject: upgrade video size ao 480p, add zoom 140 X-Git-Tag: 1.0~3^2~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=07b69d830ef487e586b937b94a05b40006071f18;p=telecaster-server.git upgrade video size ao 480p, add zoom 140 --- diff --git a/tcserver/conf/usr/local/share/telecaster/scripts/tc_video_simple_webm_stream.sh b/tcserver/conf/usr/local/share/telecaster/scripts/tc_video_simple_webm_stream.sh index a4afde4..02543fb 100755 --- a/tcserver/conf/usr/local/share/telecaster/scripts/tc_video_simple_webm_stream.sh +++ b/tcserver/conf/usr/local/share/telecaster/scripts/tc_video_simple_webm_stream.sh @@ -2,18 +2,21 @@ # Start TeleCaster video channel -WIDTH=640 -HEIGHT=360 +#WIDTH=640 +#HEIGHT=360 +WIDTH=864 +HEIGHT=480 #WIDTH=1280 #HEIGHT=720 -v4l2-ctl -d 0 -c power_line_frequency=1 +v4l2-ctl -d 0 -c power_line_frequency=1 -c zoom_absolute=140 -gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT, framerate={30/1} \ +gst-launch v4l2src device=/dev/video0 ! video/x-raw-rgb, width=$WIDTH, height=$HEIGHT, framerate={30/1} \ + ! queue ! videoflip method=rotate-180 \ ! queue ! ffmpegcolorspace \ - ! queue ! vp8enc speed=2 threads=4 quality=10.0 max-latency=25 max-keyframe-distance=96 auto-alt-ref-frames=true ! queue ! muxout. \ + ! queue ! vp8enc speed=2 threads=4 quality=10.0 max-latency=25 max-keyframe-distance=30 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. \ + ! queue ! audioconvert ! queue ! vorbisenc quality=0.4 ! queue ! muxout. \ webmmux streamable=true name=muxout \ - ! queue ! tcpserversink host=127.0.0.1 port=9000 protocol=none blocksize=65536 sync-method=1 \ + ! tcpserversink host=127.0.0.1 port=9000 protocol=none blocksize=65536 sync-method=1 \ > /dev/null