VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Sep 2021
    Location
    Valencia
    Search Comp PM
    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!
    Image Attached Files
    Quote Quote  
  2. Member
    Join Date
    Sep 2021
    Location
    Valencia
    Search Comp PM
    Add done.mp4!
    Image Attached Files
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!