[Readme] Sony Bravia 2011 series

_UPDATED (22/03/2012)_ :
- New Sony firmware update
- With Serviio 0.6 release: updated Sony Bravia profile to support better browsing integration
This is a topic for all Sony Bravia 2011 series (EX52., EX72., CX52.) and others.
The following list of devices use the same firmware PKG4.002EUA (22/03/2012), so probably have the same DLNA functions and formats support:
Sony Bravia 2011 series
Native formats supported
Following 55EX720 protocol information (GetProtocolInfo), for more details see http://www.upnp-database.info/device.jsp?deviceId=291
Files from a network device need to be in the following formats:
- Still images: JPEG
- Music: MP3, linear PCM, WMA
- Video: AVCHD, MPEG2, MPEG1, MP4 (AVC), MP4 (MPEG4), DivX, WMV
- From SonyUk forum : Codecs and Formats
- Supported File Formats for DLNA® and USB Compatible Sony® TVs
- DLNA Certification for KDL-55EX720 model : REG53403624.pdf
Supported Formats with "Sony BRAVIA TV 2011 profile"
Sony Bravia TV 2011 profile is included since Serviio 0.6 version on Serviio\config\profiles.xml file.
This is the detail of "Sony Bravia TV 2011" profile
This is an extension of the "Sony Bravia TV 2010" profile
IMAGE
Native format supported by Sony Bravia TV from "Generic DLNA" profile
JPEG YCbCr 4:2:2 or 4:2:0 formats, and conforming to DCF 2.0 or Exif 2.21
AUDIO
Native format supported by Sony Bravia TV from "Generic DLNA" profile
VIDEO
Native format supported by Sony Bravia TV from "Generic DLNA" profile
Native format supported by Sony Bravia TV from "Generic DLNA" profile
according to <MediaFormatProfiles> mime-type and name change in "Sony Bravia TV" profile
Transcoded in real-time by Serviio according to <Transcoding> "Sony Bravia TV 2011" profile
Some samples tested:
FAQ
- Subtitle not supported in MPEG program streams (VOB files in other words).
- SRT subtitle files not supported (must be "burned" into video stream, need to transcode/remux it using virtualdub/avidemux)
- USB interface limited to FAT32
- When video bitrate is expensive (>20Mbps), the TV (could) becomes unresponsive - doesn't react on remote commands any more. Check with Bitrate Viewer
- MKV files are not supported in native format by Sony Bravia EX, so Serviio will transcode in MPEG2TS, nevertheless all subtitles will be lost with transcoding.
- AVC H264 High Profile maximum Level is 4.1
- Photo JPEG YCbCr 4:2:2 or 4:2:0 formats, and conforming to DCF 2.0 or Exif 2.21 are supported, Photo JPEG YCbCr 4:4:4 are not supported. Need to have jpegs with a medium quality level. The TV set won't accept "Highest" and "High" quality levels of a NX2 or Photoshop converted jpeg file.
- AVI files are supported with some restrictions: - DivX only in SD resolution, - Xvid are supported with QPEL = No and GMC : 0 / No warppoints, - Some fourCC are not supported, used : XVID
Q: I can see the file on my TV and has a thumbnail picture, but when I try to play the file I get an error "The server is Temporarily unavailable". Serviio log : ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed java.io.IOException: FFmpeg execution failed
A: Turn on detailed logging (see link) you should be able to see the FFmpeg command that is used for the transcode. Try executing the command manually in a terminal window and post the (error) result here.
Q: What file types/bitrates have worked the best for those with sony DLNA products?
A: It is very difficult to answer.
- Best container, probably MKV but not supported with all DLNA products, best Sony container seems to be MPEG2-TS limited to 20-25Mbps bitrate.
- Best Audio encoder is DTS but AC3 must be preferred ( 2channels with 192kbps, 6 channels with 384kbps)
- Best video encoder is x264 (AVC/H264) maximum 1920 x 1080 resolution, you could probably set the maximum video bitrate to 15-17Mbps.
Q: With the new version of Handbrake (0.9.5), encoded video does not work.
A: The new version of Handbrake (0.9.5) uses a variable framerate with some encodes. Sony does not appear to be able to handle these.
The latest builds include a handy checkbox that allows the user to force a constant framerate – if this is checked, Handbrake will work fine with Sony.
Here's a Handbrake developer's reply on the Handbrake forum:
“The problem is with your player. In 0.9.5, HandBrake started producing correct variable framerate h.264. Prior to 0.9.5, HandBrake produced variable framerate timestamps, but did not set the correct flags in the encoded video. The tbc value you are looking at is the codec time base. With variable framerate h.264, the codec time base is *not* the same thing as the framerate. 180k is the right value. So to make your player happy, you are going to have to select constant framerate. In recent nightly builds, there is a checkbox for this. In 0.9.5, picking a specific framerate instead of “Same as source” will force constant framerate.”
_
- New Sony firmware update
- With Serviio 0.6 release: updated Sony Bravia profile to support better browsing integration
This is a topic for all Sony Bravia 2011 series (EX52., EX72., CX52.) and others.
The following list of devices use the same firmware PKG4.002EUA (22/03/2012), so probably have the same DLNA functions and formats support:
Sony Bravia 2011 series
* KDL-65HX920 / HX923 / HX925
* KDL-60NX720 / NX723 / NX725
* KDL-55EX720 / EX721 / EX723 / EX725 / NX720 / NX723 / NX725 / HX820 / HX823 / HX825 / HX920 / HX923 / HX925
* KDL-46CX520 / CX525 / EX520 / EX521 / EX524 / EX525 / EX720 / EX721 / EX723 / EX724 / EX725 / EX726 / EX727 / EX728 / EX729 / HX720 / HX723 / HX725 / NX720 / NX723 / NX725 / HX820 / HX823 / HX825 / HX920 / HX923 / HX925
* KDL-40CX520 / CX521 / CX523 / CX525 / EX520 / EX521 / EX523 / EX524 / EX525 / EX720 / EX721 / EX723 / EX724 / EX725 / EX726 / EX727 / EX728 / EX729 / HX720 / HX723 / HX725 / NX720 / NX723 / NX725
* KDL-37EX521 / EX524 / EX525 / EX720 / EX723 / EX725
* KDL-32CX520 / CX521 / CX523 / CX525 / EX421 / EX425 / EX520 / EX521 / EX523 / EX524 / EX525 / EX720 / EX721 / EX723 / EX724 / EX725 / EX726 / EX727 / EX728 / EX729
* KDL-26EX320 / EX321 / EX325
* KDL-24EX320 / EX325
* KDL-22EX320 / EX325
Native formats supported
Following 55EX720 protocol information (GetProtocolInfo), for more details see http://www.upnp-database.info/device.jsp?deviceId=291
- Code:
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,
http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_HD_60_AC3_T;SONY.COM_PN=DTCP_AVC_TS_HD_60_AC3_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T;SONY.COM_PN=AVC_TS_HD_60_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3_T;SONY.COM_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_HD_60_AC3;SONY.COM_PN=DTCP_AVC_TS_HD_60_AC3;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3;SONY.COM_PN=AVC_TS_HD_60_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3;SONY.COM_PN=AVC_TS_HD_50_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/mpeg":DLNA.ORG_PN=DTCP_AVC_TS_HD_60_AC3_ISO;SONY.COM_PN=DTCP_AVC_TS_HD_60_AC3_ISO;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_60_AC3_ISO;SONY.COM_PN=AVC_TS_HD_60_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;SONY.COM_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_EU_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_EU;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_EU_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_JP_T;ARIB.OR.JP_PN=MPEG_TTS_CP;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_JP_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_MPEG1_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_60_L2_T;SONY.COM_PN=HD2_60_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_50_L2_T;SONY.COM_PN=HD2_50_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_MPEG1_L2_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_60_L2_ISO;SONY.COM_PN=HD2_60_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_50_L2_ISO;SONY.COM_PN=HD2_50_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_SD_60_AC3_T;SONY.COM_PN=DTCP_SESF_60_AC3_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_60_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_50_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_SD_JP_MPEG1_L2_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_JP_MPEG1_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_MPEG1_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_SD_60_L2_T;SONY.COM_PN=DTCP_SESF_60_L2_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_60_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_50_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_MPEG1_L2_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L1_WMA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L2_WMA;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_HD_24_AC3_T;SONY.COM_PN=DTCP_AVC_TS_HD_24_AC3_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3_T;SONY.COM_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_HD_24_AC3;SONY.COM_PN=DTCP_AVC_TS_HD_24_AC3;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3;SONY.COM_PN=AVC_TS_HD_24_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/mpeg":DLNA.ORG_PN=DTCP_AVC_TS_HD_24_AC3_ISO;SONY.COM_PN=DTCP_AVC_TS_HD_24_AC3_ISO;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_24_AC3_ISO;SONY.COM_PN=AVC_TS_HD_24_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:application/x-dtcp1;CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_JP_AAC_T;DLNA.ORG_FLAGS=8d710000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_JP_AAC_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,
http-get:*:video/x-mp2t-mphl-188:*,
http-get:*:image/jpeg:*,
http-get:*:audio/mpeg:*,
http-get:*:audio/L16:*,
http-get:*:audio/x-ms-wma:*,
http-get:*:video/mpeg:*,
http-get:*:video/vnd.dlna.mpeg-tts:*,
http-get:*:video/mp4:*,
http-get:*:video/x-msvideo:*,
http-get:*:video/x-divx:*,
http-get:*:video/divx:*,
http-get:*:video/avi:*,
http-get:*:video/x-ms-wmv:*,
http-get:*:video/x-ms-asf:*
Files from a network device need to be in the following formats:
- Still images: JPEG
- Music: MP3, linear PCM, WMA
- Video: AVCHD, MPEG2, MPEG1, MP4 (AVC), MP4 (MPEG4), DivX, WMV
- From SonyUk forum : Codecs and Formats
- Supported File Formats for DLNA® and USB Compatible Sony® TVs
- DLNA Certification for KDL-55EX720 model : REG53403624.pdf
Supported Formats with "Sony BRAVIA TV 2011 profile"
Sony Bravia TV 2011 profile is included since Serviio 0.6 version on Serviio\config\profiles.xml file.
This is the detail of "Sony Bravia TV 2011" profile
- Code:
<Profile id="19" name="Sony Bravia TV 2011" extendsProfileId="9">
<!-- same as older Bravias except it supports AVI playback -->
<Detection>
<UPnPSearch>
<FriendlyName>BRAVIA KDL-\d{2}([A-Z]X\d2\d|CX400).*</FriendlyName>
</UPnPSearch>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.1" />
</Video>
<!-- Remux h264 video with AC3 audio to MPEG-TS stream without transcoding -->
<!-- expected profile AVC_TS_MP_HD_AC3_ISO -->
<Video targetContainer="mpegts">
<Matches container="avi" vCodec="h264" aCodec="ac3" />
<Matches container="mp4" vCodec="h264" aCodec="ac3" />
<Matches container="matroska" vCodec="h264" aCodec="ac3" />
</Video>
<!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
<!-- expected profile AVC_TS_MP_HD_AC3_ISO -->
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="h264" />
<!-- if audio different to ac3, must be transcoded -->
<Matches container="mpegts" aCodec="aac" />
<Matches container="mpegts" aCodec="mp3" />
<Matches container="mpegts" aCodec="dca" />
<Matches container="mpegts" aCodec="lpcm" />
<Matches container="mpeg" aCodec="dca" />
<Matches container="ogg" vCodec="mpeg4" />
</Video>
<!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192">
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="matroska" />
<Matches container="flv" />
<Matches container="wtv" />
<Matches container="ogg" />
</Video>
<Audio targetContainer="lpcm">
<!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="ogg" />
<Matches container="flac" />
</Audio>
</Transcoding>
</Profile>
This is an extension of the "Sony Bravia TV 2010" profile
IMAGE
Native format supported by Sony Bravia TV from "Generic DLNA" profile
JPEG YCbCr 4:2:2 or 4:2:0 formats, and conforming to DCF 2.0 or Exif 2.21
- JPEG_LRG - image/jpeg
JPEG_MED - image/jpeg
JPEG_SM - image/jpeg
- GIF
PNG
AUDIO
Native format supported by Sony Bravia TV from "Generic DLNA" profile
- MP3 - audio/mpeg
LPCM - audio/L16
- asf
mp4
ogg
flac
VIDEO
Native format supported by Sony Bravia TV from "Generic DLNA" profile
- MPEG_PS_PAL - video/mpeg
MPEG_PS_NTSC - video/mpeg
MPEG_TS_SD_EU - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_EU_T - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_EU_ISO - video/mpeg
MPEG_TS_SD_NA - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_NA_T - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_NA_ISO - video/mpeg
MPEG_TS_SD_KO - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_KO_T - video/vnd.dlna.mpeg-tts
MPEG_TS_SD_KO_ISO - video/mpeg
Native format supported by Sony Bravia TV from "Generic DLNA" profile
according to <MediaFormatProfiles> mime-type and name change in "Sony Bravia TV" profile
- AVC_TS_MP_SD_AC3 -rename-> AVC_TS_HD_50_AC3 - video/vnd.dlna.mpeg-tts
AVC_TS_MP_SD_AC3_T -rename-> AVC_TS_HD_50_AC3_T - video/vnd.dlna.mpeg-tts
AVC_TS_MP_SD_AC3_ISO -rename-> AVC_TS_HD_50_AC3_ISO - video/mpeg
AVC_TS_MP_HD_AC3 -rename-> AVC_TS_HD_50_AC3 - video/vnd.dlna.mpeg-tts
AVC_TS_MP_HD_AC3_T -rename-> AVC_TS_HD_50_AC3_T - video/vnd.dlna.mpeg-tts
AVC_TS_MP_HD_AC3_ISO -rename-> AVC_TS_HD_50_AC3_ISO - video/mpeg
AVC_TS_HP_HD_MPEG1_L2_T -rename-> AVC_TS_HD_50_AC3_T - video/vnd.dlna.mpeg-tts
AVC_TS_HP_SD_MPEG1_L2_T -rename-> AVC_TS_HD_50_AC3_T - video/vnd.dlna.mpeg-tts
AVC_TS_HP_HD_MPEG1_L2_ISO -rename-> AVC_TS_HD_50_AC3_ISO - video/mpeg
AVC_TS_HP_SD_MPEG1_L2_ISO -rename-> AVC_TS_HD_50_AC3_ISO - video/mpeg
- AVI -rename-> video/avi
Transcoded in real-time by Serviio according to <Transcoding> "Sony Bravia TV 2011" profile
- * For dvr-ms (asf container with mpeg2 video) files force mpeg2video and ac3 audio transcoding in mpeg2ts to fix monotone timestamps problems.
* Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding.
* Remux h264 video with AC3 audio to MPEG-TS stream without transcoding.
* Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding.
* All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio
Some samples tested:
FAQ
- Subtitle not supported in MPEG program streams (VOB files in other words).
- SRT subtitle files not supported (must be "burned" into video stream, need to transcode/remux it using virtualdub/avidemux)
- USB interface limited to FAT32
- When video bitrate is expensive (>20Mbps), the TV (could) becomes unresponsive - doesn't react on remote commands any more. Check with Bitrate Viewer
- MKV files are not supported in native format by Sony Bravia EX, so Serviio will transcode in MPEG2TS, nevertheless all subtitles will be lost with transcoding.
- AVC H264 High Profile maximum Level is 4.1
- Photo JPEG YCbCr 4:2:2 or 4:2:0 formats, and conforming to DCF 2.0 or Exif 2.21 are supported, Photo JPEG YCbCr 4:4:4 are not supported. Need to have jpegs with a medium quality level. The TV set won't accept "Highest" and "High" quality levels of a NX2 or Photoshop converted jpeg file.
- AVI files are supported with some restrictions: - DivX only in SD resolution, - Xvid are supported with QPEL = No and GMC : 0 / No warppoints, - Some fourCC are not supported, used : XVID
Q: I can see the file on my TV and has a thumbnail picture, but when I try to play the file I get an error "The server is Temporarily unavailable". Serviio log : ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed java.io.IOException: FFmpeg execution failed
A: Turn on detailed logging (see link) you should be able to see the FFmpeg command that is used for the transcode. Try executing the command manually in a terminal window and post the (error) result here.
Q: What file types/bitrates have worked the best for those with sony DLNA products?
A: It is very difficult to answer.
- Best container, probably MKV but not supported with all DLNA products, best Sony container seems to be MPEG2-TS limited to 20-25Mbps bitrate.
- Best Audio encoder is DTS but AC3 must be preferred ( 2channels with 192kbps, 6 channels with 384kbps)
- Best video encoder is x264 (AVC/H264) maximum 1920 x 1080 resolution, you could probably set the maximum video bitrate to 15-17Mbps.
Q: With the new version of Handbrake (0.9.5), encoded video does not work.
A: The new version of Handbrake (0.9.5) uses a variable framerate with some encodes. Sony does not appear to be able to handle these.
The latest builds include a handy checkbox that allows the user to force a constant framerate – if this is checked, Handbrake will work fine with Sony.
Here's a Handbrake developer's reply on the Handbrake forum:
“The problem is with your player. In 0.9.5, HandBrake started producing correct variable framerate h.264. Prior to 0.9.5, HandBrake produced variable framerate timestamps, but did not set the correct flags in the encoded video. The tbc value you are looking at is the codec time base. With variable framerate h.264, the codec time base is *not* the same thing as the framerate. 180k is the right value. So to make your player happy, you are going to have to select constant framerate. In recent nightly builds, there is a checkbox for this. In 0.9.5, picking a specific framerate instead of “Same as source” will force constant framerate.”
_