Specific Audio Stream Extraction - Command Line.

The place to discuss linux version of MakeMKV
Post Reply
edent
Posts: 7
Joined: Mon Nov 28, 2011 1:51 pm

Specific Audio Stream Extraction - Command Line.

Post by edent » Tue Feb 21, 2012 1:22 pm

Using the command line, I can rip a specific title using

Code: Select all

makemkvcon -r mkv disc:0 1 /data/DVDs/Movies/
(Disc 0, title 1)

But how do I extract only specific audio streams?

I want, say, the video & DTS track only?

Getting information about the disc using makemkvcon -r info disc:0

Gives me:

Code: Select all

TCOUNT:11
CINFO:1,6206,"DVD disc"
CINFO:2,0,"Movie_Name"
CINFO:30,0,"Movie_Name"
CINFO:31,6119,"<b>Source information</b><br>"
CINFO:32,0,"FINAL_DESTINATION_2"
CINFO:33,0,"0"
TINFO:0,8,0,"15"
TINFO:0,9,0,"1:26:18"
TINFO:0,10,0,"3.6 GB"
TINFO:0,11,0,"3884531712"
TINFO:0,24,0,"1"
TINFO:0,25,0,"1"
TINFO:0,26,0,"1-15"
TINFO:0,27,0,"title00.mkv"
TINFO:0,30,0,"15 chapter(s) , 3.6 GB"
TINFO:0,31,6120,"<b>Title information</b><br>"
TINFO:0,33,0,"0"
SINFO:0,0,1,6201,"Video"
SINFO:0,0,5,0,"V_MPEG2"
SINFO:0,0,6,0,"Mpeg2"
SINFO:0,0,7,0,"Mpeg2"
SINFO:0,0,13,0,"7.2 Mb/s"
SINFO:0,0,19,0,"720x576"
SINFO:0,0,20,0,"16:9"
SINFO:0,0,21,0,"25"
SINFO:0,0,22,0,"0"
SINFO:0,0,30,0,"Mpeg2"
SINFO:0,0,31,6121,"<b>Track information</b><br>"
SINFO:0,0,33,0,"0"
SINFO:0,1,1,6202,"Audio"
SINFO:0,1,2,0,"3/2+1"
SINFO:0,1,3,0,"eng"
SINFO:0,1,4,0,"English"
SINFO:0,1,5,0,"A_AC3"
SINFO:0,1,6,0,"DD"
SINFO:0,1,7,0,"Dolby Digital"
SINFO:0,1,13,0,"448 Kb/s"
SINFO:0,1,14,0,"6"
SINFO:0,1,17,0,"48000"
SINFO:0,1,22,0,"0"
SINFO:0,1,30,0,"DD 3/2+1 English"
SINFO:0,1,31,6121,"<b>Track information</b><br>"
SINFO:0,1,33,0,"90"
SINFO:0,2,1,6202,"Audio"
SINFO:0,2,2,0,"3/2+1"
SINFO:0,2,3,0,"eng"
SINFO:0,2,4,0,"English"
SINFO:0,2,5,0,"A_DTS"
SINFO:0,2,6,0,"DTS"
SINFO:0,2,7,0,"DTS"
SINFO:0,2,13,0,"768 Kb/s"
SINFO:0,2,14,0,"6"
SINFO:0,2,17,0,"48000"
SINFO:0,2,22,0,"0"
SINFO:0,2,30,0,"DTS 3/2+1 English"
SINFO:0,2,31,6121,"<b>Track information</b><br>"
SINFO:0,2,33,0,"90"
SINFO:0,3,1,6202,"Audio"
SINFO:0,3,2,0,"2/0"
SINFO:0,3,3,0,"eng"
SINFO:0,3,4,0,"English"
SINFO:0,3,5,0,"A_AC3"
SINFO:0,3,6,0,"DD"
SINFO:0,3,7,0,"Dolby Digital"
SINFO:0,3,13,0,"224 Kb/s"
SINFO:0,3,14,0,"2"
SINFO:0,3,17,0,"48000"
SINFO:0,3,22,0,"0"
SINFO:0,3,30,0,"DD 2/0 English"
SINFO:0,3,31,6121,"<b>Track information</b><br>"
SINFO:0,3,33,0,"90"
SINFO:0,4,1,6202,"Audio"
SINFO:0,4,2,0,"2/0"
SINFO:0,4,3,0,"eng"
SINFO:0,4,4,0,"English"
SINFO:0,4,5,0,"A_AC3"
SINFO:0,4,6,0,"DD"
SINFO:0,4,7,0,"Dolby Digital"
SINFO:0,4,13,0,"224 Kb/s"
SINFO:0,4,14,0,"2"
SINFO:0,4,17,0,"48000"
SINFO:0,4,22,0,"1"
SINFO:0,4,30,0,"DD 2/0 English"
SINFO:0,4,31,6121,"<b>Track information</b><br>"
SINFO:0,4,33,0,"90"
SINFO:0,5,1,6203,"Subtitles"
SINFO:0,5,3,0,"eng"
SINFO:0,5,4,0,"English"
SINFO:0,5,5,0,"S_VOBSUB"
SINFO:0,5,6,0,""
SINFO:0,5,7,0,"Dvd Subtitles"
SINFO:0,5,22,0,"0"
SINFO:0,5,30,0," English"
SINFO:0,5,31,6121,"<b>Track information</b><br>"
SINFO:0,5,33,0,"90"
SINFO:0,6,1,6203,"Subtitles"
SINFO:0,6,3,0,"eng"
SINFO:0,6,4,0,"English"
SINFO:0,6,5,0,"S_VOBSUB"
SINFO:0,6,6,0,""
SINFO:0,6,7,0,"Dvd Subtitles"
SINFO:0,6,22,0,"0"
SINFO:0,6,30,0," English"
SINFO:0,6,31,6121,"<b>Track information</b><br>"
SINFO:0,6,33,0,"90"
SINFO:0,7,1,6203,"Subtitles"
SINFO:0,7,3,0,"eng"
SINFO:0,7,4,0,"English"
SINFO:0,7,5,0,"S_VOBSUB"
SINFO:0,7,6,0,""
SINFO:0,7,7,0,"Dvd Subtitles"
SINFO:0,7,22,0,"0"
SINFO:0,7,30,0," English"
SINFO:0,7,31,6121,"<b>Track information</b><br>"
SINFO:0,7,33,0,"90"

mike admin
Posts: 3581
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Specific Audio Stream Extraction - Command Line.

Post by mike admin » Sat Feb 25, 2012 6:20 am

You have to author a profile with track selection rules and pass it to makemkvcon . See "Advanced" subforum.

Post Reply