Skip to content

Subtitle font/color tags being are being burned into the subtitle as text.... #2494

Closed

Description

@lostinperiphery

Description of the problem

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)

and these are the subtitles I'm attempting to use:
https://subscene.com/subtitles/game-of-thrones-first-season-1/english/1958689

HandBrake version (e.g., 1.0.0)

1.3.0

Operating system and version (e.g., Ubuntu 18.04 LTS, macOS 10.14 Mojave, Windows 10 1809)

Windows 7

Error message text or screenshot

NA

HandBrake Activity Log (see https://handbrake.fr/docs/en/latest/help/activity-log.html)

Please replace this text with the Activity log, or upload the log file to Github by dropping the file on this post.
Leave the ~ marks above and below.

Activity

  1. jstebbins commented on Dec 9, 2019

    @jstebbins
    Contributor

    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

  2. added this to the 1.4.0 milestone on Mar 29, 2020
  3. jstebbins commented on Mar 29, 2020

    @jstebbins
    Contributor

    These tags should now be supported properly via
    9f7c511

    Should be available soon in the nightly builds for anyone that would like to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions