Hello,
I have an MKV file where I want to delete the first 16 seconds.
If have tried Avidemux but this application crashes. I have also tried SolveigMM AVI Trimmer + MKV but this one doesn't save the edited file for some reason but the the whole file.
What is the best tool to do this without reencoding ?
+ Reply to Thread
Results 1 to 10 of 10
Thread
-
-
I have no problems with solveigmm avi trimmer. Open mkv, set and start and save. But it might not work all kinds of mkvs.
But try mkvtoolnix / mkvmergegui. Add the mkv, under the global table enable splitting, set the after timecodes to 16s and it will create two files, one with the first 16s and the other with the rest.
See screenshot: -
I have tested it and it creates 182 files not what i suspected.
[EDIT]
If I set it to two files it works only mkvmerge doesn't cut at the right time. When I enter 16s the first file is 20 seconds long.
MKVmerge has a limitation on this from the FAQ:
mkvmerge can only split right before a key frame. This is an intentional limitation that you cannot get around when you use mkvmerge for splitting.
A key frame is a frame type that can be decoded and shown independently of any other frames in the file. That's how mkvmerge ensures that the next file starts with a key frame and can be played correctly right from the start. If mkvmerge allowed splitting at arbitrary timecodes, and therefore at any frame type, then the next file would show disrupted images until the next key frame is encountered.
In general there is a way to split video files at arbitrary frame positions. This requires that all non-key frames after the split point up to but excluding the next key frame will have to be re-encoded so that the next file does start with a key frame.
However, this requires that the program splitting the video file contains video decoders and encoders for all video formats that it can split. mkvmerge is not such a tool as it does not contain a single decoder or encoder, neither for audio nor for video. That's not its purpose. Therefore mkvmerge will never be able to split before arbitrary frame types.Last edited by jslegers73; 14th Feb 2013 at 03:41.
-
It looks like if i want to cut it at 16 sec i have to re-encode it.
-
Or use an editor that just reconverts at the cut. But I don't think you will find anything free for that.
-
SolveigMM Video Splitter but as solveigmm avi trimmer doesn't work with your mkv it might also not work. But you can always try the trial.
Similar Threads
-
910115 - what's the best way to cut an mkv file?
By hamidi2 in forum EditingReplies: 12Last Post: 8th Apr 2012, 20:17 -
How to trim / cut a .mov file?
By AshleyQuick in forum EditingReplies: 3Last Post: 4th Oct 2011, 16:46 -
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 -
Cut a part from a MKV file
By H2SO4JB in forum Video ConversionReplies: 0Last Post: 17th Oct 2010, 09:15 -
cant trim/cut mpg in QT-pro
By Kevlin in forum MacReplies: 3Last Post: 17th Aug 2008, 13:25


Quote
