Skip to content
Advertisement

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)”

JavaScript

Advertisement

Answer

You have to put each argument in a separate element of the array, for example:

JavaScript

And I think you should either:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement