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

Stefan Kost ensonic at hora-obscura.de
Sun May 23 21:11:41 CEST 2010


Am 14.05.2010 22:07, schrieb scottmil:
> 
> 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.
> 

Just set the position of the 2nd video when using videomixer:
... ! videomixer name=mix sink_00::xpos=0 sink_01::xpos=640 ! ...

check the pad names of videomixer from running gst-launch -v

Stefan




More information about the gstreamer-devel mailing list