Page 1 of 1

handbrakecli burning foreign audio scan subtitles

Posted: Sat Aug 11, 2018 8:54 pm
by beastmorgan
Running Windows 10 x64 v1803, handbrakecli and gui v1.1.1

How do I get the cli to only burn in a subtitle if it detects one from the foreign audio scan. Right now it burns the first track if it doesn't find foreign audio.
Here's part of what the cli exports:

"SubtitleAddCC": false,
"SubtitleAddForeignAudioSearch": true,
"SubtitleAddForeignAudioSubtitle": false,
"SubtitleBurnBDSub": false,
"SubtitleBurnBehavior": "foreign_first",
"SubtitleBurnDVDSub": false,
"SubtitleLanguageList": [
"eng"
],
"SubtitleTrackSelectionBehavior": "all",

Whereas this is what the gui exports

"SubtitleAddCC": true,
"SubtitleAddForeignAudioSearch": true,
"SubtitleAddForeignAudioSubtitle": false,
"SubtitleBurnBehavior": "foreign",
"SubtitleBurnBDSub": false,
"SubtitleBurnDVDSub": false,
"SubtitleLanguageList": [
"eng"
],
"SubtitleTrackSelectionBehavior": "all",

The CC would be nice, but it's not as important. The relevant cli commands I'm using: --subtitle-lang-list eng --all-subtitles --subtitle scan --subtitle-forced=1 --subtitle-burned=1