When you want to get the dimensions of a video file, you probably want the display aspect ratio. Using the dimensions of a stored frame may result in a stretched or squashed video.
I think the pixels themselves are still square, they just get scaled by the player to display, a bit like looking at a 1080p video on a 4k screen.
I remember this being a thing a long long time ago when TV rips were more common and would display janky on playback unless you forced the aspect ratio but I haven’t come across it in forever.
Huh, interesting. TIL videos can have non-square pixels.
I think the pixels themselves are still square, they just get scaled by the player to display, a bit like looking at a 1080p video on a 4k screen.
I remember this being a thing a long long time ago when TV rips were more common and would display janky on playback unless you forced the aspect ratio but I haven’t come across it in forever.