increased video bitrate

This commit is contained in:
Ludwig Lehnert 2025-06-15 21:43:52 +02:00
parent 1a2df4fdf8
commit 0815012780
Signed by: ludwig
SSH Key Fingerprint: SHA256:4vshH9GJ8TLO1RS2fY6rDDLnq7+KVvSClCY+uEhYYRA

View File

@ -13,7 +13,7 @@ export async function convertVideo(video: Uint8Array) {
await fs.writeFile(tempInPath, video);
const status = await new Promise((resolve, reject) => {
const child = exec(`ffmpeg -i "${tempInPath}" -preset ultrafast -vf "scale=320:480,eq=saturation=1.5,unsharp=5:5:1.5:5:5:0.0" -b:v 420k -b:a 48k "${tempOutPath}"`, (err) => {
const child = exec(`ffmpeg -i "${tempInPath}" -preset ultrafast -vf "scale=320:480,eq=saturation=1.5,unsharp=5:5:1.5:5:5:0.0" -b:v 580k -b:a 48k "${tempOutPath}"`, (err) => {
if (err) {
reject(err);
return;