From 1d162b768c124647c8fe7b652e7a0af6740986a1 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Tue, 26 Mar 2024 23:50:28 -0400 Subject: [PATCH] Set crf level in attempt to make output less potato --- functions/api/reports/complete.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions/api/reports/complete.ts b/functions/api/reports/complete.ts index 3e9a334..8a2f2cf 100644 --- a/functions/api/reports/complete.ts +++ b/functions/api/reports/complete.ts @@ -56,7 +56,10 @@ export async function onRequestPost(context: RequestContext) { url: `https://${context.request.headers.get("host")}/api/coconut`, }, outputs: { - "mp4:copy:copy": { + mp4: { + format: { + level: 22, + }, path: `/${attachment}.mp4`, }, },