web/queue: add a remux worker to saving pipeline, use pipelineResults

This commit is contained in:
wukko
2025-01-31 11:22:31 +06:00
parent f2325bdc24
commit 1590490db2
3 changed files with 33 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ const remux = async (files: File[], args: string[], output: FileInfo, filename:
await ff.init();
try {
// probing just the first file in files array (usually audio) for duration progress
const file_info = await ff.probe(files[0]).catch((e) => {
if (e?.message?.toLowerCase().includes("out of memory")) {
console.error("uh oh! out of memory");