Install latest MKVToolNix into the Google Colab runtime. Use mkvmerge, mkvextract, mkvpropedit
- Click on the "Open in Colab" button to open this notebook in google colab
- You can add tracks while running the cell.
- Don't use
#
and"
inmkvTitle
. - Add XML file path for
globalTags
,segmentInfo
. - Choose a
splitMode
and addsplitArgument
according to thesplitMode
. - Chapters are accpeted both
XML
andOGM_txt
files. - When adding a language use laguage codes.
- If you don't want to fill a field, leave it blank.
- If you don't know what is the relevant
mime-type
, also leave it blank inmimeType
. - When adding track
default
,forced
flags, If you leave it blank, it's value will be "No". - For all
[y/n]
inputs "y" for "yes" and "n" for "no". webmCompliantFile
: Create a WebM compliant file instead of mkv file output.- While adding tracks if you have done adding, leave
inputFile
as blank to continue. - When saving options are asked, enter folder path that you want to save your output file in
Enter folder path:
and enter a file name to add to your output file inEnter a name to save:
. - If you leave both
Enter folder path:
andEnter a name to save:
, output folder will be/content/
and your file will be renamed as the string that you gave inmkvTitle
. If you haven't addedmkvTitle
, then your file will be renamed as same as the first inputed file's name. If a file exsists with the name generated for file, this will add_new
to the end.
- You can extract all tracks, attachments, chapters, tags, cues, cue sheet, timecodes from
MKV
andWebM
files. - Also you can extract a single track by selecting
extractMode: Single Track
option. - While extracting chapters, enter
chapters extract type?
asxml
orogm
when asked for extract in that format inputFile
can be a file or folder that containsMKV
andWebM
files. Don't need to contain only MKV and WebM files.
- You can edit segment info, track info, chapters, attachments, tags in a mkv file.
- If you want to delete statistic tags from tracks select
deleteTrackStatisticsTags
- Enter mkv or webm file's path in
mkvFile
. - If you want to delete
Title
, leave it as blank. - You can add tags using a text document, but the text document's content must be as formatted as below.
Tag name: Tag value
Tag name: Tag value, Tag value
- This doesn't add tags as multiple tags, adds all values as a single tag.
- Use official tag names to add matroska official tags. see here