I am trying to execute ffmpeg on PHP using exec, shell_exec, command and proc_open and did not manage to get any to work.
This is my command:
exec("ffmeg -I test.fvl output.mp4 2>&1", $output, $retval);
when I run this php command, the error happens when there's a duplicate output file and prompt a stderr asking if we want to overwrite it thus, waiting for a user input. Is there any way around this to ignore the stderr?