Download the PHP package mikeambait/ffmpeglaravel without Composer
On this page you can find all versions of the php package mikeambait/ffmpeglaravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mikeambait/ffmpeglaravel
More information about mikeambait/ffmpeglaravel
Files in mikeambait/ffmpeglaravel
Package ffmpeglaravel
Short Description Laravel wrapper of php-ffmpeg for simple video conversion, editing, resizing etc., utilizing FFMpeg's powerful open source library/tool
License
Informations about the package ffmpeglaravel
FFMpegLaravel
A simplified Laravel wrapper of PHP-FFMpeg: for simple video conversion, thumbnail generation, resizing etc., utilizing FFMpeg's powerful open source library/tool that can decode and encode any video format to one another.
Requirements
- PHP 7.2
- Apache 2.2+
Configuration
A working installation of FFMpeg is needed
Install the ffmpeg
sudo apt update
sudo apt install ffmpeg
(mac) brew install ffmpeg
Run:
Or you can add a particular version (See tags)
Publish vendor
php artisan vendor:publish
Usage
Add this to your config/app.php, to use it globally
Convert video (change) quality, pass an optional parameter: 'channel', 'bitrate' (video quality) and 'audio'.
Convert video to audio
Resize video
Removes audio from video
Generate thumbnail:
Get duration of video in seconds:
Generate GIF from a video:
Get the resolution of video:
You might want to check the codec used by the video:
Testing
Credits
Credits to PHP-FFMpeg Team and Protone Media:
All versions of ffmpeglaravel with dependencies
illuminate/config Version ^7.0
illuminate/log Version ^7.0
illuminate/support Version ^7.0
league/flysystem Version ^1.0.8
php-ffmpeg/php-ffmpeg Version ^0.14.0
symfony/process Version ^5.0