【问题标题】:FFmpeg compilation with encoder x264 not found WindowsFFmpeg 编译与编码器 x264 未找到 Windows
【发布时间】:2016-11-22 20:02:18
【问题描述】:

使用编码器 x264 编译 FFmpeg 未找到 Windows

我正在尝试使用多个编码器(x264、NVENC)编译 FFmpeg。我已经 设法用 MinGW 和 x264 编译 FFmpeg 但我不知道我该怎么做 告诉我编译的编码器在哪里。

我有一个文件夹,其中我的 FFmpeg 源文件在此目录中,我有我的 在名为 x264 的子文件夹中编译 x264 编码器。

操作系统:Windows 10

编译器:MinGW

【问题讨论】:

    标签: windows ffmpeg compilation mingw x264


    【解决方案1】:
    1. 您需要将 x264 安装到正确的位置。在构建 x264 时,使用这个 或类似的:

      ./configure --prefix=/usr/x86_64-w64-mingw32/sys-root/mingw
      

      Example

    2. 编译FFmpeg时使用合适的选项,例如:

      ./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32-
      

      Example

    这将允许 FFmpeg 找到您的构建工具和库。

    【讨论】:

      猜你喜欢
      • 2014-11-18
      • 1970-01-01
      • 2020-05-28
      • 2010-12-30
      • 1970-01-01
      • 2017-12-24
      • 2013-01-15
      • 1970-01-01
      • 2012-10-04
      相关资源
      最近更新 更多