उपयोग करने के लिए सबसे आसान उपकरण है mkvmerge
, जो mkvtoolnix
पैकेज का हिस्सा है । अपनी फ़ाइल को परिवर्तित करने के लिए:
sudo apt-get install mkvtoolnix
mkvmerge -o output.mkv input.m2ts
उदाहरण आउटपुट:
mkvmerge v6.1.0 ('Old Devil') built on Mar 4 2013 20:24:55
'input.m2ts': Using the demultiplexer for the format 'MPEG transport stream'.
'input.m2ts' track 0: Using the output module for the format 'AVC/h.264'.
'input.m2ts' track 1: Using the output module for the format 'AC3'.
'input.m2ts' track 2: Using the output module for the format 'PGS'.
The file 'output.mkv' has been opened for writing.
'input.m2ts' track 0: Extracted the aspect ratio information from the MPEG-4
layer 10 (AVC) video data and set the display dimensions to 1920/1080.
Progress: 100%
The cue entries (the index) are being written...
Muxing took 4 minutes 20 seconds.