Symfony Process - Command not found
问题 I'm trying to execute ffmpeg commands using Symfony Process Component but command is not being processed. What am I doing wrong? I get the error The command "'ffmpeg -i [...........]' failed. Exit Code: 127(Command not found)" <?php $info = pathinfo($file); $dir = "{$info['dirname']}/{$info['filename']}"; File::makeDirectory($dir, 0755, true) $process = new Process(["ffmpeg -i {$info['basename']} -codec copy -map 0 -f segment -segment_list {$dir}/playlist.m3u8 -segment_list_flags +live