[FFmpeg-devel] How to build for static ffmpeg executable
John Pompeii
lksm6 at yahoo.com
Thu Jan 21 00:57:03 CET 2016
Thanks Tim,I am developing a new protocol to support reading aes-ctr ecrypted video files. So I this question is development related but I couldn't really gauge if build issues are development or not.
>> But for convenience, you have to make sure the external libraries are built as
>> static libraries with DLLs disabled, or the compiler will link to them by
>> default.
Im not building things like the compilers and runtime libs, they just come with the platform. Since the project distributes versions of ffmpeg builds as static exe's, I would assume there is a build process for it? (without having a specially created environment or hacking the configure file...)
--john
From: Timothy Gu <timothygu99 at gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Sent: Wednesday, January 20, 2016 6:03 PM
Subject: Re: [FFmpeg-devel] How to build for static ffmpeg executable
Hi,
On Wednesday, January 20, 2016, John Pompeii <lksm6-at-yahoo.com at ffmpeg.org>
wrote:
> Hi,
> I am building ffmpeg.exe and ffprobe.exe on 64 bit windows (7) using
> MSYS2/MINGW64. I've resolved all the dependent libraries and got a build
> and it does appear to run just fine as a 64 windows app. This issue that I
> have is that its linking the external libraries as dlls instead of static
> libs. I build the ffmpeg libs as static and assumed that the build would
> statically link all libraries, but not so.
>
> Can someone let me know what the build options are to build a static
> version of ffmpeg.exe?
>
>
This mailing list is limited to FFmpeg development, so please mail the
ffmpeg-users mailing list for questions on using FFmpeg. But for
convenience, you have to make sure the external libraries are built as
static libraries with DLLs disabled, or the compiler will link to them by
default. You are already building FFmpeg statically (since there are no
libav* DLL dependencies).
Timothy
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list