From: yomguy Date: Mon, 3 Oct 2011 09:27:21 +0000 (+0200) Subject: add script X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1bbdf5f4d4abc4e61f7c595e58d14b2ca251ea27;p=telecaster-cgi.git add script --- diff --git a/scripts/telecaster/gst_video_simple_ogg b/scripts/telecaster/gst_video_simple_ogg new file mode 100644 index 0000000..af63af4 --- /dev/null +++ b/scripts/telecaster/gst_video_simple_ogg @@ -0,0 +1,11 @@ +#!/bin/bash + +gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv,width=640, height=480 \ + ! queue ! ffmpegcolorspace \ + ! queue ! theoraenc quality=20 ! mux. \ + alsasrc device=hw:0,0 ! audio/x-raw-int,rate=44100,channels=2,depth=16 \ + ! queue ! audioconvert ! audio/x-raw-float,rate=44100,channels=2,depth=16 ! queue ! vorbisenc ! mux. \ + oggmux name=mux ! filesink location=/var/www/test/test.ogg \ + +# ! queue ! videorate ! video/x-raw-yuv, framerate=25/1 \ +#jackaudiosrc connect=1 ! queue ! audioconvert ! audio/x-raw-int,rate=44100,channels=1,width=16 \ No newline at end of file