Ok. Now I see it should work with videorate element.<br>Does it work for you?<br><br><div class="gmail_quote">2010/6/9 Michael Joachimiak <span dir="ltr"><<a href="mailto:mjoachimiak@gmail.com">mjoachimiak@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Scott,<br><br>USB cameras are a little bit bad since they don't provide a constant framerate. <br>
It depends on the integration time (longer integration times -- lower framerate) .<br>And integration time depends on changing light conditions.<br>
You can consider dropping all frames but latter in the stream to get
them synchronize.<br>If framerates will be different faster camera will be dropping and you will get constant framerate.<br>I had the same problem before.<br>In your chain function you can check the size of the buffer and if it has more than one frame you can take a pointer to the latest frame.<br>
Hmm.. But I guess you don't have your own plugin? Do you?<br><br>This strikes another question. Is it possible to drop frames like I mentioned using videomixer?<br><br><div class="gmail_quote">2010/6/7 Luciana Fujii Pontello <span dir="ltr"><<a href="mailto:luciana@holoscopio.com" target="_blank">luciana@holoscopio.com</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Tue, 2010-05-25 at 13:01 -0700, scottmil wrote:<br>
> I would LOVE to see it. Is it posted somewhere it can be downloaded?<br>
><br>
> Scott<br>
<br>
</div>I only received your e-mail today, so I don't know if this will still be<br>
useful.<br>
<br>
The module I use to mix 2 pipelines in a picture-in-picture is in here:<br>
<a href="http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;hb=HEAD" target="_blank">http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;hb=HEAD</a>. It does others crazy things (I use it as if it was the input-selector also), but it should not be a problem if you don't link more stuff to it. Actually, I think if you go back in time you can get a simpler version like this: <a href="http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;h=91e8d0bdd59d1a0c1a3718cbc29ebe5018f16b33;hb=2cabc48c982650dd0d3f69499374fa2e46a11e31" target="_blank">http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;h=91e8d0bdd59d1a0c1a3718cbc29ebe5018f16b33;hb=2cabc48c982650dd0d3f69499374fa2e46a11e31</a><br>
<br>
I have a small test case in <a href="http://holoscopio.com/%7Efujii/testpip.py" target="_blank">http://holoscopio.com/~fujii/testpip.py</a> that<br>
is a good example and you can check the project repository to see how we<br>
use it for real.<br>
<br>
Regards,<br>
<br>
Luciana Fujii<br>
Holoscópio Tecnologia - <a href="http://holoscopio.com" target="_blank">http://holoscopio.com</a><br>
<div><div></div><div><br>
------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><br>-- <br>Your Sincerely<br><font color="#888888">Michael Joachimiak<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Your Sincerely<br>Michael Joachimiak<br>