Mixing two videos together

Brendan Lockhart somedude114 at gmail.com
Sat Mar 11 00:17:51 UTC 2017


>how would you edit the code to mix two videos (let's say mp4) and not the
>camera dev output?
>I can't get valid answer only /ERROR: pipeline doesn't want to preroll/.

gst-launch-1.0 filesrc location=myfile1.mp4 ! decodebin ! compositor
name=mix sink_0::xpos=320 ! autovideosink  filesrc location=myfile2.mp4 !
decodebin ! mix.

You will need to change "320" to the width of the videos

On Tue, Mar 7, 2017 at 5:33 AM, Ormi <mi.ormos at gmail.com> wrote:

> Thanks for answer,
> how would you edit the code to mix two videos (let's say mp4) and not the
> camera dev output?
> I can't get valid answer only /ERROR: pipeline doesn't want to preroll/.
>
> Thanks, Ormi.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.
> n4.nabble.com/Re-Mixing-two-videos-together-tp4682102p4682113.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170310/48fe8814/attachment.html>


More information about the gstreamer-devel mailing list