Can HandBrakeCLI do Foreign Audio Search for subtitles?

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
MickM
Novice
Posts: 68
Joined: Sat Nov 04, 2017 3:45 pm

Can HandBrakeCLI do Foreign Audio Search for subtitles?

Post 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.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Post 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.
MickM
Novice
Posts: 68
Joined: Sat Nov 04, 2017 3:45 pm

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Post by MickM »

A big thank you for not calling me a bloody idiot - this was right under my nose the whole time :-/
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Can HandBrakeCLI do Foreign Audio Search for subtitles?

Post by Woodstock »

CLI has a steep learning curve. I still miss things, and more than 90% of my encodes are CLI.
Post Reply