I'd like to merge the end of video, that is a part of it that begins midway and share the same end, to beginning of another, that is a part of it that share the same beginning but ends midway.
I've make a few searches on FFMPEG on how to do so but I failed. I think I could manage to do it by making the trims, in 2 files, then concatenate them. I'd rather not have a middle-step, meaning those middle-step files either be done automatically (ie by a script) or handled through the OS creating temporary files or, better yet, FFMPEG itself being able to handle the whole thing; the latter perhaps something likewhich would make a 5 mins video from the last 3:30 of the 1st and the first 1:30 of the 2nd.Code:ffmpeg -i "concat:{ ffmpeg -sseof -00:03:30 -i input1.mp4 }|{ ffmpeg -i input2.mp4 -ss 00:01:30 }" -c copy output.mp4
Thank you kindly for your help
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
This will not work.
Make your trims and THEN merge with concat.Last edited by ProWo; 16th Aug 2022 at 11:39. Reason: Typo
-
Similar Threads
-
Need to add 5 seconds of black at the beginning of the video
By aristofeles in forum Video ConversionReplies: 2Last Post: 18th Mar 2022, 01:12 -
ffmpeg fade out beginning & end of video without re-encoding middle part ?
By DonSeenu in forum Video ConversionReplies: 4Last Post: 28th Sep 2021, 03:00 -
the quality of beginning of compressed video
By MBlueSky in forum Video ConversionReplies: 8Last Post: 24th Aug 2021, 08:43 -
x264 - bitrate always spikes high during beginning of video
By palaceplace in forum Video ConversionReplies: 9Last Post: 30th Sep 2019, 16:36 -
I get green frame in the beginning of the video
By TeNSoR in forum Newbie / General discussionsReplies: 22Last Post: 12th Dec 2017, 16:37