
The remaining parameters enable back precisely the features which are necessary for TDM: Note: If your FFmpeg package does not support -disable-autodetect yet, then you have to manually disable every external library which FFmpeg tries to use in your case.
-disable-autodetect: Disable all the external libraries. -disable-all: Disable all the features of FFmpeg. The next set of parameters is necessary for disabling feature which we don't explicitly allow: -enable-gpl: Make sure resulting binaries are GPL-licensed (just as TDM is). -enable-static -disable-shared: Make sure to get static libraries. -disable-debug: Strip debug information, otherwise the resulting libs will be huge. -toolchain=msvc: Use Visual C++ compiler in build. This is the command for configuring FFmpeg. enable-parser=h264,mpeg4video,aac,mpegaudio \ enable-avformat -enable-avcodec -enable-swresample -enable-swscale \ In the FFmpeg root directory, create a text file named tdm_configure.sh with the following contents: In my case it is at C:\TheDarkMod\ffmpeg-3.3.7\. Unpack the source code into some directory.
It is recommended to choose the major/minor version which was cut from master at least a year ago, and take the latest build of it. As a first step on any platform, you have to download FFmpeg source code.