gpt4 book ai didi

video - Ubuntu 16 上的 FFMPEG libx264

转载 作者:行者123 更新时间:2023-12-04 23:33:53 24 4
gpt4 key购买 nike

我在我的 Ubuntu 16 上安装了 FFMPEG,但我想使用我无法使用的 libx264 编解码器。我当前的 FFMPEG 版本是

ffmpeg -version
ffmpeg version N-90418-g74c6a6d Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix= --enable-pic --disable-yasm --enable-shared
libavutil 56. 11.100 / 56. 11.100
libavcodec 58. 15.100 / 58. 15.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 13.100 / 7. 13.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101

最佳答案

您的 ffmpeg没有正确编译。您有 3 个选项:

  • 使用ffmpeg来自存储库:sudo apt-get install ffmpeg
  • download已编译的 ffmpeg并放入/usr/local/bin~/bin .
  • compile ffmpeg --enable-libx264 --enable-gpl没有 --disable-yasm .
  • 关于video - Ubuntu 16 上的 FFMPEG libx264,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52756925/

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