Mixing two videos together

Ormi mi.ormos at gmail.com
Mon Mar 6 08:02:52 UTC 2017


Hi,

My machine is ArchLinux 4.8.13-1-ARCH
I am trying to mix 2 videos together side by side, simultaneously with
Gstreamer(times before I was using ffmpeg so far).
I am using following code  
/gst-launch-0.10 filesrc location=flame.avi ! decodebin ! queue !
ffmpegcolorspace ! videobox border-alpha=0 right=-256 ! videomixer name=mix 
! ffmpegcolorspace ! autovideosink filesrc location=drop.avi ! decodebin !
queue ! ffmpegcolorspace ! videobox border-alpha=0 left=-256 ! mix./
But I end with /ERROR: pipeline doesn't want to preroll./

So I tried to modify code:
/gst-launch-1.0 v4l2src device=/dev/video1 ! videoscale ! videoconvert !
video/x-raw-yuv, framerate=5/1, width=320, height=240 ! videobox
border-alpha=0 left=-320 ! videomixer name=mix ! videoconvert !
autovideosink sync=false v4l2src device=/dev/video2 ! videoscale !
videoconvert ! video/x-raw-yuv,framerate=5/1,width=320, height=240 !
videobox right=-320 ! mix.  /    
, but I end with following error:
/WARNING: erroneous pipeline: could not link videoconvert0 to videobox0/

Does anybody know how to get over this, or suggest any other way to mix two
videos side by side?

Thank you!
Ormi




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Mixing-two-videos-together-tp4682099.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list