feat(render): add CRF/bitrate controls and improve default quality (#292)

Raise default encoding quality to visually lossless at 1080p (CRF 18)
and expose fine-grained encoding controls for power users.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
James Russo
2026-04-16 12:02:24 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 2718de8776
commit ebc12f7dc9
8 changed files with 163 additions and 29 deletions
@@ -59,7 +59,11 @@ export function useRenderQueue(projectId: string | null) {
// Start a render and track progress via SSE
const startRender = useCallback(
async (fps = 30, quality = "standard", format: "mp4" | "webm" | "mov" = "mp4") => {
async (
fps = 30,
quality: "draft" | "standard" | "high" = "standard",
format: "mp4" | "webm" | "mov" = "mp4",
) => {
if (!projectId) return;
const startTime = Date.now();