介绍
MKVToolNix 是一个小工具集(mkvmerge、mkvinfo、mkvextract、mkvpropedit 和 mmg),它允许您以多种方式操作 Matroska(MKV)文件。您可以使用 MKVToolNix 创建、分割、编辑、混流(封装、打包)、分离(分解、解包)、合并、提取或检查 Matroska 文件。该程序还支持其它视频格式(AVI、MPEG、MP4、Ogg/OGM、RealVideo、MPEG1/2、h264/AVC、Dirac、VC1)包括一些视频编解码器(如 VP9 视频编解码器支持 – 从 IVF/Matroska/WebM 文件读取,提取到 IVF 文件)。音频格式(AAC、FLAC、MP2、MP3、(E)AC3、DTS/DTS-HD、Vorbis、RealAudio)和大多数字幕格式(SRT、PGS/SUP、VobSub、ASS、SSA 等)。
软件截图
软件特点
MKVToolNix 是一个跨平台的应用程序,可工作在 Windows(32 和 64 位版本)、Mac OS X 和 Linux。完整的软件包包含用于合并和提取流、查看信息以及编辑标题和章节的单独命令行实用程序。它们都包含在一个 Windows 版本的图形界面中。
该工具可查看、追加和分割曲目、章节和标签,并可编辑范围广泛的数据。例如,当涉及到通用轨道选项时,您可以设置轨道名称、语言、默认和强制轨道标志、标签和时间码等。此外,您还可设置宽高比、FPS、延迟、立体影像模式、裁剪、提示、压缩模式和增强功能的自定义命令行参数。外部文件可作为附件嵌入到电影中。
创建和编辑电影章节
可创建章节并定义属性,如开始和结束时间、标志、段和段版本 UID、以及章节名称、语言和国家。可配置标签文件的全局设置、创建 WebM 兼容文件、分割模式、文件链接等。值得考虑的一个重要方面是 MKVToolnix 提供了对批处理作业的支持,这意味着当执行耗时任务时您可将工作站配置为无人值守。您可检查当前的命令行并将其复制到剪贴板或保存到文件中以便在将来的项目中使用,管理队列作业,添加命令行选项,从外部文件加载章节,编辑页眉以及将项目另存为 .mka、.mkv 或 .mk3d 格式的文件。
考虑到其广泛的配置参数,MKVToolnix 应该能满足大多数用户学习、创建、编辑和生成 MKV 文件的需求。
更新日志
# Version 91.0 "Signs" 2025-03-16
## Important notes
* The MKVToolNix project's source code repository, bug tracker and wiki have
been moved to [Codeberg](https://codeberg.org/mbunkus/mkvtoolnix).
* The customized MXE repository used for building the Windows variants has
been moved from Gitlab to [Codeberg](https://codeberg.org/mbunkus/mxe).
## New features and enhancements
* MKVToolNix GUI: multiplexer: added actions in the "Multiplexer" menu for
saving all currently open multiplexer tabs to a single `.mtxcfg`
file. Loading this file later will restore all tabs. Implements #3797.
* MKVToolNix GUI: multiplexer: when adding files the GUI can automatically
enable the "commentary" flag for audio and subtitle tracks if the file name
contains the word "comments" or "commentary" delimited by certain characters
(configurable). This feature is turned on by default. Part of the
implementation of #3798.
* MKVToolNix GUI: multiplexer: when adding files the GUI can automatically
enable the "original language" flag for audio and subtitle tracks if the
track's language matches one configured by the user (configurable). This
feature is turned off by default. Part of the implementation of #3798.
* MKVToolNix GUI: multiplexer: when adding files the GUI can automatically set
several track flags based on the file name. It can now look for the same
patters in the track names, too (configurable). This feature is turned on by
default. Part of the implementation of #3798.
* MKVToolNix GUI: multiplexer: added special drag & drop zones where users can
drop files to circumvent the preferences wrt. what to do with multiple
dropped files. Each drop zone corresponds to one of the three possible
choices (add all to current settings; create one new settings & add all
there; add new settings for each file & add one file to each). This feature
is turned off by default. Implements #3796.
* MKVToolNix GUI: multiplexer: added additional special drag & drop zones
where users can drop files to add them as attachments. One of the zones will
automatically set up the dropped file to function as a cover
image. Implements #3794.
* MKVToolNix GUI: multiplexer: when making destination file names unique by
suffixing them with a running number the GUI will now also consider the
destination file names of multiplex jobs currently in the queue that are
currently running or still waiting for execution. Implements #3801.
## Bug fixes
* mkvmerge: timestamps format v3: fixed the parser; it was completely broken
for the lines containing the duration & an optional number of frames per
second. Fixes #2285.
* mkvmerge: DTS parser: if the X96 extension is present in a DTS-HD High
Resolution stream, the sampling frequency will be set to 96kHz. This was
broken when reading DTS from elementary streams & from Matroska files. Fixes
#3288.
* mkvpropedit, MKVToolNix GUI's chapter & header editors: fixed a bug leading
to a segmentation fault when trying to replace an element at the end of the
file that's followed by only void elements (at least one). Fixes #3802.
## Build system changes
* The bundled `nlohmann-json` library was updated to v3.11.3.