Is it possible to use ffmpeg to split a big video file into several smaller files? I know it can be done by duration, using -f segment and -segment_size %s where %s is the duration. But can it be done by size?
If not, is there any other open source or freeware program for Windows that can easily split a 100GB file into several 1GB files?
+ Reply to Thread
Results 1 to 10 of 10
-
-
MyMp4Boxgui (mp4box frontend) can split by size. Under the Split tab.
-
100gb = 100 1gb files
That's a lot more than several
I think it would make a lot more sense to split into 10 * 10gb
Or something similar
But hey..what ever -
/edit - sorry -endpos isn't the way to go. I swear i used that with a version of ffmpeg and it surprisingly worked.
Last edited by VirtualDoobMon; 5th Jan 2016 at 10:58. Reason: Apparently FFmpeg doesn't work with '-endpos'
-
You must cut at GOP boundaries - assumption is that file use closed GOP structure - if not then problem is even more complicated (open GOP will require to analyze DTS/PTS and all splitting must be GOP/DTS/PTS wise).
I assume you need (ffmpeg) with two (at least) passes - first pass to analyze structure and export this to some log file (ffprobe), then you need to parse this logfile to create script for second ffmpeg pass - ffmpeg overall may be not a most optimal tool - perhaps specialized code can be more optimal. -
Similar Threads
-
Rip a HD MP4 to a file size around or under 1GB in one move!
By NotCompletelyIgnorant in forum DVD RippingReplies: 8Last Post: 20th Mar 2014, 20:51 -
Can't navigate video files after I split them with ffmpeg
By mkvbob in forum Video ConversionReplies: 4Last Post: 24th Apr 2013, 10:32 -
Recording over 100Gb files and opening them with Premiere
By Anonymous43553 in forum Capturing and VCRReplies: 8Last Post: 11th Feb 2013, 15:50 -
SPLIT A LARGE VOB FILE INTO 1GB CHUNKS AND AUTHOR
By jimmalenko in forum User guidesReplies: 39Last Post: 12th Aug 2011, 09:37 -
Can someone make me a ffmpeg file for normalizing mp4 files? I am Clueless.
By xrayengineer in forum DVD RippingReplies: 2Last Post: 3rd Feb 2011, 19:46