Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 932 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 932 Bytes

mipy (MediaInfo Python)

MediaInfo Example using python with PyMediaInfo
Only my 3rd ever python script. Sorry if it looks fuky.
Arguments can be either a file or directory (single level only)
Adjust the list "Suffix" to suit your file type needs. Curently defaults to
suffix = (".mkv", ".avi", ".mp4", ".mpg", ".webm", ".wmv" ".mov", ".mp3")

Install & Run
git clone https://github.com/optio50/mipy
cd mipy
chmod +x mipy
pip3 install pymediainfo
./mipy <Some-media-file_or-directory>

Required tools

https://mediaarea.net/en/MediaInfo/Download/Ubuntu libzen0 libmediainfo0

https://github.com/sbraz/pymediainfo
https://repology.org/project/python:pymediainfo/versions

How to use it
https://pymediainfo.readthedocs.io/en/stable/

ScreenShot