From 1bbdf5f4d4abc4e61f7c595e58d14b2ca251ea27 Mon Sep 17 00:00:00 2001 From: yomguy Date: Mon, 3 Oct 2011 11:27:21 +0200 Subject: [PATCH] add script --- scripts/telecaster/gst_video_simple_ogg | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/telecaster/gst_video_simple_ogg 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 -- 2.39.5