Tuesday, 3 August 2010

Mkvextract command line in Ubuntu.

This post is to help me, because i forget the things very easy, so for me and maybe for you this is very easy.

Open applications and go to Ubuntu software centre search box write mkv
and install "command line tools to create and work with Matroska media files". Assuming that you have the "mkvtoolnix" on your system " http://www.bunkus.org/videotools/mkvtoolnix/downloads.html "
How to extract the files from mkv?
All of my files go to my Downloads folder so open Terminal and use de command cd " change directory " exp: cd Downloads
Remember folders have up and lower cases letters, now that you have used de "cd" change directory command this is the easy part the name and the id of the tracks for the extraction, for the id or the tracks use mkvinfo
The command line is
mkvextract tracks myfile.mkv 3:myfile.S_TEXT/UTF8
This is a example for a 3 tracks mkv, if you wanted extract the video use the codec id for that track
command line
mkvextract tracks myfile.mkv 1:myfile.V_MPEG4/ISO/AVC

This help me to remember maybe help you to.


1 comment: