Sony BRAVIA TV & DLNA formats

As I wrote earli­er, I try to get some in­fos which formats my Sony BRAVIA 5800 TV is able to play over the net­work. Sony is not really help­ful (they tell only names someone with a DLNA spec could cor­rectly in­ter­pret). Now I took the time to move my TV in­to a dif­fer­ent sub­net (the same where my NAS is in, not like be­fore in a DMZ), and I in­stalled min­idlna. After some net­work sniff­ing, the use of the In­tel UP­nP Device Spy and some min­idlna–source read­ing I have now a bet­ter idea what my Sony TV ex­pects.

The DLNA-​specification seems to man­date a MIME-​type and some DLNA-​specific iden­ti­fi­er which de­scribes the con­tent a play­er (a DLNA-​Renderer) is able to dis­play. In the fol­low­ing I will present the MIME-​type, the DLNA-​identifier, and prob­ably a Sony-​specific iden­ti­fi­er.

Re­gard­ing pic­tures the TV only ac­cepts JPEGs, bit in small, me­di­um and large sizes. I did not both­er to look up what this means in real val­ues, so far this is not of high in­terest for me. For au­dio the TV ac­cepts MP3s and LPCM (raw PCM samples). The raw sniffed data from the TV looks like this:


The more in­ter­est­ing part for me is the video part. The TV sup­ports MPEG2 Video (the MPEG_​ part in the DLNA.ORG_PN) and H.264 (the AVC_​ part in the DLNA.ORG_PN). For MPEG2 it sup­ports pro­gram streams (PS in DLNA.ORG_PN) and trans­port streams (TS in DLNA.ORG_PN). For PS it sup­ports PAL and NTSC res­ol­u­tions (720×576 is PAL, HD res­ol­u­tions like 720p or 1080i or 1080p are not sup­por­ted). The packet-​length of a trans­port steam can be 188 bytes or 192 bytes. If the width is >= 1288 or the height is >= 720, min­idlna adds HD in DLNA.ORG_PN, else it will add SD. The EU in DLNA.ORG_PN is for SD video with a height of 576 or 288 pixels. De­pend­ing of the com­bin­a­tion of the packet-​length and if there is a timestamp in use or not, the DLNA.ORG_PN will have a _​ISO or a _​T ap­pen­ded.

It also sup­ports H.264. The DLNA.ORG_PN starts with a AVC in this case. Only trans­port streams (TS  in DLNA.ORG_PN) is sup­por­ted. As with MPEG2, the packet-​length of the TS can be 188 or 192 bytes. De­pend­ing of the com­bin­a­tion of the packet-​length and if there is a timestamp in use or not, the DLNA.ORG_PN will have a _​ISO or a _​T ap­pen­ded. De­pend­ing on the pro­file used, min­idlna adds some more in­fos to the DLNA.ORG_PN, BL if it is a baseline-​profile, MP if it is a main-​profile, and HP if it is a high-​profile. I do not see this in the val­id video formats my TV re­ques­ted over the wire. As with the MPEG2 format, SD or HD is ad­ded (in min­idlna) de­pend­ing on the width and height, but also on the bitrate of the video. For the main-​profile the width has to be <= 720, the height <= 576 and the bitrate <= 10M (base 10, not base 2) for SD, and the width has to be <=1920, the height <= 1152 and the bitrate <= 20M (base 10, not base 2) for HD. For the high-​profile the width has to be <=1920, the height <=1152, the bitrate <= 30M (base 10, not base 2) and the au­dio has to be AC3 to get the HD ad­ded in DLNA.ORG_PN. The au­dio is spe­cified in DLNA.ORG_PN as MPEG1_​L3 for MP3, AC3 for AC3, and AAC or AAC_​MULT5 for AAC (ste­reo or 5-​channel). As can be seen be­low, the TV seems only to sup­port AC3 au­dio for AVC. The TV also has _​24_​, _​50_​ and _​60_​ in DLNA.ORG_PN. I did not find those things in the min­idlna source (but I have not really searched for this). I could ima­gine that _​24_​ stands for 24 pic­tures per second, and the _​50_​ and _​60_​ for pro­gress­ive videos (with 50 re­spect­ively 60 pic­tures per second), but this is pure spec­u­la­tion from my side. Here is the raw sniffed data:






So far I did not get the time to ex­per­i­ment with this. I also have the im­pres­sion that min­idlna has still some rough edges (the sin­tel video I used to test be­fore with a dif­fer­ent me­dia serv­er, does not show up in the list with min­idlna).

4 thoughts on “Sony BRAVIA TV & DLNA formats”

  1. dude, this is awe­some! i have ex­actly the same prob­lem, i want to stream dir­ectly from my NAS..!

    how i can enter your MIME types in a way my NAS + Bravia un­der­stands?

    de­fault (syn­o­logy) Nas mime types are:

    and the NAS uses ffm­peg for transcod­ing and stream­ing

    1. Try it with a bug-​report to Syn­o­logy, or in­stall a dif­fer­ent DLNA (upnp-​av) serv­er on it. What is dis­played in this post­ing are not really MIME types (they are not de­tailed enough), the most im­port­ant parts here are DLNA or upnp-​av types. The DLNA serv­er on your NAS needs to be able to un­der­stand the types the TV re­quests.

      What I try to do is to find the right formats the TV is able to play, and a DLNA serv­er which is de­liv­er­ing this without transcod­ing or re-​encoding. The ra­tionale is, that if I take a DVD and gen­er­ate a file for stream­ing to my TV any­way, I want to have the right format dir­ectly, this way the DLNA serv­er does not need to spend en­ergy to gen­er­ate the right format each time the file is watched.

  2. Fant­ast­ic job! i’ll be us­ing this to transcode for my new­er 2012 lineup 40HX750. hard to find info like this on the in­ter­net. thanks!

  3. Syn­o­logy did a great job by provid­ing apps to stream to an Apple TV or dir­ect to our TV. They also descrip­ing clearly, you’ll need a TV who is able to re­cog­nize most of the formats we have for pic­tures and movies today. So find­ing this par­tic­u­lar tele­vi­sion can be a real chal­lenge. Not sure Sony has the one we look­ing for.… 😉

Leave a Reply

Your email address will not be published. Required fields are marked *