Jump to content

Roku subtitles


nfg177

Recommended Posts

nfg177

When i watch on my pc through emby theater the subtitles show up and work perfectly. When trying to watch on my roku TV the subtites show in the dropdown menu however they do not show up when playing the media. Noticed only with MKV files. Any ideas ?

Link to comment
Share on other sites

pwhodges

To enable anyone to say anything useful, it would help to know what kind of subtitles they are (see the bottom of the details screen for the item), and what the various settings in the server and the Roku relating to subs are set to.  Most of this information is saved in the server log from the time you had the issue, so the starting point is to provide that as detailed in this advice:

Paul

  • Thanks 1
Link to comment
Share on other sites

pwhodges

Have you set the Roku configuration to request burning-in of SSA/ASS subtitles?

Paul

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, pwhodges said:

Have you set the Roku configuration to request burning-in of SSA/ASS subtitles?

Yes, please select this option in the app playback settings.

  • Thanks 1
Link to comment
Share on other sites

rotational467

Hi there, new Premiere user and I'm seeing something similar:

Server v4.7.1.0 on Ubuntu 20.04

Roku OS 11.0.0 build 4193-29

Emby Roku App 4.0.55

Roku and server on same local network.  Source media is MKV with x265 video, DTS-HD audio, embedded PGS subs.  It direct plays when subs are off.

If playback is started and subs are turned off, turning them on during playback does not trigger a transcode (and thus no subs).  After stopping playback, the subs remain enabled, and when re-starting playback the transcode will happen and subs are displayed properly.

If playback is started and subs are turned on, turning them off during playback works properly - the stream switches to direct play.  They cannot be re-enabled without stopping and restarting playback as above.

Same behavior regardless of "Burn in SSA" option in the client.  The user's subtitle language is set to English and the mode is Default.

Embedded ASS and external SRT can be turned on/off without issue during playback (transcoding not required).  So it seems like it's an issue of the transcode not being forcibly triggered when enabling embedded PGS during playback.  It's a minor issue but the wife did notice it pretty quickly as she prefers subs on (we just set her sub mode to Always Play).

Checking the embyserver.txt log file, there is no event logged on the server when the PGS subs are enabled during playback, unlike when enabling external SRT:

 

2022-06-02 14:13:56.675 Info Server: http/1.1 GET http://192.168.2.5:8096/emby/Videos/280/b1d7bdcb2c115fb30b64e74c403ee5f5/Subtitles/2/0/Stream.srt. Accept=*/*, Host=192.168.2.5:8096, User-Agent=Roku/DVP-11.0 (11.0.0.4193-29), Accept-Encoding=deflate, gzip
2022-06-02 14:13:56.685 Info Server: http/1.1 Response 200 to host3. Time: 355ms. http://192.168.2.5:8096/emby/Videos/280/stream.mkv?static=true&mediaSourceId=b1d7bdcb2c115fb30b64e74c403ee5f5
2022-06-02 14:13:56.771 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -sub_charenc:s:0 ASCII -i "/share/Video/Movies/Total Recall (1990)/Total Recall (1990).eng.srt" -map 0:0 -vn -an -c:s:0 subrip "/scratch/embytemp/cache/temp/80361db26c2d41a0b361ea2485a37d65.srt"
2022-06-02 14:13:56.796 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 0 - Succeeded
2022-06-02 14:13:56.798 Info SubtitleEncoder: ffmpeg subtitle conversion took 33ms for /share/Video/Movies/Total Recall (1990)/Total Recall (1990).eng.srt
2022-06-02 14:13:56.800 Info Server: http/1.1 Response 200 to host3. Time: 124ms. http://192.168.2.5:8096/emby/Videos/280/b1d7bdcb2c115fb30b64e74c403ee5f5/Subtitles/2/0/Stream.srt

vs embedded PGS (subs were enabled at 14:20:02):

2022-06-02 14:19:45.415 Info SessionManager: Playback start reported by app Roku SG 4.0.55 playing Mole Hunt. Started at 0 ms
2022-06-02 14:19:45.416 Info Server: http/1.1 Response 204 to host3. Time: 5ms. http://192.168.2.5:8096/emby/Sessions/Playing
2022-06-02 14:19:45.446 Info Server: http/1.1 GET http://192.168.2.5:8096/emby/Videos/3344/stream.mkv?static=true&mediaSourceId=61571b027f2a11f74b7064bc20890016. Accept=*/*, Host=192.168.2.5:8096, User-Agent=Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:19:48.231 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:19:48.233 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.2.5:8096/emby/Sessions/Playing/Progress
2022-06-02 14:19:58.611 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:19:58.614 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.2.5:8096/emby/Sessions/Playing/Progress
2022-06-02 14:20:02.368 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:20:02.373 Info Server: http/1.1 Response 204 to host3. Time: 5ms. http://192.168.2.5:8096/emby/Sessions/Playing/Progress
2022-06-02 14:20:02.863 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:20:02.866 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.2.5:8096/emby/Sessions/Playing/Progress
2022-06-02 14:20:13.928 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:20:13.930 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.2.5:8096/emby/Sessions/Playing/Progress
2022-06-02 14:20:16.784 Info Server: http/1.1 Response 200 to host3. Time: 31339ms. http://192.168.2.5:8096/emby/Videos/3344/stream.mkv?static=true&mediaSourceId=61571b027f2a11f74b7064bc20890016
2022-06-02 14:20:17.171 Info Server: http/1.1 POST http://192.168.2.5:8096/emby/Sessions/Playing/Stopped. UserAgent: Roku/DVP-11.0 (11.0.0.4193-29)
2022-06-02 14:20:17.173 Info SessionManager: Playback stopped reported by app Roku SG 4.0.55 playing Mole Hunt. Stopped at 29000 ms

 

Edited by rotational467
typos
Link to comment
Share on other sites

1 hour ago, rotational467 said:

If playback is started and subs are turned off, turning them on during playback does not trigger a transcode (and thus no subs). 

@speechles can you see if you can reproduce this?

Link to comment
Share on other sites

nfg177
On 5/29/2022 at 4:55 AM, pwhodges said:

Have you set the Roku configuration to request burning-in of SSA/ASS subtitles?

Paul

Worked thank u

Link to comment
Share on other sites

10 hours ago, ebr said:

@speechles can you see if you can reproduce this?

I can see what is happening.Sure.

  • Thanks 2
Link to comment
Share on other sites

  • 6 months later...
On 5/29/2022 at 7:55 AM, pwhodges said:

Have you set the Roku configuration to request burning-in of SSA/ASS subtitles?

Paul

I think I'm having this issue but can't find this setting/how to request burning in.  Where is it?

Thanks

 

Edit: I think I found it, under transcoding I unchecked Allow subtitle extraction on the fly and now ASS subs are showing using Roku.

Edited by zebo51
Link to comment
Share on other sites

16 minutes ago, zebo51 said:

I think I'm having this issue but can't find this setting/how to request burning in.  Where is it?

Thanks

 

Edit: I think I found it, under transcoding I unchecked Allow subtitle extraction on the fly and now ASS subs are showing using Roku.

Hi, did you read the help text underneath that option?

Link to comment
Share on other sites

9 hours ago, Luke said:

Hi, did you read the help text underneath that option?

Yes but not sure if it is the same as mentioned above about "Roku configuration to request burning-in of SSA/ASS subtitles".  Maybe the wording has changed.

I know I never had trouble with subs before either in an mkv/mp4 file or external SRT, but I noticed it when Shantaram came out.  It was working fine, then on E06 I noticed it wasn't so had to start getting the SRT file for subs.  Then I checked another show and it didn't work either.  So I don't know what changed if it had to do with a Roku update or Emby update or what happened.

Link to comment
Share on other sites

2 hours ago, zebo51 said:

Yes but not sure if it is the same as mentioned above about "Roku configuration to request burning-in of SSA/ASS subtitles"

Hi.  No that is not the option pwhodges was referring to.  The option he was talking about is in the playback settings in the Roku app itself.

Link to comment
Share on other sites

28 minutes ago, ebr said:

Hi.  No that is not the option pwhodges was referring to.  The option he was talking about is in the playback settings in the Roku app itself.

Ah now I see it.  If I enable that, it won't actually change my media permanently on my storage will it?

Link to comment
Share on other sites

  • 2 weeks later...
zebo51
On 12/20/2022 at 11:20 AM, ebr said:

No, it will not.

Great thanks, been working.  Although instead of the show starting right away it now takes maybe 15-20 secs showing the loading circle with % in the middle, guessing it is transcoding the show to add the subs. 

Link to comment
Share on other sites

On 1/3/2023 at 7:00 AM, zebo51 said:

Great thanks, been working.  Although instead of the show starting right away it now takes maybe 15-20 secs showing the loading circle with % in the middle, guessing it is transcoding the show to add the subs. 

Hi, yes that is correct.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...