Jump to content

Question about subtitles


Serios

Recommended Posts

Serios

As title states, there is a problem with subtitles over DLNA again.

 

From log file:

2015-04-21 15:06:02.8806 Info - SubtitleEncoder: UniversalDetector detected charset UTF-8 for E:\Media\Movies\Agora\Agora.720p.HD.srt
2015-04-21 15:06:02.9026 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
	*** Error Report ***
	Version: 3.0.5588.0
	Command line: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Unsupported format: ass
	System.ArgumentException
	   at MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder.GetWriter(String format)
	   at MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder.<ConvertSubtitles>d__0.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder.<GetSubtitles>d__c.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Subtitles.SubtitleService.<GetSubtitles>d__f.MoveNext()
	
2015-04-21 15:06:02.9026 Error - HttpServer: Error processing request for /Videos/d68e101dfe53c5f837316bf40a84a218/d68e101dfe53c5f837316bf40a84a218/Subtitles/2/0/Stream.ass
	*** Error Report ***
	Version: 3.0.5588.0
	Command line: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Master of Web\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe
	Unsupported format: ass
	ServiceStack.HttpError
	No Stack Trace Available

Don't know what changed in the code, but apperently is breaking subtitles functionality.

Link to comment
Share on other sites

Serios

I've told you many times already - .ass is not a supported text output format

 

With whole my respect, but as I mentioned every time - Not a single movie in my library have .ass subtitles, You can check in the part of the log file I posted, that Emby tries to load a srt file

2015-04-21 15:06:02.8806 Info - SubtitleEncoder: UniversalDetector detected charset UTF-8 for E:\Media\Movies\Agora\Agora.720p.HD.srt

So I'm puzzled why is this error then?

...
2015-04-21 15:06:02.9026 Error - HttpServer: Error processing request for /Videos/d68e101dfe53c5f837316bf40a84a218/d68e101dfe53c5f837316bf40a84a218/Subtitles/2/0/Stream.ass

...
Unsupported format: ass
Link to comment
Share on other sites

i recall you added .ass as an output to the dlna profile for that device. by doing so you're telling the server to convert all text based subtitles to .ass, except we don't actually have a converter for that. we have .srt and .vtt.

Link to comment
Share on other sites

Serios

Well you are right, leaving only srt and vtt as subtitle profiles fixed the problem, but the lack of the information in the wiki and about mechanisms behind dlna profiles is quite of confusing. Anyway thank you again.

Link to comment
Share on other sites

sorry, we haven't had a chance to write up this section yet but i know that i have given you this exact advice before. can probably find it by searching.

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