[gst-devel] Videomixing two/multiple webcams side by side

Stefan Kost ensonic at hora-obscura.de
Tue May 25 14:56:58 CEST 2010


On 24.05.2010 19:45, scottmil wrote:
> Well for some reason when I used to have only one "mix." it would crash.  So,
> I went ahead and gave it a try with only one and walla it worked.  I'm not
> sure why it did this time and not before, must have been something else I
> had changed.
>
> Working command is:
>
> gst-launch-0.10 v4l2src device=/dev/video0 !
> video/x-raw-yuv,width=320,height=240 ! videobox left=-320 border-alpha=0 !
> queue ! videomixer name=mix ! ffmpegcolorspace ! xvimagesink v4l2src
> device=/dev/video1 ! video/x-raw-yuv,width=320,height=240 ! videobox left=0
> ! queue ! mix.
>
> Now I need to figure out if there is a way to synchronize the streams.  I've
> tried sync=false and sync=true parameters with xbimagesink.  Anyone have any
> ideas.  I also tried fiddling with setting x_pos in the videomixer instead
> of the videobox, but that caused crashes too.
>
> P.S.  You guys absolutely rock!
>
> Scott
>   
If you get crashers, please run under gdb (preferably with the latest
version from git or a release as new as possible) and get a backtrace
from the crash. Then file a bug and attach the backtraces.

Stefan




More information about the gstreamer-devel mailing list