How to partition an avi video using ffmpeg commands

Asked

Viewed 49 times

1

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 get huge. The command I found to do something according to what I wish is this:

ffmpeg -i input.mp4 -c copy -map 0 -segment_time 1700 -f segment output%03d.mp4

However it does not work properly with avi files. Would anyone know how to adapt the second command to partition avi files or any other that has the same effect? I thank you already.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.