PHP code example of ivoglent / ffmpeg-composer-bin
1. Go to this page and download the library: Download ivoglent/ffmpeg-composer-bin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ivoglent / ffmpeg-composer-bin example snippets
$ffmpeg = FFMpeg\FFMpeg::create(
[
'ffmpeg.binaries' => 'vendor/bin/ffmpeg',
'ffprobe.binaries' => 'vendor/bin/ffprobe'
]
);