Re: .avi and some .mkv files problems
When I added the .srt, it stopped and couldn't be played until I deleted the .srt in the folder.
So to clarify, on PC VLC played when .srt was absent but would not play when srt was added?
That implies there is something wrong with the srt file.
Can you put them on a flash drive and play thru TV USB?
The log says the subs were found and were sent with the file, But does not the connection reset by peer indicate you stopped playback 2 seconds later before subs could show?
- Code:
2015-12-24 00:54:39,075 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 661 and profile Panasonic AS640
2015-12-24 00:54:39,078 DEBUG [SubtitlesService] Found external subtitles file: Stargate SG-1 - [2x01] - The Serpent's Lair.srt
2015-12-24 00:54:39,078 DEBUG [ResourceValuesBuilder] Softsubs for media item 661 found, will be served as a resource
2015-12-24 00:54:42,569 DEBUG [ResourceDeliveryProcessor] Request for resource 661 and type 'MEDIA_ITEM' received
2015-12-24 00:54:42,569 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 661 (local)
2015-12-24 00:54:42,576 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 661, format MPEG_TS_SD_EU_ISO and profile Panasonic AS640
2015-12-24 00:54:42,576 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 661 (local)
2015-12-24 00:54:42,577 DEBUG [VideoDeliveryEngine] Delivering item '661' for client 'Identifier=192.168.1.227, Profile=Panasonic AS640'
2015-12-24 00:54:42,577 DEBUG [VideoDeliveryEngine] Delivering file 'Stargate SG-1 - [2x01] - The Serpent's Lair.mpg' in native format
2015-12-24 00:54:42,589 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2015-12-24 00:54:42,589 DEBUG [GETMethodProcessor] Stream entity has length: 794661336
2015-12-24 00:54:44,759 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
I don't know enough to determine if Serviio failed to actually send the subs. ie: what shows they were actually delivered as a resource? However when I play a file with subs I get a lot more in my log (I also have restlet set to debug) and I can see the subs actually being retrieved along with the video.
- Code:
2015-12-23 23:08:07,297 DEBUG [LogService] Processing request to: "http://localhost:23424/cds/resource/29794/SUBTITLE.srt?profile=flv_player&authToken=2f9cf64895a0437aad1ee7fa6e019195"
2015-12-23 23:08:07,297 DEBUG [ServerRouter] Default virtual host selected
2015-12-23 23:08:07,298 DEBUG [ServerRouter] Base URI: "http://localhost:23424". Remaining part: "/cds/resource/29794/SUBTITLE.srt?profile=flv_player&authToken=2f9cf64895a0437aad1ee7fa6e019195"
2015-12-23 23:08:07,298 DEBUG [VirtualHost] Selected route: "/cds" -> org.serviio.upnp.service.contentdirectory.rest.ContentDirectoryRestletApplication@134f009
2015-12-23 23:08:07,298 DEBUG [VirtualHost] New base URI: "http://localhost:23424/cds". New remaining part: "/resource/29794/SUBTITLE.srt"
2015-12-23 23:08:07,298 DEBUG [ContentDirectoryRestletApplication] Selected route: "/resource" -> Finder for CDSRetrieveMediaServerResource
2015-12-23 23:08:07,298 DEBUG [ContentDirectoryRestletApplication] New base URI: "http://localhost:23424/cds/resource". New remaining part: "/29794/SUBTITLE.srt"
2015-12-23 23:08:07,300 DEBUG [CDSRetrieveMediaServerResource] GET http://localhost:23424/cds/resource/29794/SUBTITLE.srt?profile=flv_player&authToken=2f9cf64895a0437aad1ee7fa6e019195 HTTP/1.1, headers = [host: localhost:23424,connection: keep-alive,user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36,x-requested-with: ShockwaveFlash/20.0.0.228,accept: */*,referer: http://localhost:23424/mediabrowser/,accept-encoding: gzip, deflate, sdch,accept-language: en-US,en;q=0.8]
2015-12-23 23:08:07,300 DEBUG [CDSRetrieveMediaServerResource] Creating client with id '127.0.0.1'
2015-12-23 23:08:07,300 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=127.0.0.1, Profile=Flash player'
2015-12-23 23:08:07,300 DEBUG [ResourceDeliveryProcessor] Request for resource 29794 and type 'SUBTITLE' received
2015-12-23 23:08:07,300 DEBUG [VideoDAOImpl] Reading a Video (id = 29794)
2015-12-23 23:08:07,301 DEBUG [MediaItemDAOImpl] Getting file of media item 29794
2015-12-23 23:08:07,303 DEBUG [SubtitlesService] Found external subtitle file: D:\Azureus Active Downloads\Transmission Downloads\Downton.Abbey.S06\Downton.Abbey.S06E02.srt
2015-12-23 23:08:07,303 DEBUG [SubtitlesRetrievalStrategy] Retrieving info of Subtitles for media item with id 29794
2015-12-23 23:08:07,303 DEBUG [VideoDAOImpl] Reading a Video (id = 29794)
2015-12-23 23:08:07,304 DEBUG [MediaItemDAOImpl] Getting file of media item 29794
2015-12-23 23:08:07,305 DEBUG [SubtitlesService] Found external subtitle file: D:\Azureus Active Downloads\Transmission Downloads\Downton.Abbey.S06\Downton.Abbey.S06E02.srt
2015-12-23 23:08:07,305 DEBUG [SubtitlesRetrievalStrategy] Retrieving Subtitles for media item with id 29794
2015-12-23 23:08:07,326 DEBUG [GETMethodProcessor] Stream entity has length: 101447
2015-12-23 23:08:07,326 DEBUG [ContentDirectoryRestletApplication] Converter selected for ClosingInputRepresentation: DefaultConverter
2015-12-23 23:08:07,326 INFO [LogService] 2015-12-23 23:08:07 127.0.0.1 - - 23424 GET /cds/resource/29794/SUBTITLE.srt profile=flv_player&authToken=2f9cf64895a0437aad1ee7fa6e019195 200 - 0 29 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 http://localhost:23424/mediabrowser/
It makes no sense that your TV will not play subs on a basic mpeg2.mpg file. After we understand the cause of the VLC problem, we should chase this down by looking at an expanded log. We need to be sure its not a Serviio problem sending the subs. We could also try transcoding to x264 instead of mpeg2.
We should also find out what this line in your log means. Is it showing some DLNA restriction for your Panny and does the profile need to contain lines as a result?
- Code:
2015-12-24 00:54:39,002 DEBUG [ServiioHttpService] Incoming request from /192.168.1.227:41435: POST /serviceControl HTTP/1.1, headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.1.182:8895,Content-Type: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse",X-PANASONIC-Registration: NDhBUzY0MF9TZXJpZXMAAAA=,X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50,Content-Length: 794]]