Width and height of a video?

How can I know the width and height of a video?

For example, the video is playing and the screen is rotated.