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.2.tar.gz (11.9 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: cutcutcodec-1.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 dc580b1bee03fda663f49c5c272ce8f0ac2a89ea10a2ae1db721af8dca9b59d3
MD5 b248645eb089febd2818ec33f0c611e6
BLAKE2b-256 9970e94e0352039d278467a5a4698e382b80738cb2093478da1e4d560ce3546f

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