Issue trying to concatinate two videos using ffmpeg
Lets say I have two files file1.mp4 and file2.mp4.
I am trying to concatinate them with following,
What is the best way to split videos into equally sized parts using ffmpeg?
I have tried to split an mp4 file into smaller parts of equal time length like this ffmpeg -i ../data/2024-06-02_12-34-51.mp4 -c copy -map 0 -segment_time 00:00:05 -f segment v1_%03d.mp4
. However, this produced videos of highly variables size, some 25x larger than others. I assume this was due to inconsistent framerate during recording.
Got Non-monotonic DTS in output stream 0:1 while concating videos using ffmpeg
When I concat videos in this command: