I have 2 video files (vid1.mov and vid2.mov), both have the same frame size and frame rate. I want to have 1 final video with shows vid1.mov and then vid2.mov, one after the other. I also want there to be a transition from one video to another (rather than an abrupt change of video), and have discovered the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-smpte.html" rel="nofollow">smpte plugin for gstreamer</a>, which goes what I want.
gst-launch on the ubuntu linux command line, how can I merge the 2 videos together with a transition?
(Assume I want to use the same transition as in the smpte example of 2 seconds long and type=234)
I tried modifying the smpte example like this:
gst-launch filesrc location=vid1.mov ! decodebin ! ffmpegcolorspace ! smpte name=s border=20000 type=234 duration=2000000000 ! ffmpegcolorspace ! ximagesink filesrc location=vid2.MOV ! decodebin ! ffmpegcolorspace ! s.
It starts playing both videos at the same time, then transitioning from one to the other, so it only shows 2sec of vid1.mov, and then plays all of vid2.mov. How can I get it play all of vid1.mov, then 2sec before vid1.mov ends, it starts playing vid2.mov, and starts transitioning, so that it finishs transitioning just as vid1.mov ends, it should then continue to play all of vid2.mov as normal.Answer1:
Someone else has pointed me to GNonLin, for gstreamer non-linear editing stuff, which would be used with this. However I have other problems with it cf. <a href="https://stackoverflow.com/questions/6910446/video-transitions-with-gstreamer-gnonlin-not-working" rel="nofollow">Video Transitions with GStreamer & GNonLin not working</a>