Skip to main content

Video Profiler - profile various attributes of local videos like resolution, codec, container, audio channels, and more!

Project description

videoprof - A CLI Video Profiler for Python

Profile various attributes of local videos like resolution, codec, container, audio channels, and more!

Installation

To install, you can add the "videoprof" package from pip:

pip3 install --user --upgrade videoprof

Requirements

libmediainfo

This application can not work without libmediainfo. To install libmediainfo on Debian or Ubuntu:

apt-get install libmediainfo0v5

If you see a message like the following, it must not be installed:

Could not analyze videos: make sure libmediainfo is installed!

A Compatible Python version:

  • 3.6
  • 3.7
  • 3.8
  • 3.9

Usage

Usage: videoprof [OPTIONS] [SOURCES]...

Options:
  -c, --config TEXT              JSON configuration file
  -s, --sqlite-cache TEXT        SQLite cache file
  -f, --files                    Show individual file badges and exit
  -d, --directories              Show directory badges and exit
  -p, --directory-depth INTEGER  Directory depth for summaries
  -o, --only-flagged             Only show individual files or directories on
                                 flagged entries

  -m, --media-info               Show media info for the first found file and
                                 exit

  --help                         Show this message and exit.

Screenshots

Summary view:

videoprof summary view

Directory view:

videoprof directory view

Flaged directory view:

videoprof flagged directory view

Configuration

Videoprof is very configurable - any attribute that is returned by mediainfo can be profiled. When videoprof is first run, it will generate a default configuration in ~/.config/videoprof/config.json (on POSIX/Linux systems).

The default configuration mostly codifies Blu-Ray specs as "success", DVD specs as "warning", and everything else as an error. While simple, it does contain most features useable within the configuration and can be used as a reference.

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

videoprof-0.3.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

videoprof-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file videoprof-0.3.0.tar.gz.

File metadata

  • Download URL: videoprof-0.3.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Darwin/20.2.0

File hashes

Hashes for videoprof-0.3.0.tar.gz
Algorithm Hash digest
SHA256 abc48828b042395e28d716f489a2e79fb30e2df1096e288db0e2baac17bbded1
MD5 d90f4a898c7830b674bbb4654d798297
BLAKE2b-256 87c386d9cda4bece9d6ef2a275b6986391d467622d549b357301b6add0fdc966

See more details on using hashes here.

File details

Details for the file videoprof-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: videoprof-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Darwin/20.2.0

File hashes

Hashes for videoprof-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc00018e3a4f6a75555b91ba6bb0e2aa0d6814ee0c4449d6f3bb61aa149b3971
MD5 562caf3482be23a0baf62f7c8aa7daed
BLAKE2b-256 343c99fef5c219ad51e64111943d87b462678ef0af05b7b3fbe9c8c17b708d48

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