FFMPEG implementation using php to convert between various filetypes