forked from sfja.skp/maotube
valid handbrake preset
This commit is contained in:
parent
e7660fda7c
commit
4c1574947f
2
index.js
2
index.js
@ -143,7 +143,7 @@ app.post("/api/upload_video", authorized(), fileUpload({ limits: { fileSize: 2 *
|
||||
console.log(newPath);
|
||||
|
||||
const exitCode = await new Promise((resolve, _reject) => {
|
||||
const process = childProcess.spawn("HandBrakeCLI", ["-i", tempPath, "-o", newPath, "-Z", "Social 50 MB 10 Minutes 480p30"]);
|
||||
const process = childProcess.spawn("HandBrakeCLI", ["-i", tempPath, "-o", newPath, "-Z", "Social 25 MB 5 Minutes 360p60"]);
|
||||
process.stderr.on("data", (data) => {
|
||||
console.error(data.toString());
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user