Skip to main content

MediaQuery is a wrapper for mediainfo tool

Project description

A simple wrapper for mediainfo tool

Prerequisites

This tool needs mediainfo to be installed inorder to work properly.

On Ubuntu/Debian:

sudo apt install mediainfo

On Mac:

brew install mediainfo

Usage

To get all available info about a video file. It works with all media types.

mediaquery --file="some video.mp4" track --type={General/Audio/Video} --list-keys

To get info about one particular key:

mediaquery --file="some video.mp4" track --type={General/Audio/Video} --key=Duration

Build Deb

python setup.py --command-packages=stdeb.command bdist_deb

Install Deb

sudo apt install python3-pymongo python3-gridfs python3-pymongo-ext python3-bson
sudo dpkg -i python3-mediaquery_0.1.5-1_all.deb

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

mediaquery-0.1.6.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

mediaquery-0.1.6-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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