diff --git a/lib/Migration/InstallDeps.php b/lib/Migration/InstallDeps.php index 090640e4..c6b2f0c4 100644 --- a/lib/Migration/InstallDeps.php +++ b/lib/Migration/InstallDeps.php @@ -217,7 +217,7 @@ protected function runTfjsGpuInstall(string $nodeBinary) : void { protected function runFfmpegInstall(string $nodeBinary): void { $oriCwd = getcwd(); - chdir($this->tfjsGPUPath); + chdir($this->ffmpegDir); $cmd = escapeshellcmd($nodeBinary) . ' ' . escapeshellarg($this->ffmpegInstallScript); try { exec($cmd . ' 2>&1', $output, $returnCode); // Appending 2>&1 to avoid leaking sterr