2020-05-31, 10:45
sorry, but according to your examples, I cannot imagine how I should write code off it:
Post #1:
Post #14:
would be helpful if we get mediainfo XMLs for all these examples - according to these examples I cannot imagine how I should turn that into code
Post #1:
Quote:Width : 720 pixelswe should use the display aspect ratio (this is what myron implemented)
Height : 480 pixels
Display aspect ratio : 16:9
Post #14:
Quote:Width : 1 920 pixelswe should NOT take the display ratio, BUT calculate it from original height/ width?
Height : 802 pixels
Original height : 1 080 pixels
Display aspect ratio : 16:9
Quote:Width : 672 pixelswe could calculate from width/height OR take display aspect ratio?
Height : 448 pixels
Display aspect ratio : 16:9
Quote:Width : 672 pixelswe should calculate with original width/height and NOT take display aspect ratio?
Original width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
would be helpful if we get mediainfo XMLs for all these examples - according to these examples I cannot imagine how I should turn that into code