Skip to main content

video-compose

JSON-driven video composition engine for the Trollfabriken FX ecosystem.

Define a presentation or video as a TVCS (Trollfabriken Video Composition Spec) JSON file and render it to MP4 or PNG frames. The JSON can be authored by hand or generated by an AI via the APISuite VideoComposeProvider.

Quick start

pip install video-compose[all]
video-compose render my_presentation.json

Spec example

{
  "tvcs": "1.0",
  "output": { "width": 1280, "height": 720, "fps": 30, "formats": ["mp4"] },
  "theme": { "palette": "neon", "background": "#0d0d1a" },
  "segments": [
    { "id": "intro", "type": "mathviz", "duration": 4.0, "effect": "matrix_rain" },
    { "id": "chart", "type": "chart", "duration": 6.0, "chart_type": "bar",
      "data": { "title": "Revenue", "categories": ["Q1","Q2"], "series": [{"name":"2024","values":[420,580]}] } }
  ],
  "transitions": { "default": { "type": "dissolve", "duration": 0.5 } }
}

CLI

video-compose render   spec.json            Render to MP4
video-compose validate spec.json            Validate without rendering
video-compose preview  spec.json intro      Render single segment
video-compose schema                        Print full JSON Schema

Optional dependencies

Extra Enables
[mathviz] mathviz-fx background generators
[chart] chart-fx animated charts
[geomap] geo-map-fx choropleth maps
[shape] shape-fx particle/geometric effects
[fractal] fractal-fx generative backgrounds
[audio] talk-cast voiceover + audio-arrange mixing
[data] CSV, Excel, SQL, REST API data sources
[web] web-overlay HTML overlays (requires Playwright)
[all] Everything above

Ecosystem

video-compose is the composition layer for the Trollfabriken FX suite. It orchestrates: mathviz-fx · chart-fx · geo-map-fx · shape-fx · fractal-fx · text-fx · color-fx · cut-fx · talk-cast · audio-arrange · slide-render · still-motion · web-overlay

Metadata

Release files for video-compose 0.9.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 video-compose 0.9.0
File Size Uploaded Provenance Actions
video_compose-0.9.0.tar.gz 1.3 MB Without provenance Details for video_compose-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for video-compose 0.9.0
File Interpreter ABI Platform Actions
video_compose-0.9.0-py3-none-any.whl Python 3 none any Details for video_compose-0.9.0-py3-none-any.whl

Total release size: 14.4 MB

Release files / video_compose-0.9.0.tar.gz

Download URL video_compose-0.9.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a880275af37cddac4610b92dbf559d7d6121c32ed683f76981975b9d031015df
BLAKE2b-256 checksum
How to use checksums
64e3917bf27be6ff4aa439287d2c254149a6ef017dd0fe2b1fe69a4a156aeb26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.17.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.13.7"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.16 11 Feb 2025","python":"3.13.7","system":{"name":"Windows","release":"11"}} HTTPX2/2.5.0

Release files / video_compose-0.9.0-py3-none-any.whl

Download URL video_compose-0.9.0-py3-none-any.whl
Size 13.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
be660f2967f22c9ddbd788a53648641f50fa8cd8d8fca1fc9d4e1f05057f0bb9
BLAKE2b-256 checksum
How to use checksums
888260cf3c992b319aff10c9e15161b06628eda545bc798660e6e822574bd6ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.17.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.13.7"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.16 11 Feb 2025","python":"3.13.7","system":{"name":"Windows","release":"11"}} HTTPX2/2.5.0

Security for video-compose 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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