[gst-devel] Videomixing two/multiple webcams side by side
Michael Joachimiak
mjoachimiak at gmail.com
Wed Jun 9 09:07:39 CEST 2010
Ok. Now I see it should work with videorate element.
Does it work for you?
2010/6/9 Michael Joachimiak <mjoachimiak at gmail.com>
> Scott,
>
> USB cameras are a little bit bad since they don't provide a constant
> framerate.
> It depends on the integration time (longer integration times -- lower
> framerate) .
> And integration time depends on changing light conditions.
> You can consider dropping all frames but latter in the stream to get them
> synchronize.
> If framerates will be different faster camera will be dropping and you will
> get constant framerate.
> I had the same problem before.
> 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.
> Hmm.. But I guess you don't have your own plugin? Do you?
>
> This strikes another question. Is it possible to drop frames like I
> mentioned using videomixer?
>
> 2010/6/7 Luciana Fujii Pontello <luciana at holoscopio.com>
>
> On Tue, 2010-05-25 at 13:01 -0700, scottmil wrote:
>> > I would LOVE to see it. Is it posted somewhere it can be downloaded?
>> >
>> > Scott
>>
>> I only received your e-mail today, so I don't know if this will still be
>> useful.
>>
>> The module I use to mix 2 pipelines in a picture-in-picture is in here:
>> http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;hb=HEAD.
>> 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:
>> http://git.holoscopio.com/?p=sltv.git;a=blob;f=sltv/videomixer.py;h=91e8d0bdd59d1a0c1a3718cbc29ebe5018f16b33;hb=2cabc48c982650dd0d3f69499374fa2e46a11e31
>>
>> I have a small test case in http://holoscopio.com/~fujii/testpip.py<http://holoscopio.com/%7Efujii/testpip.py>that
>> is a good example and you can check the project repository to see how we
>> use it for real.
>>
>> Regards,
>>
>> Luciana Fujii
>> Holoscópio Tecnologia - http://holoscopio.com
>>
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit. See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> --
> Your Sincerely
> Michael Joachimiak
>
--
Your Sincerely
Michael Joachimiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100609/473ce9a7/attachment.htm>
More information about the gstreamer-devel
mailing list