Hi,<br><br>I&#39;m not an expert of Ruby, btw there are a few sanity checks you may run (see below)..<br><br><div class="gmail_quote">On Fri, May 20, 2011 at 11:57 PM, Matt McIntyre <span dir="ltr">&lt;<a href="mailto:matt@stillcompiling.com">matt@stillcompiling.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That&#39;s the best I can determine so far at least by removing it.  I&#39;m writing a program using the ruby-gnome2 gstreamer bindings that captures video (v4l) and audio (standard soundcard), displays the video onscreen, loops the audio back out for monitoring, and records to disk using avi/wav.  I&#39;ll be glad to provide the code, but in consideration of everyone&#39;s time I&#39;ll provide the gstreamer pipeline I&#39;m first since I&#39;m sure its something simple I&#39;m not doing right.<div>

<br></div><div>My pipeline is separated into several bins and looks like this:</div><div><br></div><div>AudioBin: (source ghost pad to the tee src)</div><div><br></div><div>autoaudiosrc ! audio/x-raw-int ! level ! tee name=audiotee</div>

<div>audiotee ! autoaudiosink</div><div><br></div><div>VideoBin: (source ghost pad to the tee src)</div><div><br></div><div>v4l2src ! video/x-raw-yuv, format=(fourcc)YUY2, framerate=(fraction)30000/1001, width=(int)720, height=(int)480 ! videorate ! tee name=videotee</div>

<div>videotee ! xvimagesink<br clear="all"></div></blockquote><div><br>here you&#39;re dealing with raw 720x480 YUY2 @ 30fps.. I would run &quot;top&quot; and give a look at the CPU usage.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br></div><div>RecorderBin: (audio and video sink pads linked to the audio queue and video queue respectively)</div><div><br></div><div>queue name=audioqueue ! avimux name=mux</div>
<div>queue name=videoqueue ! jpegenc ! mux ! filesink</div><div><br></div><div>AudioBin ! VideoBin ! RecorderBin</div><br></blockquote><div><br>running the pipelines after setting GST_DEBUG=2 (or more) will give you some help.<br>
<br>Regards<br></div></div>