Tim Retout's www presence

Mon, 01 Mar 2010

Recording video with gstreamer

For future reference, here is the gstreamer pipeline I'm currently using to record videos (with audio) for YouTube:

gst-launch-0.10 \
v4l2src ! 'video/x-raw-yuv,width=800,height=600,framerate=20/1' \
! tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue \
! videorate ! 'video/x-raw-yuv,framerate=20/1' ! queue \
! mux. pulsesrc ! audio/x-raw-int,rate=48000,channels=2,depth=16 ! queue \
! audioconvert ! queue \
! mux. avimux name=mux ! filesink location=test6.avi

For some reason cheese becomes slow for me when I start recording. Probably the theora encoding? I need to investigate further.

I now have tickets for New York! And yay for Bosnia in 2011.

Posted: 01 Mar 2010 02:02 | Tags: ,

< March 2010 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   

Contact

Tim Retout tim@retout.co.uk
JabberID: tim@retout.co.uk

Comments

I'm afraid I have turned off comments for this blog, because of all the spam. Let's face it, I didn't read them anyway. Feel free to email me.

Links

Copyright © 2007-2011 Tim Retout