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.3
  • Author: Aditya Katyal
  • Country: India

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.3.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.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mediainfo_py-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4f698adfee79fa9100966436c7e1d082bf4b3fd32e1739db4e0ccf3c896b1007
MD5 3f766579be8836da843e2880cb72fe82
BLAKE2b-256 42748954375b06f29963c000784238c6ef3bcb7d9b914761ac46f18da81bc6f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mediainfo_py-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42fff79e9e3de0b645e7916b098cf546d56675e2fc4ae70505595c593bba1a94
MD5 745809d5ba8d7b5ccfa7a2e14df67e1c
BLAKE2b-256 3d21399e894d13a305da85ba5b98e67f30b71b6dec0844934ed76a26b031f251

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