Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A Python wrapper around the ffprobe or mediainfo command line utility

Project description


A Python wrapper around the MediaInfo command line utility


from MediaInfo import MediaInfo

info     = Mediainfo(filename = '/media/test.ts')
infoData = info.getInfo()

info     = Mediainfo(filename = '/media/test.ts', cmd = '/usr/bin/ffprobe')
infoData = info.getInfo()

info     = Mediainfo(filename = '/media/test.ts', cmd = '/usr/bin/mediainfo')
infoData = info.getInfo()


MediaInfo gets information of media through ffprobe by default. Alternatively, ffprobe and mediainfo are also supported in configuration.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for MediaInfo, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size MediaInfo-0.0.9.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page