Skip to content
Browse files

Improved support for Sony Bravia HX (thanks, mazey!)

  • Loading branch information...
1 parent e88463e commit 973d1e14fdc954df90841ed1ef3b0045a142f699 @Raptor399 Raptor399 committed Dec 29, 2012
View
1 CHANGELOG.txt
@@ -14,6 +14,7 @@ Changelog:
- Android: allowing chunked transfer
- AirPlayer & iPad/iPhone: transcoding to WMV format gives better results
- Added support for Philips HTS (thanks, leroy!)
+ - Improved support for Sony Bravia HX (thanks, mazey!)
Engines:
FFmpeg Video and FFmpeg Web Video:
- support all three TranscodeVideo profiles: WMV, MPEGTSAC3 and MPEGPSAC3
View
2 src/main/external-resources/renderers/BraviaEX.conf
@@ -9,7 +9,7 @@ RendererIcon=braviaex.png
#===========================================================
#UserAgentSearch=
UserAgentAdditionalHeader=X-AV-Client-Info
-UserAgentAdditionalHeaderSearch=(BRAVIA KDL.+EX[3457])|(BRAVIA KDL.+[CHN]X[578])
+UserAgentAdditionalHeaderSearch=(BRAVIA KDL.+EX[3457])|(BRAVIA KDL.+[CN]X[578])
Video=true
Audio=true
Image=true
View
64 src/main/external-resources/renderers/BraviaHX.conf
@@ -0,0 +1,64 @@
+# ps3mediaserver renderer profile for Sony Bravia HX series
+# Refer to PS3.conf for help
+
+RendererName=Sony Bravia HX
+RendererIcon=bravia-hx.png
+
+#===========================================================
+# Reported identifying headers:
+# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-55HX750"; mv="1.7";
+#===========================================================
+#UserAgentSearch=
+UserAgentAdditionalHeader=X-AV-Client-Info
+UserAgentAdditionalHeaderSearch=BRAVIA KDL.+HX
+
+Video=true
+Audio=true
+Image=true
+SeekByTime=true
+TranscodeVideo=MPEGPSAC3
+TranscodeAudio=LPCM
+DefaultVBVBufSize=true
+MuxH264ToMpegTS=true
+MuxDTSToMpeg=false
+WrapDTSIntoPCM=false
+MuxLPCMToMpeg=false
+TranscodeFastStart=true
+MaxVideoBitrateMbps=0
+MaxVideoWidth=0
+MaxVideoHeight=0
+H264Level41Limited=true
+MimeTypesChanges=audio/wav=audio/L16|video/mp4=video/mpeg
+DLNALocalizationRequired=true
+#TranscodeExtensions=dvr-ms,dvr,mkv,dv,ty,mov,ogm,hdmov,hdm,rmv,rmvb,rm,asf,evo,asx,flv,m2v,mpe,mod,tivo,ty,tmf,ts,tp,m2p,mp4,m4v,avi,wmv,wm,divx,div,flac,mlp,fla,wma,m4a,aac,dts,mka,ape,ogg,shn,mpc,ra,mp2,wv,oma,aa3,gif,png,arw,cr2,crw,dng,raf,mrw,nef,pef,tif,tiff
+#StreamExtensions=
+
+# For Bravia TVs and Sony Bluray players
+ForceJPGThumbnails=true
+
+MediaInfo=true
+CreateDLNATreeFaster = true
+
+# [Supported video formats]:
+# Here we declare support (or lack) of DTS (here, none of the entries declare dts as a supported audio codec)
+Supported = f:mpegps|mpegts v:mpeg1|mpeg2|mp4|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
+# No H264 for AVI files, plus specific mediainfo attributes, for better auto detection (qpel and gmc are not supported here)
+Supported = f:avi|divx v:mp4|divx|mjpeg a:mp3|lpcm|mpa|ac3 m:video/x-divx qpel:no gmc:0
+Supported = f:mp4 v:mp4|h264 a:ac3|aac m:video/mp4
+# WMV files are supported, but not with 5.1 audio: (hence the n:2)
+Supported = f:wmv v:wmv|vc1 a:wma n:2 m:video/x-ms-wmv
+
+# [Supported audio formats]:
+Supported = f:wav a:dts|lpcm n:6 s:48000 m:audio/wav
+Supported = f:wav n:2 s:48000 m:audio/wav
+Supported = f:mp3 n:2 m:audio/mpeg
+# Apple lossless not supported
+Supported = f:aac n:2 a:(?!alac).+ m:audio/x-m4a
+Supported = f:wma n:2 m:audio/x-ms-wma
+Supported = f:atrac n:2 m:audio/x-oma
+
+# [Supported image formats]
+Supported = f:jpg m:image/jpeg
+Supported = f:png m:image/png
+Supported = f:gif m:image/gif
+Supported = f:tiff m:image/tiff
View
BIN src/main/resources/images/clients/bravia-hx.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
3 src/test/java/net/pms/configuration/RendererConfigurationTest.java
@@ -68,6 +68,9 @@ public void setUp() {
// From BraviaEX.conf:
testCases.put("X-AV-Client-Info: av=5.0; cn=\"Sony Corporation\"; mn=\"BRAVIA KDL-32CX520\"; mv=\"1.7\";", "Sony Bravia EX");
+ // From BraviaHX.conf:
+ testCases.put("X-AV-Client-Info: av=5.0; cn=\"Sony Corporation\"; mn=\"BRAVIA KDL-55HX750\"; mv=\"1.7\";", "Sony Bravia HX");
+
// From Dlink510.conf:
testCases.put("User-Agent: DLNADOC/1.50 INTEL_NMPR/2.1", "D-Link DSM-510");

0 comments on commit 973d1e1

Please sign in to comment.
Something went wrong with that request. Please try again.