services/preview_renderer library

Classes

PreviewRenderer
Renders the editor's composed preview incrementally: each clip becomes a cached segment, and the segments are joined without re-encoding the video.
PreviewSegmentCache
Rendered preview segments of one editor, keyed by everything that changes a clip's pixels or sound. Editing one clip re-renders only that clip; undo finds the earlier segments still here.