#8 Bravia V5500 doesn't show AVCHD files


Bravia V5500 doesn't show AVCHD files.
These files are stored in minidlna database as:

But I've found in forum of another dlna server, ps3mediaserver (too heavy and can't be used on resourse-limited nas), that Bravia TV use another DLNA types for AVCHD content.
Please see:
for details.


  • Justin Maggard

    Justin Maggard - 2009-11-24

    MiniDLNA's classification is according to the DLNA spec. Do you have any documentation on what Sony requires? Does it work if you change the DLNA_PN entry in the database to "AVC_TS_HD_24_AC3_T;DLNA.ORG_OP=01;DLNA.ORG_CI=0"? What if you use "AVC_TS_MP_HD_AC3_T;SONY.COM_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_OP=01;DLNA.ORG_CI=0"?

  • roopej

    roopej - 2009-11-26

    Jmaggard, I tested my V5500 with both of the new DLNA_PN entries you suggested and they both work just fine. Now I can see AVCHD files on my TV listing. I could not make the TV play the file properly - only audio was functional. Earlier I checked the H.264 encoding should be Level 4.0 compliant but I guess I have to run some tests what kind of parameters Bravia accepts for video.

  • sandworm

    sandworm - 2009-11-29

    the following query helped:
    update details set dlna_pn="AVC_TS_HD_50_AC3_T;DLNA.ORG_OP=01;DLNA.ORG_CI=0" where path like "%MTS";
    because my camcorder stores 50i, not 24p.

  • Justin Maggard

    Justin Maggard - 2009-11-30

    And what about this SQL statement:

    update details set dlna_pn="AVC_TS_MP_HD_AC3_T;SONY.COM_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_OP=01;DLNA.ORG_CI=0" where path like "%MTS";

  • Nobody/Anonymous

    [2009/12/01 21:02:56] upnpsoap.c:923: debug: Browsing ContentDirectory:
    * ObjectID: 64$2$6$0$0$4
    * Count: 10
    * StartingIndex: 0
    * BrowseFlag: BrowseDirectChildren
    * Filter: dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:genre,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo
    * SortCriteria: +dc:title
    [2009/12/01 21:02:56] upnpsoap.c:959: debug: Browse SQL: SELECT o.OBJECT_ID, o.PARENT_ID, o.REF_ID, o.DETAIL_ID, o.CLASS, d.SIZE, d.TITLE, d.DURATION, d.BITRATE, d.SAMPLERATE, d.ARTIST, d.ALBUM, d.GENRE, d.COMMENT, d.CHANNELS, d.TRACK, d.DATE, d.RESOLUTION, d.THUMBNAIL, d.CREATOR, d.DLNA_PN, d.MIME, d.ALBUM_ART from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) where PARENT_ID = '64$2$6$0$0$4' order by d.TITLE limit 0, 10;
    Segmentation fault

  • Justin Maggard

    Justin Maggard - 2009-12-05

    Can you compile minidlna, or are you using a pre-compiled binary?

  • Nobody/Anonymous

    Compiled from CVS; precompiled one (optware/cs08q1armel) is too old and does not work with XFS.

  • Stephen Worthington

    My mother has just got a Sony KDL-32V5500 TV, and I have been trying to use minidlna to let it play files recorded on my MythTV box. It worked immediately with the MPEG2 format files, but it would not see any of the H.264/LATM AAC transport stream files that are the digital broadcast format here in New Zealand. Using an SQL UPDATE to change the database entries for those files to "AVC_TS_MP_HD_AC3_T;SONY.COM_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_OP=01;DLNA.ORG_CI=0" as suggested allowed the TV to see the files and try to play them, but when it tried it could not and said they were unplayable. Copying one small SD H.264 TS file to a USB stick and playing it on the TV from there produced the same result, so it looks like the file format itself may now be the problem, not the way minidlna reports it. I need to do more experiments to see.

  • roopej

    roopej - 2009-12-07

    Stephen, AVCHD format does not specify AAC as audio codec and it may well be that Bravia TVs do not support that. You should encode the audio into Dolby Digital (AC3) and remux it back into container. I use aften and tsRemux for that purpose (In linux).

    I have ran some tests with AVC/H.264 compatibility in Bravias and it seems the decoder is quite picky about the resolution. At least resolutions 720x576, 704x576 and 1280x720 work, while for example 1280x544 does not - so far only AVCHD spec resolutions work... Decoder does support multiple b-frames as well as high number of reference frames, which is a good thing but they really should enable custom resolution support so people wouldn't have to re-encode videos to meet the spec.

  • Justin Maggard

    Justin Maggard - 2009-12-08

    To fix the segfault, you can try enlarging the dlna_buf size on line 539 of upnpsoap.c from 96 to maybe 256. Let me know if that helps.

  • Craig Chambers

    Craig Chambers - 2010-04-07

    Hi Justin,

    I've just confirmed this on my set-up. is there any chance of you adding this to the server by default?

    Failing this, is there any way i can modify the source to accomplish this locally? I'm a tester by trade (not a dev), so this is probably something I could handle if I know where to make a change, and what to change it to.

    It's a little tedious to have to modify the entry using SQL.


  • Craig Chambers

    Craig Chambers - 2010-05-19

    OK, I've been a bit more pro-active and fixed this in my local version of metadata.c

    Changed line 806 from
    asprintf(&m.dlna_pn, "AVC_TS_MT_HD_AC3%s;%s",
    asprintf(&m.dlna_pn, "AVC_TS_HD_24_AC3%s;%s",

    Saves me having to mess about with SQL commands. Tested and working on my Bravia W5500

  • Nobody/Anonymous

    Tracker.. Outstanding :)

  • Nobody/Anonymous

    Tracker.. Not so bad :)

  • Bas Schouten

    Bas Schouten - 2011-06-23

    Reading the notes on this issue, i'm not quite sure if this has been solved or not?

  • Craig Chambers

    Craig Chambers - 2011-06-24

    Yes. This was fixed,and since then there's been a total rewrite of the code that works fine with Bravia TVs.


Log in to post a comment.