Web Streams, Aspect Ratio, PMSencoder and Bravia
Posted: Tue Dec 17, 2013 6:28 am
So first off the problem in short. Web Streams do not seem to obey additional settings made for certain devices to render video aspect ratio correctly be it if making the setting changes in UMS itself or in your render.conf files.
I have a Sony Bravia KDL40-EX403 which by now most reading will know like a few other devices requires custom parameters to render videos correctly on screen, to do this in my "braviaex.conf" file i use the command line...
However if i attempt to play back web streams (tried mencoderweb, ffmpegweb and even VLC Web engines) the aspect ratio is always incorrect. I have played with various values both in my bravia.conf and within "Expert Settings: Codec Specific" in UMS it self but no matter what resolution is set the webstreams display incorrectly.
As an example i have this set in my web.conf file
This same issue also happens if i try to use ffmpeg for locally stored files (so it looks like ffmpeg does not obey changes either). They work 100% fine if using mencoder or tsmuxer though.
In earlier releases of UMS (Ive tried versions 2.65 upto 3.0.0a1) this was not a problem as using PMSEncoder engine for webstreams in conjunction with the above bravia.conf mod worked 100% fine and they would display the Aspect ratio correct for web streams. However it seems from reading these forums all versions since around 3.0.0 PMSencoder no longer works in. though weirdly i did find in my reading of this forum a "UMS-Serenus-10.exe" build which suggests it is based on 3.0.0 file which PMSencoder strangly does work in, the 3.0.0 version on sourceforge though (IE here http://sourceforge.net/projects/unimedi ... e/download) does not function with PMSencoder.
I really like the newer versions of UMS. 3.10 and onward is amazing due to the improvements made to render the directory tree faster on Sony Bravia TVs, older versions you would have to wait for it to load file and folder icons an iceage lol.
However the downside is obviously the loss to watch webstreams as whatever code is used does not seem to obey setting changes made in UMS.conf or bravia.conf.
So the question is there any way to fix this or any fix in the works??? I really do not want to have to go back to a version between 2.65 and 3.0.0b1 due to the directory display taking so long to render on Bravia TVs. Is there maybe anyway perhaps with some tips if needed i could build myself an earlier version but implement the code which came in 3.10 see i can have fast directory browsing and correct webstream aspect. I suspect (though may be entirely wrong) it is only minor changes made to the code to speed up directory browsing could someone maybe point to what on github and point to how i could take that and build it into an older revision see i could have the best of both worlds. I am a pretty efficient user and with a few pointers think i could manage this.
Anyways go easy on me, its my first post, sorry if it is a bit long, i would had included logs but am not at my machine right now, it probably in this case would not matter as i am pretty certain they do not report anything strange when trying to play a webstream as there is nothing strange so to speak apart from sony in the equation.
Any tips to force webstreams to play with correct aspect and also to get ffmpeg to play local content with correct aspect would be much appreciated.
I have a Sony Bravia KDL40-EX403 which by now most reading will know like a few other devices requires custom parameters to render videos correctly on screen, to do this in my "braviaex.conf" file i use the command line...
This renders video stored LOCALLY perfectly of all resolutions for me when using mencoder (with the exception of external subtitle file overlap bug which im not bothered about, i rarely use subs or just hard code into an avi file or similar if i do need them). 2.35:1 videos display perfect, 16:9 perfect even 4:3.CustomMencoderOptions = -vf softskip,expand=::::1:16/9:2,scale=1283:720 -lavcopts aspect=16/9
However if i attempt to play back web streams (tried mencoderweb, ffmpegweb and even VLC Web engines) the aspect ratio is always incorrect. I have played with various values both in my bravia.conf and within "Expert Settings: Codec Specific" in UMS it self but no matter what resolution is set the webstreams display incorrectly.
As an example i have this set in my web.conf file
They encode all their streams in h264 and .mp4 container with a resolution of 1280x720. So just a standard 16:9 720p Aspect. However when played back through UMS on my bravia they all end up being displayed with black bars top and bottom (presented on the scream as if it is 2.40 aspect or thereabouts). The image is vertically squashed (IE everyone looks fat or a circle will end up looking like an oval shape).videofeed.Web,Revision3=http://revision3.com/hdnation/feed/mp4-hd30
This same issue also happens if i try to use ffmpeg for locally stored files (so it looks like ffmpeg does not obey changes either). They work 100% fine if using mencoder or tsmuxer though.
In earlier releases of UMS (Ive tried versions 2.65 upto 3.0.0a1) this was not a problem as using PMSEncoder engine for webstreams in conjunction with the above bravia.conf mod worked 100% fine and they would display the Aspect ratio correct for web streams. However it seems from reading these forums all versions since around 3.0.0 PMSencoder no longer works in. though weirdly i did find in my reading of this forum a "UMS-Serenus-10.exe" build which suggests it is based on 3.0.0 file which PMSencoder strangly does work in, the 3.0.0 version on sourceforge though (IE here http://sourceforge.net/projects/unimedi ... e/download) does not function with PMSencoder.
I really like the newer versions of UMS. 3.10 and onward is amazing due to the improvements made to render the directory tree faster on Sony Bravia TVs, older versions you would have to wait for it to load file and folder icons an iceage lol.
However the downside is obviously the loss to watch webstreams as whatever code is used does not seem to obey setting changes made in UMS.conf or bravia.conf.
So the question is there any way to fix this or any fix in the works??? I really do not want to have to go back to a version between 2.65 and 3.0.0b1 due to the directory display taking so long to render on Bravia TVs. Is there maybe anyway perhaps with some tips if needed i could build myself an earlier version but implement the code which came in 3.10 see i can have fast directory browsing and correct webstream aspect. I suspect (though may be entirely wrong) it is only minor changes made to the code to speed up directory browsing could someone maybe point to what on github and point to how i could take that and build it into an older revision see i could have the best of both worlds. I am a pretty efficient user and with a few pointers think i could manage this.
Anyways go easy on me, its my first post, sorry if it is a bit long, i would had included logs but am not at my machine right now, it probably in this case would not matter as i am pretty certain they do not report anything strange when trying to play a webstream as there is nothing strange so to speak apart from sony in the equation.
Any tips to force webstreams to play with correct aspect and also to get ffmpeg to play local content with correct aspect would be much appreciated.