9.3

4 Rendering a Video🔗

Frame files, encoders, cache manifests, subtitles, and media assembly are effectful operations from animate/render. The semantic Scene remains in animate.

(require animate
         animate/render)
 
(define still-scene (scene-wait (make-scene) 1))
(render-frames! still-scene "frames" #:fps 30)
(encode-mp4! "frames" "movie.mp4" #:fps 30)

This is a working low-level path; "examples/authored-media-assembly.rkt" demonstrates authored sections, captions, and audio. ffmpeg is required only by encoding or media assembly, not by frame sampling.