A ferramenta mais fácil de usar mkvmerge
é a parte do mkvtoolnix
pacote. Para converter seu arquivo:
sudo apt-get install mkvtoolnix
mkvmerge -o output.mkv input.m2ts
Exemplo de saída:
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.