You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is it possible to let VidCoder pick up more than one external soft subtitle automatically? #1075
Such a feature would need to automatically determine the language from the sub-extension there. Is it common to have the three-letter ISO abbreviation there?
It's a real PITA having to encode hundreds of files with two soft subtitles when only one ss is being recognized, but I understand if it is a struggle to implement that. Thanks for looking into it.
I dream of a watchfolder process where you could throw in a series of files and let VidCoder do the rest. Without intervention of the user after setting up the preset and settings in VidCoder.
If you could add a recognition for forced subs, similar to this, that would let VidCoder set a forced sub to be burned in while importing.
I simply add a "forced" to the filename like this to the subtitles filenames:
myVideo.lng-forced.ext
You coud add it as a third option in Picker settings at Subtitles > Burn in > None / First / Forced
If there are two or more "forced" subs available from the video a preferred language should be set somewhere.
I think whatever I write should be flexible enough to be useful to any user of VidCoder. If I write it to expect a non-standard format, it be a very useful feature.
I don't have a specific suggestion. But I do have standards for what features I would accept into VidCoder, and standards for what I would spend my time on developing. Hard-coding something that picks up a file format that only you use doesn't meet either of those bars.
There's also the issue that if I exposed the UI for what to do with "forced" subtitles, people might assume that it's using something inside the subtitle file to detect that, without knowing that they need to use a specific file naming format.
Okay, well the standard is what is commonly used. How do people distinguish the normal from the hearing impaired and forced subtitles? I add "nothing" for normal, "-sdh" for hearing impaired and "-forced" for forced subtitles to the filenames.
I don't know what ohters use, but perhaps they will let us know in the future in this topic.
Sadly, that leaves us by not being able to use VidCoder's watchfolder feature with subtitles.
Anyway, I'm very happy with your solution to be able to add external subtitles automatically!
Hey, wanted to let you know that i've found a naming of forced and sdh subtitle files that VidCoder will pick up without changing anything.
That way you can distinguish them not only by language.
Still, VidCoder won't tag them as a "forced" or "sdh" subtitle and won't give it that custom name being a "forced" or "sdh" subtitle, but at least it will include them all in batch conversion, separated by language!
For forced subtitles:
videofilename.forced.deu.srt
For hearing impaired:
videofilename.sdh.deu.srt
Thanks again for making external subtitles to work with VidCoder.
Not sure if this is related to Handbrake core, but will let you know my thoughts on this:
To tag these external subtitles as "forced", "sdh" or "normal" would be nice for playback software or TVs, because in there, you can set the preferred subtitle behavior and make sure which subtitle to show by default or along with which audio language.
To give them even a name in encoded file as "forced", "sdh" or "normal", a user would see directly which subtitle to choose! If there is no name set, language will be shown only.
These two functions are something you could think about, it would certainly round up the subtitle topic.
If tagged, a video player software or TV will pick that up and show if set to show forced or sdh preferrably over "normal" subtitles. A "normal" subtitle would be without additional Sounddescription.
One more limitation is that the HandBrake core API that VidCoder uses doesn't have the ability to tag subtitle tracks as "forced" or "sdh". There's an option to pick "forced only" out of a subtitle track where some of the subtitles are set as forced, but there's no way to tag the output subtitle with that information.
Activity
RandomEngy commentedon Nov 6, 2022
Such a feature would need to automatically determine the language from the sub-extension there. Is it common to have the three-letter ISO abbreviation there?
mpek commentedon Nov 6, 2022
Thank you for considering.
Three-letter ISO abbreviation would be preferable!
mpek commentedon Nov 8, 2022
@AlexJCarstensen had this idea here already.
It's a real PITA having to encode hundreds of files with two soft subtitles when only one ss is being recognized, but I understand if it is a struggle to implement that. Thanks for looking into it.
RandomEngy commentedon Jun 24, 2024
I added this capability in v11.0 Beta. If the language code is recognized, it will pull in the myVideo.lng.ext subtitle file.
mpek commentedon Jun 26, 2024
Great improvement! Thank you very much.
mpek commentedon Jun 26, 2024
I dream of a watchfolder process where you could throw in a series of files and let VidCoder do the rest. Without intervention of the user after setting up the preset and settings in VidCoder.
If you could add a recognition for forced subs, similar to this, that would let VidCoder set a forced sub to be burned in while importing.
I simply add a "forced" to the filename like this to the subtitles filenames:
myVideo.lng-forced.ext
You coud add it as a third option in Picker settings at Subtitles > Burn in > None / First / Forced
If there are two or more "forced" subs available from the video a preferred language should be set somewhere.
RandomEngy commentedon Jun 29, 2024
Is the "-forced" modifier a common standard, or just one that you use?
mpek commentedon Jun 30, 2024
I'm not sure there is a standard yet at all for naming forced subtitles. I just use it to distinguish, as it makes sense to me. What do you think?
RandomEngy commentedon Jun 30, 2024
I think whatever I write should be flexible enough to be useful to any user of VidCoder. If I write it to expect a non-standard format, it be a very useful feature.
mpek commentedon Jun 30, 2024
And what is your suggestion naming forced subtitles then?
RandomEngy commentedon Jun 30, 2024
I don't have a specific suggestion. But I do have standards for what features I would accept into VidCoder, and standards for what I would spend my time on developing. Hard-coding something that picks up a file format that only you use doesn't meet either of those bars.
There's also the issue that if I exposed the UI for what to do with "forced" subtitles, people might assume that it's using something inside the subtitle file to detect that, without knowing that they need to use a specific file naming format.
mpek commentedon Jun 30, 2024
Okay, well the standard is what is commonly used. How do people distinguish the normal from the hearing impaired and forced subtitles? I add "nothing" for normal, "-sdh" for hearing impaired and "-forced" for forced subtitles to the filenames.
I don't know what ohters use, but perhaps they will let us know in the future in this topic.
Sadly, that leaves us by not being able to use VidCoder's watchfolder feature with subtitles.
Anyway, I'm very happy with your solution to be able to add external subtitles automatically!
mpek commentedon Jul 25, 2024
Hey, wanted to let you know that i've found a naming of forced and sdh subtitle files that VidCoder will pick up without changing anything.
That way you can distinguish them not only by language.
Still, VidCoder won't tag them as a "forced" or "sdh" subtitle and won't give it that custom name being a "forced" or "sdh" subtitle, but at least it will include them all in batch conversion, separated by language!
For forced subtitles:
videofilename.forced.deu.srt
For hearing impaired:
videofilename.sdh.deu.srt
Thanks again for making external subtitles to work with VidCoder.
Not sure if this is related to Handbrake core, but will let you know my thoughts on this:
To tag these external subtitles as "forced", "sdh" or "normal" would be nice for playback software or TVs, because in there, you can set the preferred subtitle behavior and make sure which subtitle to show by default or along with which audio language.
To give them even a name in encoded file as "forced", "sdh" or "normal", a user would see directly which subtitle to choose! If there is no name set, language will be shown only.
These two functions are something you could think about, it would certainly round up the subtitle topic.
If tagged, a video player software or TV will pick that up and show if set to show forced or sdh preferrably over "normal" subtitles. A "normal" subtitle would be without additional Sounddescription.
RandomEngy commentedon Aug 3, 2024
One more limitation is that the HandBrake core API that VidCoder uses doesn't have the ability to tag subtitle tracks as "forced" or "sdh". There's an option to pick "forced only" out of a subtitle track where some of the subtitles are set as forced, but there's no way to tag the output subtitle with that information.
mpek commentedon Aug 4, 2024
Thank you for further investigating this and explaining the disabilities of the Handbrake API with subtitles.