remove consoles

This commit is contained in:
Sam Lavigne 2023-08-23 18:23:07 -04:00
parent 9289f78f4d
commit 2c4906685e
2 changed files with 1 additions and 4 deletions

View File

@ -45,7 +45,6 @@
await ffmpeg.writeFile(vid, await fetchFile("/" + vid)); await ffmpeg.writeFile(vid, await fetchFile("/" + vid));
} }
const clist = commandList(); const clist = commandList();
console.log(clist);
await ffmpeg.exec(clist, TIMEOUT); await ffmpeg.exec(clist, TIMEOUT);
// await ffmpeg.exec(["-f", "lavfi", "-i", "color=size=1280x720:rate=25:color=red", "-t", "5", "out.mp4"]) // await ffmpeg.exec(["-f", "lavfi", "-i", "color=size=1280x720:rate=25:color=red", "-t", "5", "out.mp4"])
const data = await ffmpeg.readFile("out.mp4"); const data = await ffmpeg.readFile("out.mp4");
@ -59,7 +58,7 @@
async function loadFFmpeg() { async function loadFFmpeg() {
ffmpeg.on("log", ({ message: msg }) => { ffmpeg.on("log", ({ message: msg }) => {
console.log(msg); // console.log(msg);
log += msg + "\n"; log += msg + "\n";
logbox.scrollTop = logbox.scrollHeight; logbox.scrollTop = logbox.scrollHeight;
}); });
@ -76,7 +75,6 @@
workerURL: await toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, "text/javascript"), workerURL: await toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, "text/javascript"),
}); });
} }
console.log(ffmpeg);
ffmpegLoaded = true; ffmpegLoaded = true;
} }

View File

@ -35,7 +35,6 @@
}); });
} }
$filters = [...$filters, newFilter]; $filters = [...$filters, newFilter];
console.log(newFilter);
} }
function update() { function update() {