I would like to partition a video in avi format into multiple files using ffmpeg. I found some commands on the web:
ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:12:00 1.avi
However, with the disadvantage that if we add up all the sizes of the videos, it will be much larger than the original video. This one works with avi but the final videos are huge. The command I found that would do something according to what I want is this:
ffmpeg -i input.mp4 -c copy -map 0 -segment_time 1700 -f segment output%03d.mp4
However it does not work correctly with avi files. Would anyone know how to adapt the second command to partition avi files or some other one that had the same effect? Thanks in advance.