Laravel package to make video using images and audio files
eyuva/laravel-camcorder is a Laravel package for laravel package to make video using images and audio files.
It currently has 17 GitHub stars and 22 downloads on Packagist.
Install it with composer require eyuva/laravel-camcorder.
Discover more Laravel packages by eyuva
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package to generate video using images and audio.
Step 1. Install FFMPEG 4.1 and verify
Check Wiki for the installation guide and verify installation
ffmpeg -version
Step 2. Install package using Composer
composer require "eyuva/laravel-camcorder":"*"
Step 3. Publish configurations for Camcorder
php artisan vendor:publish
Step 4. Start Using the package
Done!
Step 1. Init
$camcorder = new Camcorder();
Step 2. Add Images
$camcorder->addImage(<image_path>,<duration>,<is_last=0>);
Step 3. Add Audio
$camcorder->addAudio(<audio_path>);
Step 4. Generate Video
$camcorder->generate(<output_path>,<file_name>);
Step 5. Use video file generated as you want.
Done!
Use this laravel project for the demo Github.
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on GitHub.
If you Love It then Star It
The code in this repo are open-sourced software licensed under the MIT license