View Single Post
Old 21st January 2019, 03:40   #4  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Hey Travillion and welcome to Doom9

Mkvmerge and cutting works and sometimes not, this is depend from some things. I have many experience with this topic and the issue comes often by the audio.
Yes you can cut on video IDR frames but an audio frame is in Matroska not so easy to handle and often there are audio data which have a longer duration as the video.
Use MediaInfo for a quick overview about the durations. There is a global file duration and each video and audio track has a duration.
In MKVToolNix(MTX) info tool you get a better info about the durations.

After combine and/or cutting(with auto-merge) the file plays fine or not and some players can handle such files like MPC-HC(but not always).

If I understand you right you want cut out 3 small sections?!
56075-56195 : frame 56076 until 56194 should discard -> 118 frames
77926-77950 : -> 22 frames
80223-80343 : -> 118 frames

You could use Ordered Chapters instead of cutting. This will work perfect because you have IDR frames at the right place.
Chapter 1: Start time 00000 -> End time 56075
Chapter 2: Start time 56195 -> End time 77926
Chapter 3: Start time 77950 -> End time 80223
Chapter 4: Start time 80343 -> End time last frame(+frame duration)

The frames must be changed to a timestamp!
hubblec4 is offline   Reply With Quote