Local filesystem resource, an HTTP resource or any resource supported by FFmpeg. Manipulate mediaįFMpeg\FFMpeg creates media based on URIs. You may pass a temporary_directory key to specify a path for temporary files. A Psr\Logger\LoggerInterfaceĬan also be passed to log binary executions. Paths explicitly, you can pass an array as configuration. To build it,įFMpeg will autodetect ffmpeg and ffprobe binaries. FFMpegįFMpeg\FFMpeg is the main object to use to manipulate medias. To browse the source code as it is self-documented. This documentation is an introduction to discover the API. 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.
0 Comments
Leave a Reply. |