0

I have used below commond for merging video

ffmpeg -f concat -safe 0 -i input.txt -copy out.mp4

but not working for some videos specially camera video's

ffmpeg -f concat -safe 0 -i input.txt -copy out.mp4 #input.txt - contains input1.mp4,input2.mp4

Can above commond will works for all video's

  • The concat demuxer, which you are using, allows you to merge videos with same specs (same codecs, same timebase...) only. Look here the different concatenation methods in ffmpeg : https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg The concat filter is the most "secure" way – Rems Feb 08 '23 at 13:55

0 Answers0