Chisel is a simple C-based tool that automates video editing by reading a CHISEL file describing input videos and timestamped chunks. It uses FFmpeg to extract and concatenate these chunks into a final video.
- Define inputs and chunks in a plain text
CHISELfile - Extracts video segments without re-encoding (
-c copy) - Concatenates chunks into
output.mp4 - Runs with a single command:
./chisel - Supports any video format FFmpeg can read
"input1.mkv" input
00:00:00 00:01:30 chunk
"input2.mp4" input
00:02:00 00:03:00 chunk
- Inputs specify source files.
- Chunks specify start and end timestamps linked to the last input.
-
Place your videos and
CHISELfile in the same folder. -
Build the program:
gcc chisel.c -o chisel -
Run:
./chisel -
Find the assembled video as
output.mp4.
- FFmpeg
- C compiler (e.g., gcc)