I\'m running the ffmpeg command within PHP\'s shell_exec() to convert several videos in a list. Is there anyway to detect if an error happened while the video was being conv
Capture the exit code with another system call function like exec:
exec
exec('ffmpeg ...', $output, $return); if ($return != 0) { // an error occurred }
Any decent utility will exit with a code other than 0 on error.