Jump to content

HLS subtitles are not supported


Recommended Posts

Posted

Hello guys,

 

I searched on the forum but could not find anything regarding HLS subtitles causing error so here I am.

 

Problem 1:

 

I'm experiencing the famous "Playback error..." when watching some episodes.

I took a look at the logs and it crashed because "HLS Subtitles are not supported for this media."

The strange thing is that it happens only on 2 episodes (out of 8) even if the 8 seems to be encoded with the same settings and the same set of subtitles.

Some info that may help:

  1. If I play the "faulty" episode without subtitles it works.
  2. If I play the "faulty" episode with whatever subtitles it fails.
  3. I can play the other episode with or without subtitles without any error.

 

Exhibit 1 the logs (full logs attached)

 

2019-03-11 17:50:22.305 Error HttpServer: Error processing request
        *** Error Report ***
        Version: 4.0.2.0
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Unix 4.9.0.8
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Processor count: 6
        Program data path: /var/lib/emby
        Application directory: /opt/emby-server/system
        System.ArgumentException: System.ArgumentException: HLS Subtitles are not supported for this media.
           at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.Get(GetSubtitlePlaylist request)
           at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
           at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
        Source: Emby.Server.MediaEncoding
        TargetSite: Void MoveNext()
           at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.Get(GetSubtitlePlaylist request)
           at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
           at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
 

 

Exhibit 2 : The mediainfo from 2 episodes, the first one is working, the second one is not. Files attached.

 

Problem 2:(probably linked to Problem 1 but if not I can make a separate thread)

 

On the same faulty episode, when I play it without any subtitles, the progression time bar bugs, see screenshot below.(0:02/0:10)

 

5c86988a76ab1_faultytime1.png

 

 

Few seconds later the lenght of the episode appears to be 10:30

5c869898a666f_faultytime2.png

 

On the dashboard page, the transcoding information are not shown as usual:

 

5c8698a5395be_faultytranscode.png

 

 

Improvement idea:

Last but not least, it seems there is no error recovery for this kind of situation.

If we take the above example:

  1. I'm playing the "faulty" episode without any subtitles and it works
  2. I realise I need subtitles (because you know, french people don't speak english ;) ). So I click on the CC icon and chose the first one -> It fails (blackscreen etc.)
  3. Ok nevermind I will watch it without any subtitles, so I click on the CC icon and change it back to "Off". I would expect it to work but it doesn't. I have to go back on the episode screen, and start again the episode.

 

So to sum up:

  1. What do I need to do to play the faulty episode ?
  2. Is Problem 2 linked to Problem 1 ?
  3. Can this error recovery be implemented easily ?

 

A lot of things in one thread, admins, do tell me if I need to split it.

 

Regards,

logs.txt

faulty-episode.txt

working-episode.txt

Posted

Hi, this is resolved for emby server 4.1. thanks.

  • 3 months later...
WonkoTheSane
Posted

Hello Luke,

 

I'm running Emby Server 4.1.1.0 and I see a similar error in my log file when playing a certain

episode:

 

2019-06-20 18:50:18.548 Error HttpServer: Error processing request	*** Error Report ***	Version: 4.1.1.0	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3	Operating system: Unix 4.19.41.0	64-Bit OS: True	64-Bit Process: True	User Interactive: True	Runtime: file:///system/System.Private.CoreLib.dll	Processor count: 4	Program data path: /config	Application directory: /system	System.ArgumentException: System.ArgumentException: HLS Subtitles are not supported for this media.	   at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.Get(GetSubtitlePlaylist request)	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)	Source: Emby.Server.MediaEncoding	TargetSite: Void MoveNext()	

 

The file plays fine with VLC. If you need additional information regarding this issue, please let me know.

 

 

Best regards

 

Matthias

Posted

It's resolved for the next release. Thanks.

WonkoTheSane
Posted

Alright, thanks!

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...