THX for explanation, but I am a noob in those things:
I guess this is to late as the video must run therefore mp.get_property( height )
Could you get them earlier this way:
Get property: https://mpv.io/manual/master/…-property(name-[,def])
List of Properties: https://mpv.io/manual/master/#properties
https://unix.stackexchange.com/questions/4551…gh-command-line