Get the dimensions of a video file with mediainfo
Here are two examples:
$ mediainfo '--Inform=Video;%Width%' speech.mp4
640
$ mediainfo '--Inform=Video;%Height%' speech.mp4
360
mediainfo
Here are two examples:
$ mediainfo '--Inform=Video;%Width%' speech.mp4
640
$ mediainfo '--Inform=Video;%Height%' speech.mp4
360