Concatenate 2 video files with transition

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Concatenate 2 video files with transition

Lusine
Hi Folks,
I'm trying concatenate 2 video files with transition. I saw smpte element
and trying to use smpte with filesrc but the command hangs.

gst-launch-1.0 filesrc location=~/videos/small1.mp4 ! decodebin !
videoconvert ! smpte name=s ! videoconvert ! x264enc ! mp4mux ! filesink
location=./out.mp4 filesrc location=~/videos/small2.mp4 ! decodebin !
videoconvert ! s.

What am I doing wrong?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Concatenate 2 video files with transition

Thibault Saunier-4
Hello,


You could use `ges-launch-1.0 +clip ~/videos/small1.mp4 +clip ~/videos/small2.mp4  s=1 -o out.mp4`  which will automatically create a transition where the clip overlap.


What kind of transition are you trying to do?

BR,

Thibault


On Thu, Nov 19, 2020 at 11:57 AM Lusine <[hidden email]> wrote:
Hi Folks,
I'm trying concatenate 2 video files with transition. I saw smpte element
and trying to use smpte with filesrc but the command hangs.

gst-launch-1.0 filesrc location=~/videos/small1.mp4 ! decodebin !
videoconvert ! smpte name=s ! videoconvert ! x264enc ! mp4mux ! filesink
location=./out.mp4 filesrc location=~/videos/small2.mp4 ! decodebin !
videoconvert ! s.

What am I doing wrong?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel