Get video info such as width, height, format, duration and framerate. This may also be used for audio input files.

av_media_info(file)

Arguments

file

path to an existing file

See also