Tools to manipulate .mkv (matroska) audio/video files: Difference between revisions
From WickyWiki
mNo edit summary |
mNo edit summary |
||
| Line 7: | Line 7: | ||
sudo apt-get install mkvtoolnix | sudo apt-get install mkvtoolnix | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Example: | Example: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
#describe the mkv contents and tracks | #describe the mkv contents and tracks | ||
mkvinfo *.mkv | mkvinfo *.mkv | ||
#or for short list | |||
#or for short list including attachment ID's | |||
mkvmerge -i *.mkv | mkvmerge -i *.mkv | ||
Revision as of 15:03, 11 January 2015
Tools: mkvmerge, mkvinfo, mkvextract, mkvpropedit, mmg
sudo apt-get install mkvtoolnix
Example:
#describe the mkv contents and tracks mkvinfo *.mkv #or for short list including attachment ID's mkvmerge -i *.mkv #extract tracks 1,2,3 mkvextract tracks *.mkv 1:video.mpeg 2:audio.mp3 3:subtitles.srt #extract attachments id=1 mkvextract attachments *.mkv 1:attachments.ext