Jump to content

No subtitles on any Movie or Episode


JimmyS01

Recommended Posts

JimmyS01

Hi,

When watching on my Apple TV 4K

it will not show any subtitles on movies or Episodes.

The server is running the latest version on Windows 10.

I have tried restarting the server, the Apple TV and also tried reinstalling Emby on it.

From the server log it looks like it fails on extracting the subtitles from the file.

I use embedded srt files in a mkv container

It is working on both my android phone and all the smart TV's

i have access too

 

from the serverlog it reads:

 

2021-12-24 23.38.50.711 Error SubtitleEncoder: Error running ffmpeg-subtitle_extract -i file:"\\MickFlix\Film\Die Hard (1988).mkv" 
-map 0:2 -an -vn -c:s copy "C:\Users\MickFlix\AppData\Roaming\Emby-Server\programdata\cache\temp\831162df19b94750ba9ef322265b78f2.srt"
	*** Error Report ***
	Version: 4.6.7.0
	Command line: C:\Users\MickFlix\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.21
	OS/Process: x64/x64
	Runtime: C:/Users/MickFlix/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\MickFlix\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\MickFlix\AppData\Roaming\Emby-Server\system
	System.TimeoutException: System.TimeoutException: Operation timed out after 600000ms
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, String inputSubtitleCodec, Int32 subtitleStreamIndex, String outputCodec, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
	
2021-12-24 23.38.50.712 Error App: Error getting subtitles
	*** Error Report ***
	Version: 4.6.7.0
	Command line: C:\Users\MickFlix\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.21
	OS/Process: x64/x64
	Runtime: C:/Users/MickFlix/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\MickFlix\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\MickFlix\AppData\Roaming\Emby-Server\system
	System.TimeoutException: System.TimeoutException: Operation timed out after 600000ms
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, String inputSubtitleCodec, Int32 subtitleStreamIndex, String outputCodec, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(ReadOnlyMemory`1 inputPath, String inputSubtitleCodec, MediaProtocol protocol, Int32 subtitleStreamIndex, String outputCodec, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

if you need more from the log let me know

Edited by JimmyS01
Link to comment
Share on other sites

  • 2 weeks later...

@JimmyS01 

We extract the subtitles on the fly, but it looks like for your server this process takes too long. In server transcoding settings you can disable on the fly subtitle transcoding.

Please note, this will result in a lot more transcoding, so you might not like that either. Try to use external subtitles for best performance.

Link to comment
Share on other sites

JimmyS01

@Luke

Ok, so if i keep them external it should work better

One thing, if i upgraded the server wouldn't the extraction potentially be faster too?

Only question for that would be, as i am using my GPU for transcoding, if ffmpeg uses the GPU or the CPU for extracting the subtitles?
My own though would be CPU?

Edited by JimmyS01
Link to comment
Share on other sites

Quote

One thing, if i upgraded the server wouldn't the extraction potentially be faster too?

Yes,, but the extraction has to step through the whole video file, and in many cases it is disk I/O performance that becomes the limiting factor, not cpu/gpu.

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