Skip to main content

Module exec

Module exec 

Source
Expand description

Runs a Plan: renders segments missing from the cache, joins them by stream copy, mixes the audio, and muxes the master.

Cache layout (<cache>/): seg/<key>.mp4 (one per segment), audio/<key>-aac<bitrate>.m4a (the mix, encoded), tmp/ (intermediates). Every entry is written to a .partial-<pid> file and renamed when complete, so a killed render resumes: the next run reuses what finished. Nothing is pruned, and old masters are never touched.

Shots go through the GPU Pipeline (decode, grade, scale, encode). The audio is ffcine_audio::render_audio’s mix, encoded once. The joins, retime prep, dissolve blends, AAC encode and mux use the ffmpeg CLI.

Structs§

Renderer
Renders plans against a cache directory.
Report
What a render did.

Enums§

ExecError
Errors from Renderer::render.
Progress
How progress is reported.

Functions§

manifest_path
<output>.ffcine.json: keys of what the master was made from.
rational
The timeline rate as a rational (23.976... -> 24000/1001).

Type Aliases§

Detector
See Renderer::detect.
Grader
See Renderer::grader.