Skip to main content

Lightweight FFmpeg-based video metadata extractor

Project description

mediainfo-py

mediainfo-py is a lightweight Python package for extracting video metadata using FFmpeg. It provides a simple, Pythonic interface to retrieve commonly needed information such as resolution, frame rate (FPS), codec, and duration.


Package Information

  • Package name: mediainfo-py
  • Current version: 0.1.1
  • Author: Aditya Katyal
  • Country: India
  • License: MIT

What this package does

This package wraps FFmpeg’s ffprobe functionality and exposes it as a reusable Python class.

You can use it to:

  • Get video resolution (width × height)
  • Extract frame rate (FPS)
  • Identify video codec
  • Get total media duration

It is designed to be simple, predictable, and reusable across projects such as:

  • media downloaders
  • video processing pipelines
  • analysis tools
  • automation scripts

Installation

Install from PyPI using pip:

pip install mediainfo-py

Project details


Download files

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

Source Distribution

mediainfo_py-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mediainfo_py-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mediainfo_py-0.1.1.tar.gz.

File metadata

  • Download URL: mediainfo_py-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for mediainfo_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 806970440a04b81985abe3010b1e91b6ff97ec0337f506fb6d1991a555b94165
MD5 70389f15f2338f9a6f3ea28d16bf4d76
BLAKE2b-256 090c1d85f29e542e9f3c71d0d1c3a4d63963a7abe46987796e8c13ab457a106d

See more details on using hashes here.

File details

Details for the file mediainfo_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mediainfo_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for mediainfo_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc1054f9edccd65b8565ced46a948c63d8f9662bccf8c394013256dd5ba0f07
MD5 976fbb03f04795caaeb0814ed5bfe38f
BLAKE2b-256 38af0afe7bf08207b4b6b29d55ebc471eabea73c05f6c102001c55befa3f2728

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page