簡體   English   中英

如何在 Windows 上編譯 64 位版本的 ffmpeg?

[英]How do I compile a 64-bit version of ffmpeg on Windows?

我需要為 Windows 編譯 ffmpeg(64 位共享 dll)。 但是我在 mingw 中配置,它總是為我生成 32 位二進制文​​件。

已經試過了

./configure --enable-shared --disable-static --enable-memalign-hack --arch=amd64
./configure --enable-shared --disable-static --enable-memalign-hack --arch=x86_64

我的猜測是缺少 x86 到 x86_64 交叉編譯器。

但只能找到一種方法來制作那些 64 位 dll。

請參閱此處了解 64 位版本的 MinGW。 該站點甚至有 ffmpeg 庫的 64 位二進制文​​件!

更新:同時,在 Windows 上構建/為 Windows 構建更容易,例如通過ffmpeg-windows-build-helpers腳本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM