gpt4 book ai didi

laravel - 我无法在我的 laravel 项目中安装视频缩略图

转载 作者:行者123 更新时间:2023-12-04 23:02:16 26 4
gpt4 key购买 nike

我想在我的 laravel 项目上安装 ffmpeg,但我收到了这个错误。

Problem 1
- Conclusion: remove evenement/evenement v2.1.0
- Conclusion: don't install evenement/evenement v2.1.0
- php-ffmpeg/php-ffmpeg 0.5.0 requires evenement/evenement ~1.0 -> satisfiable by evenement/evenement[1.0.x-dev, v1.0.0, v1.1.0].
- php-ffmpeg/php-ffmpeg 0.5.1 requires evenement/evenement ~1.0 -> satisfiable by evenement/evenement[1.0.x-dev, v1.0.0, v1.1.0].
- php-ffmpeg/php-ffmpeg 0.6.0 requires evenement/evenement ~1.0 -> satisfiable by evenement/evenement[1.0.x-dev, v1.0.0, v1.1.0].
- alchemy/binary-driver 1.5.0 requires evenement/evenement ~1.0 -> satisfiable by evenement/evenement[1.0.x-dev, v1.0.0, v1.1.0].
- Can only install one of: evenement/evenement[1.0.x-dev, v2.1.0].
- Can only install one of: evenement/evenement[v1.0.0, v2.1.0].
- Can only install one of: evenement/evenement[v1.1.0, v2.1.0].
- Installation request for evenement/evenement (locked at v2.1.0) -> satisfiable by evenement/evenement[v2.1.0].
- Installation request for pawlox/video-thumbnail ^1.0 -> satisfiable by pawlox/video-thumbnail[v1.0.3].
- Conclusion: don't install monolog/monolog 2.0.0|install php-ffmpeg/php-ffmpeg 0.5.0|install php-ffmpeg/php-ffmpeg 0.5.1|install php-ffmpeg/php-ffmpeg 0.6.0|install alchemy/binary-driver 1.5.0
- Conclusion: remove monolog/monolog 2.0.0|install php-ffmpeg/php-ffmpeg 0.5.0|install php-ffmpeg/php-ffmpeg 0.5.1|install php-ffmpeg/php-ffmpeg 0.6.0|install alchemy/binary-driver 1.5.0
- pawlox/video-thumbnail v1.0.3 requires php-ffmpeg/php-ffmpeg ~0.5 -> satisfiable by php-ffmpeg/php-ffmpeg[0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.7.x-dev, v0.10.0, v0.11.0, v0.11.1, v0.11.1-pl-1, v0.12, v0.13, v0.14].
- php-ffmpeg/php-ffmpeg v0.14 requires alchemy/binary-driver ^1.5 || ~2.0.0 || ^5.0 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0, 5.0.0, 5.1.0, v2.0.0].
- php-ffmpeg/php-ffmpeg v0.13 requires alchemy/binary-driver ^1.5 || ~2.0.0 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0, v2.0.0].
- php-ffmpeg/php-ffmpeg v0.12 requires alchemy/binary-driver ^1.5 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0].
- php-ffmpeg/php-ffmpeg v0.11.1-pl-1 requires alchemy/binary-driver ^1.5 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0].
- php-ffmpeg/php-ffmpeg v0.11.1 requires alchemy/binary-driver ^1.5 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0].
- php-ffmpeg/php-ffmpeg v0.11.0 requires alchemy/binary-driver ^1.5 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0].
- php-ffmpeg/php-ffmpeg v0.10.0 requires alchemy/binary-driver ^1.5 -> satisfiable by alchemy/binary-driver[1.5.0, 1.6.0].
- alchemy/binary-driver 5.1.0 requires monolog/monolog ^1.3 -> satisfiable by monolog/monolog[1.10.0, 1.11.0, 1.12.0, 1.13.0, 1.13.1, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.17.1, 1.17.2, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.22.1, 1.23.0, 1.24.0,
1.25.0, 1.25.1, 1.25.2, 1.25.3, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.9.1, 1.x-dev].
- alchemy/binary-driver v2.0.0 requires monolog/monolog ^1.3 -> satisfiable by monolog/monolog[1.10.0, 1.11.0, 1.12.0, 1.13.0, 1.13.1, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.17.1, 1.17.2, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.22.1, 1.23.0, 1.24.0, 1.25.0,

1.25.1, 1.25.2, 1.25.3, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.9.1, 1.x-dev].
- Can only install one of: monolog/monolog[1.25.3, 2.0.0].
- Can only install one of: monolog/monolog[1.x-dev, 2.0.0].
- Can only install one of: monolog/monolog[1.10.0, 2.0.0].
- Can only install one of: monolog/monolog[1.11.0, 2.0.0].
- Can only install one of: monolog/monolog[1.3.0, 2.0.0].
- Can only install one of: monolog/monolog[1.3.1, 2.0.0].
- Can only install one of: monolog/monolog[1.4.0, 2.0.0].
- Can only install one of: monolog/monolog[1.4.1, 2.0.0].
- Can only install one of: monolog/monolog[1.5.0, 2.0.0].
- Can only install one of: monolog/monolog[1.6.0, 2.0.0].
- Can only install one of: monolog/monolog[1.7.0, 2.0.0].
- Can only install one of: monolog/monolog[1.8.0, 2.0.0].
- Can only install one of: monolog/monolog[1.9.0, 2.0.0].
- Can only install one of: monolog/monolog[1.9.1, 2.0.0].
- Installation request for monolog/monolog (locked at 2.0.0) -> satisfiable by monolog/monolog[2.0.0].

我正在使用 laravel 6.4.1
我已经研究了解决方案,但我没有得到任何解决方案。
我不知道问题可能出在哪里。

可能是什么解决方案。谢谢

最佳答案

尝试这个:

  • 添加到您的composer.json:
    "repositories": [
    {
    "type": "vcs",
    "url": "https://github.com/PHP-FFMpeg/BinaryDriver.git"
    }
    ],
  • 安装 binary-driver ffmpeg 依赖:
    run composer require php-ffmpeg/binary-driver=dev-master
  • 安装 php-ffm:
    composer require php-ffmpeg/php-ffm
  • 关于laravel - 我无法在我的 laravel 项目中安装视频缩略图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59588783/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com