Well, the wrong permissions of FFMPEG should rise the error 500. But did you try to make it executable (755 in the Linux-based server).