Skip to content

Install latest MKVToolNix into the Google Colab runtime. Use mkvmerge, mkvextract, mkvpropedit and tag MKV/WebM files

License

Notifications You must be signed in to change notification settings

dropcreations/MKVToolNix-in-Google-Colab

Repository files navigation

MKVToolNix-in-Google-Colab

Install latest MKVToolNix into the Google Colab runtime. Use mkvmerge, mkvextract, mkvpropedit

Open in Colab

  • Click on the "Open in Colab" button to open this notebook in google colab

MKVToolNix-Logo

mkvmerge

  • You can add tracks while running the cell.
  • Don't use # and " in mkvTitle.
  • Add XML file path for globalTags, segmentInfo.
  • Choose a splitMode and add splitArgument according to the splitMode.
  • Chapters are accpeted both XML and OGM_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 in mimeType.
  • 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 in Enter a name to save: .
  • If you leave both Enter folder path: and Enter a name to save: , output folder will be /content/ and your file will be renamed as the string that you gave in mkvTitle. If you haven't added mkvTitle, 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.

mkvextract

  • You can extract all tracks, attachments, chapters, tags, cues, cue sheet, timecodes from MKV and WebM files.
  • Also you can extract a single track by selecting extractMode: Single Track option.
  • While extracting chapters, enter chapters extract type? as xml or ogm when asked for extract in that format
  • inputFile can be a file or folder that contains MKV and WebM files. Don't need to contain only MKV and WebM files.

mkvpropedit

  • 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

Matroska/WebM Tags

  • 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

About

Install latest MKVToolNix into the Google Colab runtime. Use mkvmerge, mkvextract, mkvpropedit and tag MKV/WebM files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published