Dears,
I'd like "mix" side by side 2 webcams.
I did try:
gst-launch-1.0 -e videomixer name=mix ! autovideosink \
videotestsrc ! video/x-raw, framerate=10/1, width=640, height=360 ! mix.sink_0 \
videotestsrc pattern="snow" ! video/x-raw, framerate=10/1, width=200, height=150 ! mix.sink_1
it works.
Now I want 2 (multiple cams) side by side or kind of grid for more than 2 cams.
I did try it and got:
root@imx6qpsabreauto:~# gst-launch-1.0 -e videomixer name=mix \
> ! autovideosink \
> imxv4l2src device=/dev/video0\
> ! video/x-raw, framerate=10/1, width=640, height=360 \
> ! mix.sink_0 \
> imxv4l2src device=/dev/video1 \
> ! video/x-raw, framerate=10/1, width=200, height=150 \
> ! mix.sink_1
====== IMXV4L2SRC: 4.0.8 build on Jul 22 2016 21:34:28. ======
====== IMXV4L2SRC: 4.0.8 build on Jul 22 2016 21:34:28. ======
WARNING: erroneous pipeline: could not link imxv4l2src0 to mix
root@imx6qpsabreauto:~#
Can you please advice how to build such pipeline to have side by side multiple cams?
How to setup pipeline to overlay multiple cams (picture-in-picture)?
Thank you.