Sony Bravia and HD videos (via DLNA)

I made some more tests which video res­ol­u­tions my TV ac­cepts via DLNA. While I was look­ing be­fore a SD res­ol­u­tions, this time I took care about some HD res­ol­u­tions.

As the Sin­tel video in the 1024×436 res­ol­u­tion did not play, I tried to reen­code it to 1024×720 (for the en­abled x264 op­tions see be­low). This did not work either. After that I went to the of­fi­cial res­ol­u­tion of 1280×720, and this works. Ini­tially this video was en­coded as High@L3.1, but with this the TV pro­duced some ar­ti­facts on play­back. After chan­ging this to High@L4.0 (simply by re­mux­ing in­stead of reen­cod­ing), the play­back was fine (warn­ing: in­creas­ing the H.264 level is OK, de­creas­ing it if the video does not com­ply to the lowered level, may cause prob­lems). I miss a set­ting in avidemux for the level, it would be nice if there would be the pos­sib­il­ity to set it.

I also tested if the 1280×544 ver­sion of the Sin­tel video plays fine on the TV or not. It does not play fine, so there is prob­ably a hard re­quire­ment on the com­plete res­ol­u­tion for HD video.

While do­ing this I no­ticed that ts­Mux­eR is trun­cat­ing the au­dio, in­stead of the 6 chan­nel au­dio it was be­fore, the re­muxed file has only two chan­nels.

As I did not want to al­ways go through all the set­tings to enter what I want, I made a little avidemux-​script to setup (ECMA script + xml) everything for me. This was easy, I just took an ex­ist­ing one (the Sony PSP one) as a base and changed the en­cod­ing op­tions and the tar­get con­tain­er (un­luck­ily avidemux 2.5.4 does not sup­port H.264 in MPEG-​TS yet, so I have to use a MP4 con­tain­er and re­mux it in­to the MPEG-​TS stream af­ter­wards).

The op­tions I used for the x264-​reencoding are –8x8dct –ana­lyse all –mixed-​refs –bime –weightb –subme 9 –b-​rdo –ref 4 –b-​adapt 2 –bframes 4 –dir­ect auto –me umh (this in­cludes b-​pyramid, for which there are re­ports that it does not work).

3 thoughts on “Sony Bravia and HD videos (via DLNA)”

  1. Hav­ing fi­nally ad­ded net/​minidlna to our ports col­lec­tion, I’m try­ing to fig­ure out my own Sony TV, and – based on your ex­per­i­ence – tried con­vert­ing a few of my videos in­to .mpg format (mpegts) us­ing a Make­file like this:

    .SUFFIXES: .mpg .mkv .avi .flv .wmv .mp4

    VPATH= /​green/​movies

    FFMPEG_​ARGS= -f mpegts -sameq -vb 4096k \
    -r 25 -ac 2 -ar 48000 -ab 192k \
    -async 2 -threads 2

    ffm­peg -i “$Video->DLNA server->All videos).

    I’m now try­ing to redo them with an ex­pli­cit flag -s hd1080 (size 1920×1080) to see, what hap­pens…

    Mean­while, I won­der, what does YOUR TV “say”, when it does not like a video-​file. Does the file even ap­pear on the list – to be re­jec­ted as “in­val­id” later?


    1. When it does not like the con­tain­er, it does not have an entry for it. If it does not like the video in the con­tain­er, it dis­plays a black screen (or some big colored pixels… de­pend­ing on the de­gree of dis­agree­ment with the video) but plays the au­dio. I al­ways had the au­dio work­ing if the con­tain­er was OK, but I as­sume it will just play the video without au­dio if the au­dio is not OK.

Leave a Reply

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