Skip to content

Instantly share code, notes, and snippets.

@algo31031
Created May 30, 2014 05:25
Show Gist options
  • Save algo31031/a442190afa8f6a58ee14 to your computer and use it in GitHub Desktop.
Save algo31031/a442190afa8f6a58ee14 to your computer and use it in GitHub Desktop.
get width / height / ratio of a video , using mediainfo
mediainfo '--Inform=Video; %Width% %Height% %DisplayAspectRatio/String%' video.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment