Set crf level in attempt to make output less potato

This commit is contained in:
Regalijan 2024-03-26 23:50:28 -04:00
parent 7e4e089051
commit 1d162b768c
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -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`,
},
},