Combining 2 Video Streams Side by Side, Getting Choppy Results

Jim Ruxton jim.ruxton at gmail.com
Tue Feb 16 07:50:05 UTC 2021


I am trying to combine 2 video streams. One from my laptop camera and 
one from an external webcam. I'm using the following pipeline and 
getting very choppy results. Neither my CPU or GPU seem to be working 
hard. Any ideas how to make this less choppy?

*./gst-launch-1.0 v4l2src device=/dev/video**4**! videoscale ! videoconvert ! video/x-raw,format=YUY2, framerate=30/1, 
width=***640***, height=***480****! ****alpha********alpha=1***! videobox border-alpha=0 left=-640 ! videomixer name=Mix ! 
videoconvert ! autovideosink v4l2src device=/dev/video***2***! videoscale ! videoconvert ! video/x-raw, format=YUY2, framerate=30/1, 
width=***640***, height=***480****! ****alpha********alpha=1***! videobox border-alpha=0 right=-640 ! Mix.*

Thanks,

Jim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210216/5beb5b60/attachment.htm>


More information about the gstreamer-devel mailing list