www.makemkv.com

MakeMKV support forum
It is currently Mon Jul 16, 2018 10:20 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Mar 20, 2018 12:13 pm 
Offline

Joined: Tue Mar 20, 2018 11:47 am
Posts: 6
Hi...

I have noticed that for some reason my script is only extracting the lossy audios... Is there a way to do the contrary? Extract only 1 lossless audio track for each language?

My current script is this

Code:
  makemkvcon mkv iso:"$file" all --minlength=3600 "$1"


Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 20, 2018 1:26 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5195
You can change the default selection rule to favor lossless. I can't give you that string, because I use a string to extract ALL audio.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 25, 2018 1:19 am 
Offline

Joined: Tue Mar 20, 2018 11:47 am
Posts: 6
Woodstock wrote:
You can change the default selection rule to favor lossless. I can't give you that string, because I use a string to extract ALL audio.


I have no idea on how to do that :/


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 25, 2018 3:43 am 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5195
Actually, working strictly with the command line, default selection strings aren't going to matter; the GUI calls the CLI to get the disk track information, applies the selection rules, and then builds a command line to get those tracks with the CLI.

And /developers/usage.txt doesn't really cover what you're looking for...

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 26, 2018 11:08 am 
Offline

Joined: Tue Mar 20, 2018 11:47 am
Posts: 6
So it's impossible? :/


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 26, 2018 1:57 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5195
Not impossible; the information IS available, but it is a multi-part process. Your script has to do the work of the GUI interface, which means you have to call the CLI to get the information to know what is on the disk, parse it to find which tracks you CAN chose, apply your rules to it, and then call the CLI with a command line to fetch the tracks you want.

Complicating it is that they CLI is not documented to the level necessary to do this without a lot of manual work, locating the "hidden command switches", and testing them to verify how they work. I haven't bothered to go to that point, but others have.

viewtopic.php?f=10&t=9345 is one such effort, and it might provide some insight to your question.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group