Skip to main content
[license GPL] [linting: pylint] [testing] [versions] [downloads] [documentation]

Useful links: Binary Installers | Source Repository | Online Documentation |

Description

This video editing software has been designed for speed and to implement some effects that are hard to find elsewhere. The kernel is written in python and C, so it’s easy to integrate it in your own project. Although it allows you to fine-tune many parameters, it’s smart enough to find the settings that are best suited to your project.

This software is fast and highly configurable for the following reasons:

  1. Based on PyAV, this software supports an incredible number of formats and codecs.

  2. A complete test benchmark guarantees an excelent kernel reliability.

  3. Powered by torch and written in C, this software efficiently exploits the CPU and GPU in order to make it very fast.

  4. The code is parallelised to take advantage of all the CPU cores, making it extremely fast.

Examples

There are plenty of other examples in the documentation!

In the following stupid example, we blink the blue color and we add a red noise on the bottom.

import cutcutcodec

SETTINGS = [
    {"encodec": "libsvtav1", "rate": 30, "shape": (480, 720)},
    {"encodec": "libvorbis", "rate": 44100, "bitrate": 128000},
]
VIDEO_PATH = cutcutcodec.utils.get_project_root() / "media" / "video" / "intro.webm"

with cutcutcodec.read(VIDEO_PATH) as container:
    video, audio = container.out_select("video")[0], container.out_select("audio")[0]
    noise = cutcutcodec.generation.video.GeneratorVideoNoise().out_streams[0]
    video = cutcutcodec.filter.video.equation.FilterVideoEquation(
        [video, noise], "r0/2 + r1*(i+1)/2", "g0", "b0*sin(2*pi*0.5*t)",
    ).out_streams[0]
    cutcutcodec.write([video, audio], "/tmp/my_video.webm", streams_settings=SETTINGS)

Features

Audio

Video

Metadata

Release files for cutcutcodec 1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cutcutcodec 1.6.3
File Size Uploaded Provenance Actions
cutcutcodec-1.6.3.tar.gz 11.9 MB Without provenance Details for cutcutcodec-1.6.3.tar.gz

Release files / cutcutcodec-1.6.3.tar.gz

Download URL cutcutcodec-1.6.3.tar.gz
Size 11.9 MB
Tags Source
SHA-256 checksum
How to use checksums
27dbf9668adda7b02bd8d0ad1c441277a072f7ffef68263f05833080945d4d36
BLAKE2b-256 checksum
How to use checksums
955b6946f435860b5b01958a951ca97212cdb68007b753a2dbe814794ace42e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for cutcutcodec 1.6.3

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