FAQ  •  Register  •  Login

Enabling subtitles causing error on KDL-47W805

<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 9:33 am

Enabling subtitles causing error on KDL-47W805

Hi all,

I have been using Serviio for some time now. Asbolutely love the tool!

That being said, I do encounter a strange issue. I have been googling for the same, without result.

I have a KDL-47W805 and running Serviio on my late 2012 Macbook Pro. Streaming 1080p movies is effortlessly done by Serviio. However, when I enable subtitles and I have for example a .mp4 files with a .srt with exact same name, my tv shows the following error message: "Temporary cannot access the Server. Please retry." When I go to the Serviio Console, disable subtitles and start the movie on my tv, it works fine (without subtitles ofcourse). When I have an .mkv with embedded subtitles, it will load for a while on my tv and give the message: "Cannot access server." When I disable the subtitles again, it runs fine.

Am I doing something wrong? I understood that subtitles have been recently added as a feature for this model? Please help me work this out. I have assigned the Sony Bravia 2013 profile to the device in the console.

Thanks!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 9:41 am

Re: Enabling subtitles causing error on KDL-47W805

Could you enable detailed logging and check line where subtitles are extracted from mkv, and when file is transcoded (with sub burning) ?

Where does your movie are stored, on local disk (Hard Drive or SSD), or on remote network hard drive... there were some problem to extract sub from remote directory, and I read some problem with SSD hard drive.
<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 9:51 am

Re: Enabling subtitles causing error on KDL-47W805

Please see my logging:

2014-01-14 10:19:35,088 INFO [RendererManager] Stored a new renderer: uuid='4bbfca69-aef9-4397-ace6-248d62e109a3', name = 'Unrecognized device', ipAddress='192.168.178.11', profile = '1'
2014-01-14 10:22:16,677 WARN [ProcessExecutor] Process /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
handler_name : GPAC ISO Audio Handler
[Parsed_setdar_1 @ 0x134fc90] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_subtitles_2 @ 0x134fdc0] Unable to open /Users/MAC/Downloads/Iron Man 3 (2013) [1080p]/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt
[AVFilterGraph @ 0x134e9d0] Error initializing filter 'subtitles' with args 'filename=/Users/MAC/Downloads/Iron Man 3 (2013) \[1080p\]/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt:original_size=1920x800:charenc=UTF-8'
Error opening filters!
2014-01-14 10:22:28,020 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:49)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:134)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:110)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:153)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:121)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:100)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:81)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)


My movies are stored on local HDD (not SSD). It's a 2.5 GHz Intel Core i5 with 8Gb 1600 Mhz DDR3 memory.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 10:40 am

Re: Enabling subtitles causing error on KDL-47W805

I think the problem come from access to your srt file
/Users/MAC/Downloads/Iron Man 3 (2013) [1080p]/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt

Could you remove special character from file path, like [ an ], refresh this library path and retry ?
<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 10:47 am

Re: Enabling subtitles causing error on KDL-47W805

Sorry, still the same issue. I get the error on my screen: "Temporarily cannot access the server. Please retry"

2014-01-14 11:02:47,662 INFO [SearchManager] Starting up search engine
2014-01-14 11:02:48,902 INFO [LibraryAdditionsCheckerThread] Added file '8.Mile.2002.720p.BluRay.x264-CtrlHD.mkv' (title: 8 Mile) to Library
2014-01-14 11:42:55,798 INFO [LibraryAdditionsCheckerThread] Added file 'Iron.Man.3.2013.1080p.BluRay.x264.YIFY.mp4' (title: Iron Man 3) to Library
2014-01-14 11:43:00,130 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2014-01-14 11:43:00,302 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2014-01-14 11:43:00,474 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2014-01-14 11:43:00,474 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2014-01-14 11:43:00,586 INFO [LibraryUpdatesCheckerThread] Removing 'Iron Man 3' (/Users/MAC/Downloads/Iron Man 3 (2013) [1080p]/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.mp4) from Library
2014-01-14 11:44:08,762 WARN [ProcessExecutor] Process /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
handler_name : GPAC ISO Audio Handler
[Parsed_setdar_1 @ 0x1360960] num:den syntax is deprecated, please use num/den or named options instead
[Parsed_subtitles_2 @ 0x135fc10] Unable to open /Users/MAC/Downloads/Iron Man 3/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt
[AVFilterGraph @ 0x1460250] Error initializing filter 'subtitles' with args 'filename=/Users/MAC/Downloads/Iron Man 3/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt:original_size=1920x800:charenc=UTF-8'
Error opening filters!
2014-01-14 11:44:19,647 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:49)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:134)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:110)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:153)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:121)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:100)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:81)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 10:58 am

Re: Enabling subtitles causing error on KDL-47W805

You still have problem to access to your srt file...
[Parsed_subtitles_2 @ 0x135fc10] Unable to open /Users/MAC/Downloads/Iron Man 3/Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt

Could you post your srt file ?
<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 11:02 am

Re: Enabling subtitles causing error on KDL-47W805

Please find it attached.
Attachments
Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt.zip
Iron Man 3 subtitle file
(43.41 KiB) Downloaded 456 times
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 11:27 am

Re: Enabling subtitles causing error on KDL-47W805

Your file is not encoded in UTF-8 charset, it is ANSI.

Could you try with this attached (make a backup)?
Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt.zip
srt in UTF-8
(41.51 KiB) Downloaded 435 times



PS: I also check your file with SRTWiz windows only tool, and your file srt directly start with sub index 2, should be 1.
Iron.Man.3.2013.1080p.BluRay.x264.YIFY.srt.zip
Start with sub index 1 in utf-8
(41.51 KiB) Downloaded 430 times
<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 12:00 pm

Re: Enabling subtitles causing error on KDL-47W805

Interesting. Your first .srt attachment did not work. But the second, with sub index 1 actually works. That's the good news. Unfortunately, the screen size has decreased significantly and it will not play smoothly anymore. Subtitles are out of sync, but I did a quick test with VLC, and it was out of sync there aswell, not an issue. So there we have it, it should be UTF-8, which I can fix in the future and make sure the sub index is 1. Thanks for that :)

What about the reduced screensize and stuttering image? Does that have to do with my Macbook Pro not being able to transcode it realtime?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 1:52 pm

Re: Enabling subtitles causing error on KDL-47W805

Sandmachine wrote:What about the reduced screensize and stuttering image? Does that have to do with my Macbook Pro not being able to transcode it realtime?

Could you edit your ./serviio/config/profile.xml file on "Sony bravia 2013" section, then remove DAR="16:9" options from original like this:
  Code:
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" />
      </HardSubsTranscoding>

Then restart serviio services (not server) or reboot your PC.
<<

Sandmachine

Serviio newbie

Posts: 6

Joined: Tue Jan 14, 2014 9:14 am

Post Tue Jan 14, 2014 2:39 pm

Re: Enabling subtitles causing error on KDL-47W805

Wow! I am impressed. It is running, fairly, smooth and subtitles show! I am very pleased with this. Can you explain this fix? What does that parameter do? How can I increase transcoding performance? Will it be better with SSD or worse?

Thanks so much for the quick response and great help!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jan 14, 2014 2:56 pm

Re: Enabling subtitles causing error on KDL-47W805

Sandmachine wrote:Can you explain this fix? What does that parameter do?


Sony device does not support external srt file over DLNA interface, so movie should be transcoded with subtitle burned into video track (HardSubTranscoding section on profiles.xml)

Target will be in mpeg2 video codec and ac3 audio in a mpegts container.

For some reason (I'm ignored), when transcoded in mpeg2video with ffmpeg, the display aspect ratio (DAR) has changed and sony device does not like it, so serviio introduce an option to update DAR to 16:9.
For another reason (I'm ignored too), with your Sony Bravia 2013 firmware, or with latest ffmpeg version, it seems that you don't need this option during transcoding with subtitles.

So the question now are,
Do we need to remove the DAR option only for 2013 models ?
or
Do we need to remove the DAR option only during HardSubTranscoding for all sony devices ?


Sandmachine wrote:How can I increase transcoding performance? Will it be better with SSD or worse?

Don't know

Return to Sony

Who is online

Users browsing this forum: No registered users and 32 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.