ffmpeg class for PHP