Cutting MKV files without recompression

3

I'd like to cut out clips from an .mkv video.

How can I do that, without recompressing the file?

Starx

Posted 2011-01-24T11:28:25.417

Reputation: 1 881

related: Lossless cutting of MPEG TS files in Windows

– phuclv – 2018-08-01T16:29:14.617

Answers

2

FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.

Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.

For example, to cut out 20 seconds starting from 1:50 minutes, use:

ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv

The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:

ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv

Nick C

Posted 2011-01-24T11:28:25.417

Reputation: 251

1

Boilsoft's MKV splitter is what you need

Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.

Sathyajith Bhat

Posted 2011-01-24T11:28:25.417

Reputation: 58 436

2I have tried this application, it does not support mkv so well, although it claims it does. – Starx – 2011-01-24T13:37:40.327

-2

Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.

G. L.

Posted 2011-01-24T11:28:25.417

Reputation: 113

Welcome to Super User. Please read How to Recommend Software then [edit] your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

– I say Reinstate Monica – 2019-01-07T13:48:11.797