Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 634 Bytes

README.rst

File metadata and controls

33 lines (19 loc) · 634 Bytes

NAME

A Python wrapper around the MediaInfo command line utility

SYNOPSIS

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()

DESCRIPTION

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