diff options
| author | alex <alex@pdp7.net> | 2026-05-09 22:25:33 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2026-05-09 22:25:33 +0200 |
| commit | 48c0cc413d1d992b13ca95dba7430aa486ce75c3 (patch) | |
| tree | 0b0bfd6cf7b24b9619248bee45364b8dd7e5a9b6 /blog/content/notes/tech/splicing-mkvs.gmi | |
| parent | 47378ca0a91b51ba692ae70e2a9624c37dfcfa20 (diff) | |
Add tech/splicing-mkvsmaster
Diffstat (limited to 'blog/content/notes/tech/splicing-mkvs.gmi')
| -rw-r--r-- | blog/content/notes/tech/splicing-mkvs.gmi | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/blog/content/notes/tech/splicing-mkvs.gmi b/blog/content/notes/tech/splicing-mkvs.gmi new file mode 100644 index 00000000..2121aa9d --- /dev/null +++ b/blog/content/notes/tech/splicing-mkvs.gmi @@ -0,0 +1,67 @@ +# Splicing MKVs + +Just some additional notes on top of: + +=> https://mod16.org/hurfdurf/?p=8 101 things you never knew you could do with Matroska + +You can use MKVToolNix to create MKV files that combine content from several files: + +=> https://mkvtoolnix.download/ MKVToolNix – Matroska tools for Linux/Unix and Windows + +## Requirements + +Some MKV files. + +## Procedure + +Open MKVToolNix GUI. + +### Creating the chapter file + +Go to the "chapter editor". + +Click "new". + +Select the "edition entry" and check the "ordered" option. + +Select the first chapter. + +Click on the file selector for "segment UID" and choose the MKV file that contains the first segment. + +Fill the "start & end" fields with the segment of the MKV file that you want to include. + +Right click on the chapter in the list of editions and chapter and select "add new chapter after". + +Select the second chapter and select another file for "segment UID" and new start and end fields. + +Repeat the process until you have all segments. + +In the "chapter editor" menu, select "save as XML file" to create a chapter file. + +### Generating an MKV file from an XML chapter file + +Go to the "multiplexer". + +Select the "output" tab. + +Click the file selector for "chapter file" and select the chapter file from the previous step. + +Set the "destination file". + +Click "start multiplexing". + +## Additional information + +### Extracting precise frame information with mpv + +Run: + +``` +mpv --osd-fractions file.mkv +``` + +To open file.mkv and show timestamps with millisecond precision. + +Press shift+o to show timestamps continously. + +Use the "." and "," keys to skip frame by frame. |
