Sun Dec 04, 2011 5:26 am by mmoroz
Illico wrote:Well, the default
<Profile id="12" name="Panasonic Viera" extendsProfileId="1"> from 0.6 version
AVI : change the mime-type to video/divx :
<MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile> MKV : remux into mpegts then subtitles are lost.
Could you try this profile:
- Code:
<Profile id="12" name="Panasonic Viera" extendsProfileId="1">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
...
I tried it, and still no luck with VT30. I can play mkv files, but I can't see the srt subtitles. Here's the debug output:
- Code:
2011-12-03 21:15:06,175 DEBUG [GenreDAOImpl] Reading a Genre (id = 1)
2011-12-03 21:15:06,179 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:15:06,185 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:15:06,187 DEBUG [SubtitlesService] Found subtitle file: D:\Users\Max\Documents\Vuze Downloads\Clannad\Clannad 01.srt
2011-12-03 21:15:06,188 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:15:06,197 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1 and profile Panasonic Viera VT30
2011-12-03 21:15:06,199 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 1)
2011-12-03 21:15:06,216 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:15:06,217 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:15:06,218 DEBUG [SubtitlesService] Found subtitle file: D:\Users\Max\Documents\Vuze Downloads\Clannad\Clannad 01.srt
2011-12-03 21:15:06,218 DEBUG [GenreDAOImpl] Reading a Genre (id = 1)
2011-12-03 21:15:06,218 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2)
2011-12-03 21:15:06,219 DEBUG [MediaItemDAOImpl] Getting file of media item 2
2011-12-03 21:15:06,219 DEBUG [SubtitlesService] Found subtitle file: D:\Users\Max\Documents\Vuze Downloads\Clannad\Clannad 02.srt
2011-12-03 21:15:06,219 DEBUG [VideoDAOImpl] Reading a Video (id = 2)
2011-12-03 21:15:06,220 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 2 and profile Panasonic Viera VT30
2011-12-03 21:15:06,220 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 2)
2011-12-03 21:15:06,221 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2)
2011-12-03 21:15:06,221 DEBUG [MediaItemDAOImpl] Getting file of media item 2
2011-12-03 21:15:06,222 DEBUG [SubtitlesService] Found subtitle file: D:\Users\Max\Documents\Vuze Downloads\Clannad\Clannad 02.srt
2011-12-03 21:15:06,222 DEBUG [GenreDAOImpl] Reading a Genre (id = 1)
...
2011-12-03 21:24:13,799 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:24:13,799 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:24:13,800 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:13,800 DEBUG [VideoDeliveryEngine] Delivering file 'Clannad 01.mkv' in native format
2011-12-03 21:24:13,800 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:24:13,801 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1) as read
2011-12-03 21:24:13,802 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-12-03 21:24:13,802 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 179538237
2011-12-03 21:24:13,802 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-03 21:24:13,802 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Range: bytes 0-179538236/179538237,Content-Length: 179538237,Date: Sun, 04 Dec 2011 05:24:13 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-03 21:24:14,108 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2011-12-03 21:24:14,117 DEBUG [WebServer] Incoming connection from /192.168.1.104:32582
2011-12-03 21:24:14,118 DEBUG [ResourceTransportRequestHandler] GET /resource/1/MEDIA_ITEM/MATROSKA$0 HTTP/1.1, headers = [Host: 192.168.1.100:8895,Range: bytes=0-,Connection: keep-alive]]
2011-12-03 21:24:14,118 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.104
2011-12-03 21:24:14,118 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,118 DEBUG [ResourceTransportRequestHandler] Request for resource 1 and type 'MEDIA_ITEM' received
2011-12-03 21:24:14,118 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2011-12-03 21:24:14,118 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:24:14,119 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:24:14,119 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,119 DEBUG [VideoDeliveryEngine] Delivering file 'Clannad 01.mkv' in native format
2011-12-03 21:24:14,119 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:24:14,120 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1) as read
2011-12-03 21:24:14,121 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-12-03 21:24:14,121 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 179538237
2011-12-03 21:24:14,121 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-03 21:24:14,121 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Range: bytes 0-179538236/179538237,Content-Length: 179538237,Date: Sun, 04 Dec 2011 05:24:14 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-03 21:24:14,384 DEBUG [WebServer] Incoming connection from /192.168.1.104:35261
2011-12-03 21:24:14,384 DEBUG [ResourceTransportRequestHandler] GET /resource/1/MEDIA_ITEM/MATROSKA$0 HTTP/1.1, headers = [Host: 192.168.1.100:8895,Range: bytes=0-,Connection: keep-alive]]
2011-12-03 21:24:14,384 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.104
2011-12-03 21:24:14,384 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,385 DEBUG [ResourceTransportRequestHandler] Request for resource 1 and type 'MEDIA_ITEM' received
2011-12-03 21:24:14,385 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2011-12-03 21:24:14,385 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:24:14,385 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:24:14,386 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,386 DEBUG [VideoDeliveryEngine] Delivering file 'Clannad 01.mkv' in native format
2011-12-03 21:24:14,386 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:24:14,386 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 1) as read
2011-12-03 21:24:14,387 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-12-03 21:24:14,387 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 179538237
2011-12-03 21:24:14,388 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-03 21:24:14,388 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Range: bytes 0-179538236/179538237,Content-Length: 179538237,Date: Sun, 04 Dec 2011 05:24:14 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-03 21:24:14,634 DEBUG [WebServer] Incoming connection from /192.168.1.104:35262
2011-12-03 21:24:14,634 DEBUG [ResourceTransportRequestHandler] GET /resource/1/MEDIA_ITEM/MATROSKA$0 HTTP/1.1, headers = [Host: 192.168.1.100:8895,Range: bytes=179503104-,Connection: keep-alive]]
2011-12-03 21:24:14,635 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.104
2011-12-03 21:24:14,635 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,635 DEBUG [ResourceTransportRequestHandler] Request for resource 1 and type 'MEDIA_ITEM' received
2011-12-03 21:24:14,635 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2011-12-03 21:24:14,635 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:24:14,636 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:24:14,636 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,636 DEBUG [VideoDeliveryEngine] Delivering file 'Clannad 01.mkv' in native format
2011-12-03 21:24:14,636 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:24:14,637 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 35133
2011-12-03 21:24:14,637 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-03 21:24:14,637 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Range: bytes 179503104-179538236/179538237,Content-Length: 35133,Date: Sun, 04 Dec 2011 05:24:14 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-03 21:24:14,759 DEBUG [WebServer] Incoming connection from /192.168.1.104:35263
2011-12-03 21:24:14,760 DEBUG [ResourceTransportRequestHandler] GET /resource/1/MEDIA_ITEM/MATROSKA$0 HTTP/1.1, headers = [Host: 192.168.1.100:8895,Range: bytes=7307264-,Connection: keep-alive]]
2011-12-03 21:24:14,760 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.104
2011-12-03 21:24:14,760 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,760 DEBUG [ResourceTransportRequestHandler] Request for resource 1 and type 'MEDIA_ITEM' received
2011-12-03 21:24:14,760 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1 (local)
2011-12-03 21:24:14,760 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 1)
2011-12-03 21:24:14,761 DEBUG [VideoDAOImpl] Reading a Video (id = 1)
2011-12-03 21:24:14,761 DEBUG [VideoDeliveryEngine] Delivering item '1' for client 'IPAddress=/192.168.1.104, Profile=Panasonic Viera VT30'
2011-12-03 21:24:14,761 DEBUG [VideoDeliveryEngine] Delivering file 'Clannad 01.mkv' in native format
2011-12-03 21:24:14,761 DEBUG [MediaItemDAOImpl] Getting file of media item 1
2011-12-03 21:24:14,762 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 172230973
2011-12-03 21:24:14,762 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-03 21:24:14,762 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Range: bytes 7307264-179538236/179538237,Content-Length: 172230973,Date: Sun, 04 Dec 2011 05:24:14 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-03 21:24:15,528 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2011-12-03 21:24:16,203 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2011-12-03 21:24:16,540 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2011-12-03 21:24:16,671 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
Any help appreciated!