Any easy way to find out a video's resolution & duration?

I know one way is to parse the ffprobe's output. But,

  • I don't know how consistent the output is among different video files.
  • and most importantly, I hope to avoid such parsing entirely.

I've tried

  • ffprobe -print_format json ...
  • ffprobe -print_format compact ...

But neither seems to be what they are supposed to be

-print_format format set the output printing format (available formats are: default, compact, csv, flat, ini, json, xml)


Use MediaInfo? About: https://mediaarea.net/en/MediaInfo // Downloads: https://mediaarea.net/en/MediaInfo/Download

But you need to install it. On Windows (haven't tested on mac), it shows up as option on rightclick

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.