Anamorphic DVD - aspect ratio
#23
Hi,

I have a similar problem with "Aspect Ratio" detection.
I did a lot of testing and found out that in case of mkv files sourced from Blu-Ray and UHD Blu-Ray where "DisplayAspectRatio" basically always is defined as 16:9 there is only one method to identify the aspect ratio of the cropped movie (mostly 2.4:1) for undistorted and hasslefree playback.
It would be possible to change DisplayWidth/DisplayHeight in the mkv metadata which leads to the correct DisplayAspectRatio in the mkv metadata but this would result in distorted playback in some video players unless you can force the video decoder to use the aspect ratio of the stream. So this is quite a bad solution.
In my opinion it is advisable to set the crop flags in the mkv metadata. This could be done with a simple tool that detects the cropped aspect ratio and sets the crop flags in the mkv metadata accordingly.
In the next step, TinyMediaManager should calculate the Aspect Ratio according to this suggested formula:
Quote:Use this formula:

Display aspect ratio * (Width / Height) / (Original width / Original height)

That should account for all scenarios.
Width and Height from MediaInfo already take the crop flags into account wheras Original width/height refer to the uncropped dimensions. If there are no crop flags set there are also no Original width/height flags set because in this case the original uncropped dimensions are specified by Width and Height and in the above formula you just replace Original width/height with Width/Height.

Also should the calculated AR be preferred instead of the DisplayAspectRatio from MediaInfo which for Blu-Rays always would be 16:9. At least it would be great to globally select the preferred AR, calculated or MediaInfo AR.
With this method also the resulting .nfo file stays unchanged when played in Kodi or MPC for example.


This case:
Quote: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
is nothing different to a 16:9 encoded Blu-Ray with eg 2.4:1 (cropped) content. you need the crop flags set accordingly in the mkv metadata to calculate the cropped content AR with above suggested formula. in this case you already know? that the cropped content's AR is 16:9 (so no need for black bar detection algo) hence you could set the crop flags in the mkv metadata directly.


Messages In This Thread
Anamorphic DVD - aspect ratio - by mhendu - 2019-11-28, 02:01
RE: Anamorphic DVD - aspect ratio - by mhendu - 2019-11-28, 17:43
RE: Anamorphic DVD - aspect ratio - by myron - 2019-11-29, 09:35
RE: Anamorphic DVD - aspect ratio - by mhendu - 2019-11-29, 20:14
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-01-04, 00:20
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-01-04, 17:11
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-01-04, 18:38
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-01-05, 19:35
RE: Anamorphic DVD - aspect ratio - by myron - 2020-01-07, 16:03
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-05-26, 17:33
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-05-31, 17:23
RE: Anamorphic DVD - aspect ratio - by masodes - 2020-11-29, 17:17
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-06-10, 16:30
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-07-18, 09:06
RE: Anamorphic DVD - aspect ratio - by mhendu - 2020-09-24, 06:56
RE: Anamorphic DVD - aspect ratio - by myron - 2020-11-30, 21:06
RE: Anamorphic DVD - aspect ratio - by myron - 2020-12-01, 22:37
Logout Mark Read Team Forum Stats Members Help
Anamorphic DVD - aspect ratio0