API Reference >> skvideo.io.mprobe
Fork me on GitHub

skvideo.io.mprobe

skvideo.io.mprobe(filename)[source]

get metadata by using mediainfo

Checks the output of mediainfo on the desired video file. Data is then parsed into a dictionary and checked for video data. If no such video data exists, an empty dictionary is returned.

Parameters:

filename : string

Path to the video file

Returns:

mediaDict : dict

Dictionary containing all header-based information about the passed-in source video.