2020-09-24, 06:56
(2020-07-18, 10:03)mlaggner Wrote: just load some of your files into mediainfo and choose "view - XML".. paste those results to paste.kodi.tv please so I can put the exact values into my unit tests and develop the logic according to it
btw: I've tried to find a solution for a DVD image where mediainfo reports 4:3 but the content is in 16:9 but I've failed to find a logic how to detect this
Sorry, been a bit busy lately.
Here's an example where the aspect ratio is 1.85:1 but the image is uncropped 16x9.
https://paste.kodi.tv/qalutawiye
And an example of a file with dimensions of 720x572 pixels but aspect ratio of 16x9.
https://paste.kodi.tv/waqodoqofi
Here's one with an unusual display aspect ratio flag, so the actual aspect ratio is 1.6:1:
https://paste.kodi.tv/asoviqozil
And one with both a display aspect ratio flag and a crop flag (correct aspect ratio is 1.66:1):
https://paste.kodi.tv/eqosidavic