Paradox wrote:If FFmpeg is going to be the new default encoder is there going to be a fix see that files play with the correct aspect ratio on certain Sony and Panasonic devices?
The renderer option "KeepAspectRatio" works with MEncoder and FFmpeg, so hopefully there's no need to use CustomMencoderOptions.
Please let us know if KeepAspectRatio=true works for Sony EX and then we can commit the change in the next release
Nope does not work on my Sony Bravia 40EX403 TV and never has in any build. The only time it has any affect is with SOME .mp4 files and even then it is hit and miss. It has no effect at all on and xvid/avi files. To get them to play properly the only way is with Mencoder and the CustomMencoderOptions i mentioned.
Likewise using other possible settings to mitigate the problem such as...
RescaleByRenderer set to true or flase has no effect either.
Or to similar values, does not help either
Another ongoing issue is Web videos (IE what you set up in a web.conf) file also have issues. When using Mencoder to play them the command CustomMencoderOptions =-vf softskip,expand=::::1:16/9:2 gets totally ignored. So they can not be played at all on My sony using Mencoder at the correct aspect ratio.
That issue has been like that since around version 3.3/3.4 from memory (ill go back and test if really needed). Earlier 2.6x versions it works fine. CustomMencoderOptions No matter what you set seem to be ignored for web video/the web.conf file. Dunno if thats just for Sonys or every device.
The only way to fix that issue is set web content to use FFmpeg and to manually open up the ffmpeg.webfilters file and go through it line by line and manually set the aspect each website should be using. For example, setting....
revision3\.com | -aspect 1:1
For all the revision3 web feeds. Without manually setting that all the videos which are 16:9 as default will display in 2.35:1 or similar on a Sony EX TV. Setting that manually for every site when you have a massive amount like i do gets old quick, and remembering to backup the ffmpeg.webfilters file you make alterations to before you upgrade to a new version of UMS gets old even quicker.
Something changed in the code seriously between around 2.65 and 3.0+ versions, i do not know what but without being rude its broken more than it fixed for some devices.
Tto be fair it is not just UMS and PS3MS that have had these issues with Sonys, it is a known issue with DLNA and FFmpeg on them. If you search around programs like Serviio which uses FFmpeg and even Plex previously had the same aspect ratio problems, though they fixed them long ago and Sony TVs now work fine in those apps.
I do not know if it will help solve the issue in UMS but this serviio thread documents very well exactly what happens currently in UMS with FFmpeg.
The second picture in the second post by illico shows exactly what happens with UMS. It adds black bars and crushes things that are supposed to be round to ovals (IE ruins the Aspect ratio) Look at the globes on the fireplace in the first image (what things should look like) and then the second (What FFmpeg and UMS does).
Using zoom on the TV is a partial work around but as also mentioned that then crops the image. As seen in picture three. It also does NOT work if the video is a 4:3 rather than 16:9 as it then stretches 4:3 content to 16:9 and again everything looks fat/oval
The third post and the image with the blue bars is basically or very similar to the fix UMS needs implemented.
Later in the thread here...
http://forum.serviio.org/viewtopic.php? ... 956#p19201
A reference is made to the Mencoder options which i currently use in UMS, which in UMS is the only way to fix things currently.
There is no FFmpeg fix for UMS it needs some type of CustomFFmpegOptions= added to the SonyEX profile, though what i have no idea, im not familiar enough with FFmpeg commands.