Video Utils
This library provides utilities for dealing folders full of video files, including parsing out all metadata and intelligent caching.
Example Usage
from video_utils import FileMap
def run():
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.full_path)
print(video.size) # in bytes
print(video)
video.refresh() # force a refresh of the video metadata, will only occur if filesize has changed.
run()
Metadata
Release files for video_utils 2.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| video_utils-2.5.2.tar.gz | 37.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| video_utils-2.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.8 kB
Release files / video_utils-2.5.2.tar.gz
| Download URL | video_utils-2.5.2.tar.gz |
|---|---|
| Size | 37.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10d2bc1b1df71f78c444a5bfb4a93c116e848688864859b0fdcb29104ee4c251
|
|
BLAKE2b-256 checksum How to use checksums |
4f6a2a6f0ec91c83f97d10b5179e267eea83285a3958f9ebf355aa83ffc86867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / video_utils-2.5.2-py3-none-any.whl
| Download URL | video_utils-2.5.2-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b31546a08b82f69c7bd648e09a9e4d4baa4eed975631a18f47ecd35f213198f
|
|
BLAKE2b-256 checksum How to use checksums |
36c9dbe4fff9f98ed4b4d681895066ab02b4efa568fc964bffde6f1dc2dfcfa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|