gpt4 book ai didi

ffmpeg - 在 Windows 32 上构建 ffmpeg dll 的问题

转载 作者:行者123 更新时间:2023-12-04 23:09:56 25 4
gpt4 key购买 nike

我正在尝试使用 mingw32 为 Windows 32 构建 ffmpeg dll 文件。
在eatch 尝试我设法获取一些dll 文件,但由于我无法摆脱的fiew 依赖关系而无法使用主题。
这是我使用的软件包:

pkg-config
diffutils
yasm
make
mingw-w64-i686-toolchain
并且有对配置脚本的调用:
./configure 
--disable-doc\
--disable-decoders\
--enable-decoder=h264\
--enable-cross-compile\
--disable-programs\
--disable-avdevice
--disable-swresample
--disable-postproc\
--disable-avfilter\
--disable-encoders\
--target-os=mingw32\
--disable-static\
--enable-shared\
--shlibdir=SHARED_LIBS\
--cxx=gcc --extra-libs='-lpthread -lm'\
--disable-iconv\
--extra-ldflags="-static-libstdc++ -static-libgcc"
这些是依赖项:
libwinpthrad-1.dll
zlib1.dll
libbz2-1.dll
我不知道我的配置或我的 mingw 设置是否有问题
感谢您的帮助。
Manou - 法国菜鸟

最佳答案

最后使用以下选项为我工作:

 --disable-doc
--disable-decoders
--enable-decoder=h264
--enable-decoder=hevc
--enable-cross-compile
--disable-programs
--disable-avdevice
--disable-swresample
--disable-postproc
--disable-avfilter
--disable-encoders
--target-os=mingw32
--enable-shared
--shlibdir=SHARED_LIBS
--extra-ldflags="-static"

关于ffmpeg - 在 Windows 32 上构建 ffmpeg dll 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71952667/

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