I have some quite large mp4 files (5-6 hours+) that I'd like to cut into either 30 minute or 1 hour chunks, without reencoding them. Are there any programs that can automate this process?
+ Reply to Thread
Results 1 to 2 of 2
-
-
mp4box . Make sure you download a very recent mp4box build from GPAC, because older mp4box builds did not work properly
The basic syntax is -split (in seconds)
e.g.
mp4box -split 1800 "input.mp4"
would produce
input_001.mp4
input_002.mp4
input_003.mp4
.
.
.
They won't be EXACTLY 1800sec for most types of files - because the splits have to be on GOP boundaries on Keyframes. So it might be a second or so off each cut depending on the source file and GOP configuration , but the output files will not have missing frames or overlaps (ie. if you re-join the segments, you will have the original)
To do it in batch file (e.g. process all the MP4 files in a directory)
Code:for %%a in ("*.mp4") do "mp4box.exe" -split 1800 "%%a" pause
Similar Threads
-
Best Program for MKV to MP4 Conversion -- NO quality loss?
By xxevilxp3nrxx in forum Video ConversionReplies: 13Last Post: 13th Aug 2015, 02:47 -
How to cut video with ffmpeg with the same quality without reencoding
By alexander121 in forum EditingReplies: 6Last Post: 8th Dec 2014, 02:36 -
Demuxing from MP4 - Unexplained Quality Loss
By bqi in forum Newbie / General discussionsReplies: 8Last Post: 25th Apr 2014, 05:37 -
Can frames from .m2ts file from Blu-ray discs be cut out w/o quality loss?
By c627627 in forum Blu-ray RippingReplies: 18Last Post: 13th Mar 2011, 21:29 -
HELP - Need software for mac that can trim/cut clips without quality loss
By someone04 in forum MacReplies: 6Last Post: 3rd Mar 2011, 18:06