VComp
Video compiler framework
Getting started
from vcompy import Video, Text, Compiler
FPS = 60
VIDEO_SIZE = (1280, 720)
vid = Video.from_file("/path/to/file.mp4")
text = Text("Hey, this thing is working!", font="/path/to/font", fontsize=16, duration=(2 * FPS), position=(0, 0))
compiler = Compiler.simple([vid, tex])
compiler.duration = 2 * FPS
compiler.fps = FPS
compiler.size = VIDEO_SIZE
for progress in compiler.save_as("output.mp4"):
print(f"{progress}/{compiler.get_duration()}", end='\r')
print()
Metadata
Release files for vcompy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vcompy-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vcompy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / vcompy-0.1.0.tar.gz
| Download URL | vcompy-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8d8dd081a9d13fd336c74a0b2817df1e6d1aa402603cf46859036d24be0f622
|
|
BLAKE2b-256 checksum How to use checksums |
b4a801c36cc7910c0c15204ca55f899ebe789dc36be5dbf86147d13952932530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / vcompy-0.1.0-py3-none-any.whl
| Download URL | vcompy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
558165e1955c763e1e1ce580252b0d2e37a19a1874bf4ebaf51da123a15079f3
|
|
BLAKE2b-256 checksum How to use checksums |
be010c338fe04966d3f5715c1b130a46c69aede17ea3f0c7b5bb7c1ba828de74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|