views:

10

answers:

0

Hi,

I'm currently building and using FFmpeg on Windows and it works nicely. At present there are 5 relevant DLLs which I load and map relevant functions in as needed. However I am wondering if it is possible to avoid these DLLs by linking FFmpeg statically?

My initial reaction is probably not, because the FFmpeg builds are done with MinGW's GCC and any static libraries generated by those tools will be in a format incompatible with Visual C++. If anyone has looked into this before I'd be curious to know if you had any luck?

I did find this tool: http://www.binary-soft.com/dll2lib/dll2lib.htm. It's expensive but looks like it might do the trick as it converts a DLL directly to a static library.

Thanks.