set preset to "ultrafast" and GREATLY improve render times!
This commit is contained in:
parent
8d347c0966
commit
4a646a8d26
|
@ -94,6 +94,8 @@
|
|||
if (outname.endsWith("mp4")) {
|
||||
clist.splice(clist.length - 1, 0, "-pix_fmt");
|
||||
clist.splice(clist.length - 1, 0, "yuv420p");
|
||||
clist.splice(clist.length - 1, 0, "-preset");
|
||||
clist.splice(clist.length - 1, 0, "ultrafast");
|
||||
}
|
||||
await ffmpeg.exec(clist, TIMEOUT);
|
||||
const data = await ffmpeg.readFile(outname);
|
||||
|
|
Loading…
Reference in New Issue