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
Subtitle font/color tags being are being burned into the subtitle as text.... #2494
I'm attempting to burn in some subtitles, and am stumped as to why the font/color tags are being burned into the video subtitles as well. in the video a subtitle might read " <font face="Tahoma" color="#ffff95"> blah blah blah "
When the video file and subtitle file are loaded into VLC player, subtitles display as expected. But in Handbrake, the tag coding gets burned in too.
subtitle settings are as follows:
Foreign Audio Scan, Forced only (checked), Burn In (unchecked), Default (unchecked)
Lang:English, Char Code:UTF-8, Offset:None, Burn in (checked), Default (unchecked)
There is no SRT specification. If you do a search online you'll find a few resources that list some tags, but you'll not find much agreement. SRT is really just a collection of what some random set of programs has decided to implement. Some software (including HandBrake currently) even accepts substation alpha tags in SRT files.
So, when HandBrake's SRT support was written, the author didn't have a resource or even sample files that included the font face tag. We ignore it and it ends up in the text that we burn into the video instead of selecting the font it defines.
I'm working on a pull request that should fix this and make it easier to add additional subtitle support people have been asking for. #2495
Activity
jstebbins commentedon Dec 9, 2019
There is no SRT specification. If you do a search online you'll find a few resources that list some tags, but you'll not find much agreement. SRT is really just a collection of what some random set of programs has decided to implement. Some software (including HandBrake currently) even accepts substation alpha tags in SRT files.
So, when HandBrake's SRT support was written, the author didn't have a resource or even sample files that included the font face tag. We ignore it and it ends up in the text that we burn into the video instead of selecting the font it defines.
I'm working on a pull request that should fix this and make it easier to add additional subtitle support people have been asking for. #2495
jstebbins commentedon Mar 29, 2020
These tags should now be supported properly via
9f7c511
Should be available soon in the nightly builds for anyone that would like to test