Hello:
I have the following 4 videos:
F:\Videos>type concat.txt
file 'cover.mp4'
file '1.mp4'
file '2.mp4'
file 'end.mp4'
The cover.mp4 & end.mp4 were made from one image but extends to be a few seconds MP4 file using FFMPEG command like: ffmpeg -loop 1 -framerate 30 -i cover.png -t 5 cover.mp4
The 1.mp4 and 2.mp4 were cut from two very long videos using FFMPEG command like:
ffmpeg -i video1.mp4 -ss 10:00 -to 11:30
I want to concatenate all four video clips and make one MP4 format video.
I tried many ffmpeg commands, one of them is like this:
F:\Videos>ffmpeg -safe 0 -f concat -i concat.txt -map 0:v -c copy done.mp4
However, the result video (done.mp4) seems to be too long, and all the videos become “slow motion”.
I mean the correct resulting video should be 200 seconds (5 seconds + 93 seconds + 99 seconds + 3 seconds), but the ffmepg result done.mp4 showing the total duration is: 1155 seconds (more than 5 times bigger)
I think I have to use some kind of re-encode in ffmpeg to get the correct result, but I can’t find any good example.
Please advise!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
Similar Threads
-
[FFMPEG] Non-Interleaved AVI in Concatenate
By giroro in forum EditingReplies: 9Last Post: 27th Feb 2020, 05:39 -
Concatenate clips with as little code as possible in AviSynth+
By miguelmorin in forum EditingReplies: 7Last Post: 22nd Feb 2020, 07:12 -
Is there a way to concatenate videos with different bit depth
By Felow in forum Newbie / General discussionsReplies: 15Last Post: 3rd Jan 2020, 09:55 -
i can't download videos anymore from adult streams recording site
By doubleducker in forum Video Streaming DownloadingReplies: 0Last Post: 23rd Jan 2018, 21:22 -
ffmpeg: how to concatenate files that have different resolutions?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 25th Jun 2017, 08:03