Video compiler
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vcompy-0.1.0.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file vcompy-0.1.0.tar.gz
.
File metadata
- Download URL: vcompy-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d8dd081a9d13fd336c74a0b2817df1e6d1aa402603cf46859036d24be0f622 |
|
MD5 | c8fa0c48bcc0cf94cbc6f9bf6bea5a98 |
|
BLAKE2b-256 | b4a801c36cc7910c0c15204ca55f899ebe789dc36be5dbf86147d13952932530 |
File details
Details for the file vcompy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: vcompy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558165e1955c763e1e1ce580252b0d2e37a19a1874bf4ebaf51da123a15079f3 |
|
MD5 | e7ae9b67297b18c3dd6813305da87a76 |
|
BLAKE2b-256 | be010c338fe04966d3f5715c1b130a46c69aede17ea3f0c7b5bb7c1ba828de74 |