Media Formats & Serviio-TV DLNA dialog
Using Device Spy, I can list the protocols that my Device (Samsung TV), and Serviio support.
eg: http-xget:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
and I can see that the Serviio list matches the formats defined in the Serviio Profile, and that the TV has protocols not in the Serviio list and vice versa.
In the Serviio log, I can also see a conversation between Serviio and the device that identifies the formats that can be used for a given file, as follows:
- Code:
2011-10-10 22:24:45,614 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.64
2011-10-10 22:24:45,616 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.64, Profile=Samsung TV / player (C/D-series)'
2011-10-10 22:24:45,618 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000290001 and type 'MEDIA_ITEM' received
2011-10-10 22:24:45,618 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000290001 (online)
2011-10-10 22:24:45,620 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000000290001, format MPEG_TS_SD_KO_ISO and profile Samsung TV / player (C/D-series)
2011-10-10 22:24:45,621 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://dig.abclocal.go.com/kgo/video/2011/10/10/kgo-101011-br-6pm-occupy.flv
2011-10-10 22:24:45,622 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://dig.abclocal.go.com/kgo/video/2011/10/10/kgo-101011-br-6pm-occupy.flv: MPEG_TS_SD_EU_ISO
2011-10-10 22:24:45,622 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://dig.abclocal.go.com/kgo/video/2011/10/10/kgo-101011-br-6pm-occupy.flv: MPEG_TS_SD_NA_ISO
2011-10-10 22:24:45,622 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://dig.abclocal.go.com/kgo/video/2011/10/10/kgo-101011-br-6pm-occupy.flv: MPEG_TS_SD_KO_ISO
2011-10-10 22:24:45,624 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-10-10 22:24:45,624 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Tue, 11 Oct 2011 02:24:45 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-10-10 22:24:45,634 DEBUG [WebServer] Incoming connection from /192.168.1.64:48083
2011-10-10 22:24:45,635 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000290001/MEDIA_ITEM/MPEG_TS_SD_KO_ISO$0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: 192.168.1.10:8895]]
This leaves me with the following questions, that I hope someone can answer:
1. Where do I find a definition of what the various DLNA.ORG_PN's mean. My Samsung TV, protocols include items not in the Serviio list like AVC_TS_BL_CIF30_MPEG1_L3 and AVC_TS_MP_HD_AAC_LTP_MULT5. How do I find out the file formats they support?
2. Similarly what do the bits in DLNA.ORG_FLAGS mean eg:01500000000000000000000000000000
3. When a file is selected for playback from the TV menu, who determines the format to be used by that file. eg: format MPEG_TS_SD_KO_ISO in the above conversation, and how is that determination made. I see nothing in the profile that would allow Serviio to determine the format required by a specific file.
4. If Serviio decides the format, how does it know the TV will accept it?
5. When multiple Format profiles are found for a given file (See EU, NA & KO above), how is the determination made as to which one is used. All my files are using the KO Profiles, but I don't understand why. The only KO is the TV.
6. The above log shows Serviio communicating with the TV using HTTP/1.1 formatted messages. Where are these message parameters defined, and how do I determine what the TV does with them?
7. Who is issuing the GET message in the above log? Is this the TV confirming and requesting/confirming it can accept the file in that KO format, followed by serviio saying it will stream the file and will Timebased seeking?
My purpose in understanding these dialogs is to determine why my Samsung TV is unable to play or skip transcoded files. I really need to better understand whats going on between the TV and Serviio. Thanks for any help you can give me. The web yields nothing.