added support for ffmpeg-php and fixed ffmpeg