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 used to develop code for reading barcodes, and dealing with pixel aspect ratio was always annoying. It was one of those cases where 99.9% of images were square, but that tail always made for weird cases that had to be accounted for. Good times.
I used to develop code for reading barcodes, and dealing with pixel aspect ratio was always annoying. It was one of those cases where 99.9% of images were square, but that tail always made for weird cases that had to be accounted for. Good times.