web/workers/remux: accept several files, custom args and output

This commit is contained in:
wukko
2025-01-31 11:16:04 +06:00
parent 7caee22aee
commit f2325bdc24
4 changed files with 56 additions and 29 deletions

View File

@@ -22,6 +22,15 @@ export const createRemuxPipeline = (file: File) => {
parentId,
workerArgs: {
files: [file],
ffargs: [
"-c", "copy",
"-map", "0"
],
output: {
type: file.type,
extension: file.name.split(".").pop(),
},
filename: file.name,
},
}];