Skip to main content

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)

Source distribution for vcompy 0.1.0
File Size Uploaded
vcompy-0.1.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vcompy 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page