I have used several variations of codes like this:
ffmpeg -i input.mp4 -vcodec copy -acodec copy -ss 00:00:00 -t 00:30:00 output1.mp4
ffmpeg -i input.mp4 -vcodec copy -acodec copy -ss 00:30:00 -t 00:30:00 output2.mp4
Everytime I use it for an mp4 file, the first file plays well, but the second is out of sync. However, I just tried it on an avi file. It seems to work great for that.
Bookmarks