在Windows 32上构建FFMPEG DLL的问题
我正在尝试使用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-法国新手
I'm trying to build ffmpeg dll files for windows 32 with mingw32.
at eatch try I manage to get some dll files but can't use theme because of a fiew dependancys that I can't get rid of.
Here is the packages that I use:
pkg-config
diffutils
yasm
make
mingw-w64-i686-toolchain
and there is the call to the configure script:
./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"
those are the dependancys :
libwinpthrad-1.dll
zlib1.dll
libbz2-1.dll
I don't know if my configuration or my mingw setup is wrond
thank you for the help.
Manou - french newbie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最终为我提供了良好的选择:
Finally work for me with the folowing options:
FFMPEG是一个相当复杂的库,具有多个依赖关系。
您确实需要拥有所有依赖性,甚至在您尝试开始建造之前。
When I build ffmpeg 5.0.1 for example I notice at least the following dependencies:
As for winpthread, that one comes with MinGW-w64,因此,您应该已经拥有了。
ffmpeg is quite a complex library with multiple dependencies.
You really need to have all the dependancies before you even try to start building.
When I build ffmpeg 5.0.1 for example I notice at least the following dependencies:
As for winpthread, that one comes with MinGW-w64, so you should already have that.