I'm converting some movies and want to make sure the conversion went through without errors:
exec("ffmpeg -i ".$orgVideoFile." -vcodec libx264 -crf 21 -acodec aac -ac 2 -ab 192000 -strict experimental -vpre hq -vpre veryfast -refs 3 -threads 4 -s 320x240 ".$newVideoFile, $output);
echo "Output:";
var_dump($output);
but when checking $output its always empty:
Output:array(0) { }
How do I check to make sure everything went ok?