The command is
ffmpeg -i path/to/video.avi path/to/video.mpg
and it works fine from the command line. However, when I call it with PHPs exec(), the return value is 127, it doesn’t seem to detect FFMPEG. What am I doing wrong? I’m in localhost and the safe mode is off, but I’m new to both FFMPEG and exec(), so it may be a noob mistake. Thanks in advance.
Try