Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an MP4 file which I'd like to split in two, without re-encoding the audio or video.

I'm happy to split at a keyframe.

share|improve this question

2 Answers 2

You can use MKVmerge for that specific task. All you need to do is install the program from here and then input the video and specify where you want the split in the Global tab. The output is in .mkv but it doesn't encode video/audio. You can split at specific time-code/duration, size, not through video frames, however.

share|improve this answer

You can use FFmpeg for this, using -ss to determine the output start point, and -t to determine how long the output will last for. To split a 15 minute file into three five-minute sections:

ffmpeg -i input.mp4 -c copy -t 00:05:00 output1.mp4 \
-c copy -ss 00:05:00 -t 00:05:00 output2.mp4 \
-c copy -ss 00:10:00 -t 00:05:00 output3.mp4
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.