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.3
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.3.tar.gz | 37.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| video_utils-2.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.7 kB
Release files / video_utils-2.5.3.tar.gz
| Download URL | video_utils-2.5.3.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42b2832c8affacd1cc8a5773f2bd8cad926269fb73428484cb6992b8fd9f908e
|
|
BLAKE2b-256 checksum How to use checksums |
e3d0f31b684dd675dd0c0253850c161608d4cfdadad27e090a1816d89feb29ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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.3-py3-none-any.whl
| Download URL | video_utils-2.5.3-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd837f61eb98b7759ca2681cbce59e29e4c0c924fc162bf9843ea8d7b8f903b7
|
|
BLAKE2b-256 checksum How to use checksums |
757f79e9b1ba40fd8a51c1e91d1d611458032c0774ab9e1a7f825b2a5976e2fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|