We just discovered that there's a wrong thing on your configuration, perhaps ffmpeg of phpFox site and ffmpeg running on terminal is on two different versions.
Terminal: it's /usr/local/bin/ffmpeg
phpFox site: please check path, it should be matched with /usr/local/bin/ ffmpeg