howtothings.co.uk
[HOW TO] Split an avi file using ffmpeg - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Operating System and Software Support (https://www.howtothings.co.uk/forumdisplay.php?fid=17)
+--- Thread: [HOW TO] Split an avi file using ffmpeg (/showthread.php?tid=1954)



[HOW TO] Split an avi file using ffmpeg - Mark - 09-06-2014

[HOW TO] Split an avi file using ffmpeg

Scenario: I have one .avi file which needs to be split in to two separate .avi files.

Downlod ffmpeg from their website (for Windows) no installation required. Run all of this from the command line.

Code:
ffmpeg -i "E:\in.avi" -acodec copy -vcodec copy -ss 00:00:00 -t 00:30:00 "E:\out.avi"

-ss is the start time and -t is how long in to the video you want to split it.

So the above command would make a new file called out.avi which is 30 minutes long.