Skip to main content

Get the dimensions of a video file with mediainfo

  • Tagged with video
  • Posted

Here are two examples:

$ mediainfo '--Inform=Video;%Width%' speech.mp4
640

$ mediainfo '--Inform=Video;%Height%' speech.mp4
360