{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"pymediainfo extracts detailed metadata from multimedia files by wrapping the MediaInfo library, parsing video, audio, and image properties into structured Python objects.","skillfed_tags":["media-metadata","multimedia-analysis"],"use_cases":["Extract video codec, bitrate, frame rate, and duration from media files for transcoding pipelines or quality assessment","Retrieve image dimensions, format, and file size for thumbnail generation or asset validation workflows","Batch analyze audio tracks to identify channel layout, sample rate, and compression mode for media library cataloging","Parse pre-generated MediaInfo XML output when the MediaInfo binary is not available on the deployment system","Build media validation tools that check file properties against expected specifications before processing"],"what_it_does":"pymediainfo is a Python wrapper around the MediaInfo library that extracts detailed metadata from multimedia files. It parses video, audio, image, and other media tracks into structured Python objects with attributes like bitrate, frame rate, codec, duration, and dimensions. The package supports Linux, macOS, and Windows, with wheels bundling MediaInfo for common architectures; however, it requires the external MediaInfo library to be present on the system to actually parse files\u2014without it, the package can only process pre-generated XML output from MediaInfo.\n\nYou use it by calling `MediaInfo.parse()` with a file path, which returns a `MediaInfo` object containing a list of `Track` objects. Each track's attributes are dynamically populated during parsing and can be accessed directly or converted to a dictionary. The package also supports text output similar to the command-line `mediainfo` tool and can parse existing MediaInfo XML strings directly.","worth_installing":"Yes, if you need to extract multimedia metadata in Python and can ensure the MediaInfo library is installed on your system. The package is stable (Production/Stable status), supports modern Python versions (3.9\u20133.13), has no known vulnerabilities, and carries a permissive MIT license. However, maintenance is dormant and the external MediaInfo dependency adds installation complexity; verify that your deployment environment can satisfy this requirement before adopting."},"id":"pymediainfo","links":{"html":"https://skillfed.io/packages/pymediainfo","md":"https://skillfed.io/packages/pymediainfo.md","pypi":"https://pypi.org/project/pymediainfo/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2025-02-12","license_spdx":null,"license_treatment":"permissive","name":"pymediainfo","python_support":"supports_current","summary":"A Python wrapper for the MediaInfo library."},"popularity":{"monthly_downloads":2551681,"position":3003,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.0.1"}
