Skip to main content

video editing software

Project description

[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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cutcutcodec-1.6.1.tar.gz (11.9 MB view details)

Uploaded Source

File details

Details for the file cutcutcodec-1.6.1.tar.gz.

File metadata

  • Download URL: cutcutcodec-1.6.1.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for cutcutcodec-1.6.1.tar.gz
Algorithm Hash digest
SHA256 4fef0ea89a5be3268787664a10dc84a4191ac31f34a6b6d24908e6571688fc13
MD5 5b4ee80419064b08c31b7154e7e91cc0
BLAKE2b-256 d9176e249c7a8ce45c4918b8f672fbab1cd09743852ff0f95c80ff0581905ad6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page