Page 1 of 1

Can HandBrakeCLI do Foreign Audio Search for subtitles?

Posted: Fri Feb 25, 2022 9:19 pm
by MickM
I'm trying to automate the compression of my ripped DVD collection. In the GUI I can check Foreign Audio Search in the subtitles tab and that performs a function I highly value. Is there a way to do the same thing in HandBrakeCLI? If so, can you detect (e.g. via a returned value) if such a subtitle is detected?
I have asked this question before in another thread but never got an answer, so I thought I'd start a new thread specifically just for this.

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Posted: Fri Feb 25, 2022 11:44 pm
by Woodstock

Code: Select all

  -s, --subtitle <string>  Select subtitle track(s), separated by commas
                           More than one output track can be used for one
                           input. "none" for no subtitles.
                           Example: "1,2,3" for multiple tracks.
                           A special track name "scan" adds an extra first
                           pass. This extra pass scans subtitles matching
                           the language of the first audio or the language 
                           selected by --native-language.
                           The one that's only used 10 percent of the time
                           or less is selected. This should locate subtitles
                           for short foreign language segments. Best used in
                           conjunction with --subtitle-forced.

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Posted: Sat Feb 26, 2022 12:11 am
by MickM
A big thank you for not calling me a bloody idiot - this was right under my nose the whole time :-/

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Posted: Sat Feb 26, 2022 3:22 am
by Woodstock
CLI has a steep learning curve. I still miss things, and more than 90% of my encodes are CLI.