protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.66k stars 194 forks source link

Laravel 8 - Installation error #337

Closed thomasdseao closed 3 years ago

thomasdseao commented 3 years ago

Hello,

I tried to install this extension in Laravel 8 project but got errors :

composer require pbmedia/laravel-ffmpeg _Your requirements could not be resolved to an installable set of packages.

Problem 1

I also created an Issue in php-ffmpeg project : https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues/823

thomasdseao commented 3 years ago

Doctrine/cache is not a dependency of Laravel but from another one of my packages. So, I removed this package and it is now working.

pascalbaljet commented 3 years ago

Thanks for reporting!

stevebauman commented 3 years ago

I also had this issue. I simply had to delete my composer.lock file and then re-run:

composer require pbmedia/laravel-ffmpeg

This was because I use Laravel's schema migration column changes, which requires the installation of doctrine/dbal.

doctrine/dbal requires doctrine/cache: v1.0|v2.0, which when installed, will use v2.0 if you have no other dependencies using doctrine/dbal v1.0. A composer.lock file will then be created with the doctrine/dbal requirement locked at v2.0.

This may pose issues in the future, since it seems FFMpeg is abandoned (looking at the hundreds of issues and tens of pull requests outstanding).

pascalbaljet commented 2 years ago

Fixed in v7.8.0 :)