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.2.tar.gz (3.0 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.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mediainfo_py-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 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.2.tar.gz
Algorithm Hash digest
SHA256 3f4f05cfc860841f6e87ae4bd8195f0242ce86f6a274e0c1fccbee5506af6a48
MD5 46a805e1a3d85ce59b24df4c0151dca4
BLAKE2b-256 d406e88fda86b46ada6d1cedcf97d8b0a90aec246575e2aad84b3913994bdf0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mediainfo_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d07cb0e429cd465aed7971823cc7a624161eb410185d505a5c9e69b1e0c06956
MD5 c5a3a3676133d4c8bcdc71a435957d5b
BLAKE2b-256 c6974a0d1aef6a58677443cf162974da5d50c6883942d143c6e97032266a66a5

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