[gst-devel] Videomixing two/multiple webcams side by side
Stefan Kost
ensonic at hora-obscura.de
Sun May 23 21:13:01 CEST 2010
Am 22.05.2010 01:00, schrieb Martin Bisson:
> This question is a bit unrelated to this thread, and I'm new to
> GStreamer, but what does queue actually do? Why is it needed in that case?
I creates a thread barrier to decouple the capture threads from the mixing thread.
Stefan
>
> Thanks,
>
> Martin
>
>
> Kapil Agrawal wrote:
>> In your videobox add border-alpha=0 property , also use queue before
>> videomixer input of both cameras.
>>
>> for eg.
>>
>> gst-launch-0.10 v4l2src0 ! video/x-raw-yuv,width=320,height=240 !
>> videobox left=-320 border-alpha=0 ! queue ! videomixer name=mix !
>> ffmpegcolorspace ! xvimagesink v4l2src1 !
>> video/x-raw-yuv,width=320,height=240 ! queue ! mix.
>>
>> best luck
>> Kapil
>>
>> On Sat, May 15, 2010 at 12:37 AM, scottmil <scottmil at gmail.com
>> <mailto:scottmil at gmail.com>> wrote:
>>
>>
>> UPDATE:
>>
>> I've made some progress. I can get a "wider view" screen and it loads
>> without crashing but only one camera is shown, though both are
>> running. So
>> I assume one is being displayed under the other, but I cant seem
>> to get one
>> on one side and one on the other.
>>
>> here is the command i'm using:
>>
>> gst-launch v4l2src device=/dev/video0 ! videobox right=-640 !
>> video/x-raw-yuv! videomixer name=mix ! ffmpegcolorspace ! xvimagesink
>> sync=false v4l2src device=/dev/video1 ! queue ! video/x-raw-yuv!
>> mix. mix.
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/Videomixing-two-multiple-webcams-side-by-side-tp2197804p2217082.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> <mailto:gstreamer-devel at lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>>
>>
>> --
>> twitter handle: @gst_kaps
>> http://www.linkedin.com/in/kapilagrawal
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list