

> resize( new FFMpeg\ Coordinate\ Dimension( 320, 240)) $ composer require php-ffmpeg/php-ffmpeg Basic Usage require 'vendor/autoload.php' The recommended way to install PHP-FFMpeg is through Composer. For older versions of PHP, check out the 0.x-branch.

Using rotate and resize will produce a corrupted output when using.Otherwise you should have to explicitly give the binaries path on load. You will need both FFMpeg and FFProbe binaries to use it.īe sure that these binaries can be located with system PATH to get the benefit of the binary detection, This library requires a working FFMpeg install. Your attention please How this library works: An Object-Oriented library to convert video/audio files with FFmpeg / AVConv.
