Tools to manipulate .mkv (matroska) audio/video files: Difference between revisions

From WickyWiki
mNo edit summary
mNo edit summary
Line 11: Line 11:
#describe the mkv contents and tracks
#describe the mkv contents and tracks
mkvinfo *.mkv
mkvinfo *.mkv
#or for short list with ID's
#or for short list inclusing 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 inclusing 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