{vf} is normalized to the next standard quality value and always "p" even if ScanType is interlaced (because people want it to say "720p" even if it's "720i").
{sdhd} will give you HD for videos where width >= 1280 and height >= 720.
{hdi} seems to be working properly to me. (I presented it to clarify the properties of the file)
Q1.
Are you saying that for something like the example above, where the height is 718, the appropriate {vf} value should be the next standard quality, which is "576p" in this case?
Pre-2014/2013, it used to go up to "720p". Can I achieve that again, if this is not perceived as a bug?
My current formula uses: {vf.match(/240[pP]|360[pP]|480[pP]|720[pP]|1080[pP]|2160[pP]/)+', '}
The result "576p" simply yields no result under this function at all. (My goal is to produce "720p")
Q2.
I understand why {sdhd} functions that way. Is there a way for me to make it more loose, for example, giving HD for width >= 1270 and height >= 710, or if {vf} >= 720p?
Edit:
Now that I think about it, is there a way to round {hpi} to the closest value from my selection?
E.x.
240/360/480/720/1080/2160, while maintaining the p/i letters?