Skip to main content

This library is used for lots of shared functionality around parsing TV shows and movies

Project description

Video Utils

Test Status codecov

This library provides utilities for dealing with TV show and Movie files and the metadata around them.

Example Usage

from video_utils import FileMap

f = FileMap("/path/to/videos")
f.load() # By default, this will load the cached metadata, and then update files that have changed in size

for directory in f.contents:
    for video in f.contents[directory]:
        codec = video.codec
        print(codec.pretty_name) # x265
        print(video.quality) # 1080p
        print(video.size) # in bytes
        video.refresh() # force a refresh of the video metadata, will only occur if filesize has changed.

Project details

Download files

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

Files for video-utils, version 2.0.12
Filename, size File type Python version Upload date Hashes
Filename, size video_utils-2.0.12-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size video_utils-2.0.12.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page