video editing software
Project description
Description
This video editing software has a graphical interface powered by qtpy (run cutcutcodec-gui). It 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 (module cutcutcodec.core). 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 light, fast and highly configurable for the following reasons:
Based on ffmpeg, this software supports an incredible number of formats and codecs.
This software allows editing the assembly graph. Compared to a timeline, this representation permits to do everything.
This software doesn’t export the final video directly from the graphic interface. Instead, it generates a python script. You can edit this script yourself, giving you infinite possibilities!
A complete test benchmark guarantees an excelent kernel reliability.
Powered by torch and written in C, this software efficiently exploits the CPU and GPU in order to make it very fast.
Video export is performed without a graphical interface, releasing a large part of computer resources to speed up export.
This software is able to optimize the assembly graph in order to limit calculation waste.
The code is parallelised to take advantage of all the CPU threads, making it extremely fast.
Quick Start
Installation
CutCutCodec is based on ffmpeg and pytorch, so please follow the cutcutcodec installation guide.
You can use the following command to install everything automatically (not recommended, it’s better to follow the guide).
pip install cutcutcodec[gui]
Running
For a very complete description, please refer to the documentation.
In a terminal, just type cutcutcodec-gui to start the GUI, it is possible to access the cli with:
python -m cutcutcodec --help
Features
Audio
- General properties
Supports a large number of channels (mono, stereo, 5.1, 7.1, …) with all sampeling rate.
Automatic detection of the optimal sample frequency.
- Generation
White-noise generation.
Generate any audio signal from any equation.
- Filters
Cutting, translate and concatenate.
Add multiple tracks.
Arbitrary equation on several channels of several tracks. (dynamic volume, mixing, wouawoua, …)
Finite Impulse Response (FIR) invariant filter. (reverb, equalizer, echo, delay, volume, …)
Hight quality anti aliasing low pass filter (based on FIR).
Video
- General properties
Unlimited support of all image resolutions. (FULL HD, 4K, 8K, …)
No limit on fps. (60fps, 120fps, …)
Automatic detection of the optimal resolution and fps.
Support for the alpha transparency layer.
Floating-point image calculation for greater accuracy.
- Generation
White-noise generation.
Generate any video signal from any equation.
Mandelbrot fractal generation.
- Filters
Cutting, translate and concatenate.
Overlaying video tracks (with transparency control).
Apply an arbitrary equation one several video streams.
Example
In this example we open a video file, add video noise, add audio A and C note, select the subclip between t=0s and t=10s, and write the result to a new file:
from cutcutcodec.core.filters.audio.subclip import FilterAudioSubclip
from cutcutcodec.core.filters.video.add import FilterVideoAdd
from cutcutcodec.core.filters.video.equation import FilterVideoEquation
from cutcutcodec.core.filters.video.subclip import FilterVideoSubclip
from cutcutcodec.core.generation.audio.equation import GeneratorAudioEquation
from cutcutcodec.core.generation.video.noise import GeneratorVideoNoise
from cutcutcodec.core.io.read_ffmpeg import ContainerInputFFMPEG
from cutcutcodec.core.io.write import ContainerOutputFFMPEG
with ContainerInputFFMPEG("cutcutcodec/examples/video.mp4") as container:
(trans,) = FilterVideoEquation(container.out_streams, "b0", "g0", "r0", "a0/2").out_streams
(noise,) = GeneratorVideoNoise().out_streams
(video,) = FilterVideoAdd([trans, noise]).out_streams
(video_trunc,) = FilterVideoSubclip([video], 0, 10).out_streams
(note_a,) = GeneratorAudioEquation("sin(2*pi*440*t)", "sin(2*pi*523.25*t)").out_streams
(note_a_trunc,) = FilterAudioSubclip([note_a], 0, 10).out_streams
ContainerOutputFFMPEG(
[video_trunc, note_a_trunc],
"final.mkv",
[
{"encodec": "libx264", "rate": 30, "shape": (720, 1080), "options": {"crf": "23"}},
{"encodec": "libvorbis", "rate": 44100},
],
).write()
What’s new ?
For the complete list of changes, refer to the git commits.
1.0.1
Add a command line interface.
Compiling dynamic expressions in C.
1.0.2
Add support for ffmpeg 6.
Able to compile atan function.
Handling of non-square pixel readings.
1.0.3
Improved ergonomics of the “Entry Tabs” and “Export” window.
Speed-up codec/encoder/muxer tests of compatibility by a factor 10.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cutcutcodec-1.0.3.post0.tar.gz
.
File metadata
- Download URL: cutcutcodec-1.0.3.post0.tar.gz
- Upload date:
- Size: 870.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 265766fb598571936c73be9aacfde8c30c71190fae1585080c934f9614bb96b8 |
|
MD5 | e06a770024e554f5f017d144d71491f4 |
|
BLAKE2b-256 | 1e7c8ee27d5783a2391d555ae16baca5474457f3a2784811f4846c6c8c7a2872 |