From: yomguy Date: Thu, 1 Sep 2011 17:33:49 +0000 (+0200) Subject: fix video stream pipe X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f6f4d83aa24fd51c1c11d1c4ec376398b4515b83;p=telecaster-cgi.git fix video stream pipe --- diff --git a/conf/home/fluxbox/tc_video_start.sh b/conf/home/fluxbox/tc_video_start.sh index 1f30439..cd25b51 100755 --- a/conf/home/fluxbox/tc_video_start.sh +++ b/conf/home/fluxbox/tc_video_start.sh @@ -5,16 +5,17 @@ WIDTH=480 HEIGHT=270 -gst-launch v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv, width=160, height=120 \ - ! videomixer name=mix sink_1::xpos=0 sink_1::ypos=155 sink_1::alpha=0.9 \ - ! queue ! ffmpegcolorspace ! theoraenc quality=25 ! muxout. \ +gst-launch v4l2src device=/dev/video0 ! queue ! videoscale ! video/x-raw-yuv, width=160, height=120 \ + ! queue ! videorate ! video/x-raw-yuv,framerate=25/1 \ + ! queue ! videomixer name=mix sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=0.9 \ + ! queue ! ffmpegcolorspace ! queue ! theoraenc quality=25 ! muxout. \ jackaudiosrc connect=1 ! audioconvert ! audio/x-raw-int,rate=44100,channels=1,width=16 \ - ! queue ! audioconvert ! vorbisenc ! queue ! muxout. \ - oggmux name=muxout ! tee name=t ! queue ! filesink location="video_test.ogg" t. \ - ! queue ! shout2send mount=/telecaster_live_video.ogg port=8000 password=source2parisson ip=127.0.0.1 \ - v4l2src device=/dev/video1 ! videoscale ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT ! mix. \ + ! queue ! audioconvert ! vorbisenc ! queue ! muxout. \ + oggmux name=muxout ! queue ! shout2send mount=/telecaster_live_video.ogg port=8000 password=source2parisson ip=127.0.0.1 \ + v4l2src device=/dev/video1 ! queue ! videoscale ! video/x-raw-yuv, width=$WIDTH, height=$HEIGHT \ + ! queue ! videorate ! video/x-raw-yuv,framerate=25/1 ! mix. \ > /dev/null & - + sleep 2 jack_disconnect system:capture_1 gst-launch-0.10:in_jackaudiosrc0_1