CineCode
How-to Guides

Install and build

Clone CineCode, build a release binary, and put it on your PATH.

Goal

Get a cinecode binary you can run from anywhere.

Build from source

git clone https://github.com/Fanaperana/cinecode
cd cinecode
cargo build --release -p cinecode

The binary lands at target/release/cinecode.

Put it on your PATH

Copy it to a directory already on your PATH:

sudo cp target/release/cinecode /usr/local/bin/cinecode
cinecode --help

Verify ffmpeg

Rendering shells out to ffmpeg for the final encode:

ffmpeg -version

If this fails, install it (brew install ffmpeg, apt install ffmpeg, or a Windows build) and ensure it's on your PATH.

Editor support

.ccs files are Rhai scripts. For highlighting in VS Code:

.vscode/settings.json
{
  "files.associations": { "*.ccs": "rhai" }
}

Then install the rhaiscript.vscode-rhai extension.

The rest of the docs write cinecode .... If you didn't install it to your PATH, substitute ./target/release/cinecode ....

On this page