测试ffmpeg编译

This commit is contained in:
2025-03-26 19:17:25 +08:00
parent 0fd08646ac
commit ec9f322bcd

View File

@ -44,7 +44,7 @@ function build() {
//make //make
if (0 != spawnSync("make", [ if (0 != spawnSync("make", [
"-j", os.cpus().length.toString(), "-j", os.cpus().length.toString(),
], { stdio: "inherit" }).status) throw new Error("Failed to build ffmpeg"); ], { stdio: "inherit", cwd: FFMPEG_SOURCE_DIR }).status) throw new Error("Failed to build ffmpeg");
//install //install
if (0 != spawnSync("make", [ if (0 != spawnSync("make", [
"install", "install",