Transcoding with subtitles

Issue #1059 invalid
Former user created an issue

MKV or external subtitles are not included when file is transcoded. It should be burned in or added to transcoded ts/mkv container.

Comments (14)

  1. Petr Nejedly repo owner

    you will need to provide some details, like a debug log.

    also, did you enable burned-in subtitles in the console?

  2. koca2000

    I will try to explain it on example: I have Panasonic Viera (2013).

    Situation 1: H.264 mkv with external subtitles --> works well

    Situation 2: H.265 mkv with external subtitles and disabled burn-in --> no subtitles

    Situation 3: H.265 mp4 with external subtitles and disabled burn-in --> no subtitles

    Situation 4: H.265 mp4 with external subtitles and enabled burn-in --> works well on TV, but transcoding for PC (Kodi) as well, which is unwanted, because Kodi can handle HEVC with subtitles well

    Situation 5: H.265 mkv with external subtitles and enabled burn-in --> no subtitles on TV and transcoding with subtitles on PC

    In my point of view subtitles should be automatically burned in when file is transcoding. It should solve the problem. Kodi handle H.265 without transcoding, so there should be no burned-in subtitles and Viera will be transcoding file because of H.265, so it will automatically burn-in subtitle.

  3. Petr Nejedly repo owner

    Situations 2, 3 and 5 should work. Can you send detailed log when playing these files? Especially situation 5, that should work, unless the subtitles file is damaged or something.

    Showing subs when transcoding will not be automatically enabled, as some users might not prefer showing subs even if they have the file.

  4. Petr Nejedly repo owner

    Thanks for these.

    Quickly looked, and 2 & 3 look ok, Serviio serves the subtitle as a resource, but the TV never makes a request for it. Not sure why, but doesn't seem to be a problem on Serviio side.

    For 5, I'll check and try to reproduce.

  5. koca2000

    I created a new profile for using Kodi without burned subtitles, when they are enabled.

        <Profile id="kodi" name="Kodi" extendsProfileId="1">
            <Detection>
                <HttpHeaders>
                    <User-Agent>.*Kodi.*</User-Agent>
                </HttpHeaders>
            </Detection>
            <Subtitles>
                <SoftSubs mime-type="text/srt" type="srt" character-encoding="utf-8" />
                <HardSubs>
                    <BitmapBased supported="false"/>
                    <TextBased supported="false"/>
                </HardSubs>
            </Subtitles>
        </Profile>
    
  6. Petr Nejedly repo owner

    So I tried scenario 5 (burned in with a file that is normally transcoded) and it worked for me. Are you sure you :

    • enabled burned in
    • entered language code in the console (if the subtitle file has language code in the file name)
  7. koca2000

    I made some more tests. I have burned in enabled and subtitles didn't work no matter if they had or hadn't language code in file name.

    Also I have specified language codes in console:

    cze,cz,cs,cz-cs
    
  8. Petr Nejedly repo owner

    Ok, found out why scenario 5 doesn't burn-in. If you look at the Vieira 2013 profile, is only supports HardSubs for mp4 containers. I assume that was done due to the TV not showing soft subs for mp4 files.

    Will close this ticket as it seems to be either a TV sw issue or config setting is Serviio.

  9. Log in to comment