Jump to content

Emby error with some subtitles


Recommended Posts

Posted

Hi,

 

I'm running emby server 4.1.1.0 on centos, and I have some issue with subtitles ( .srt files). I named them with the same name of the mkv but it seems like emby crash when I try to read it.

 

2019-05-16 20:05:24.120 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Started.2019-05-16 20:05:24.169 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 12019-05-16 20:05:24.169 Error SubtitleEncoder: ffmpeg subtitle conversion failed for ***.srt2019-05-16 20:05:24.169 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output:	2019-05-16 20:05:24.169 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output:	ffmpeg version 4.0.3-emby_2019_03_26 Copyright (c) 2000-2018 the FFmpeg developers and softworkz for Emby LLC	  built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)	Local Time: 20:05:24	T=0.000s	T=0.001s	***.srt: Invalid data found when processing input	2019-05-16 20:05:24.170 Error HttpServer: Error processing request	*** Error Report ***	Version: 4.1.1.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-rpm_{version}_x86_64.rpm	Operating system: Unix 3.10.0.957	64-Bit OS: True	64-Bit Process: True	User Interactive: True	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll	Processor count: 4	Program data path: /var/lib/emby	Application directory: /opt/emby-server/system	System.Exception: System.Exception: ffmpeg subtitle conversion failed for ***.srt	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle 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()

 

When I open the mkv with VLC for example, everything working correctly.

Can someone help me on this ?

 

Thank you.

Posted

Hi, is that an empty subtitle file?

Posted

No the subtitle file is not empty (I can read it correctly with vlc). On androd TV, the video plays fine but the are no subtitle, while on the web app this crash as there is no video no sound and of course no subtitle.

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