Skip to content

N-113568 compact

Compare
Choose a tag to compare
@artenax artenax released this 08 Feb 09:36

8 Feb 2024
N-113568 git version
LDFLAGS=-static ./configure --prefix=/tmp/ffmpeg --enable-gpl --enable-version3 --enable-shared --disable-debug --enable-small --disable-doc --enable-cross-compile --as=nasm --extra-ldflags=-static --extra-ldexeflags=-static --pkg-config-flags=--static --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --disable-cuda-llvm --enable-libmp3lame

LAME 3.100:
./configure --prefix=/usr/x86_64-w64-mingw32 --enable-nasm --disable-shared --enable-static --host=x86_64-w64-mingw32 --disable-frontend --enable-expopt=full --enable-debug=no CFLAGS="-march=x86-64 -O2 -mtune=x86-64 -msse2 -msse3 -msse -mfpmath=sse -pipe" CXXFLAGS="${CFLAGS}"

lame doesn't compile in shared mode (error), so here lame in static mode. Also in static mode (i.e. inside) are the mingw compiler libraries, apparently they take up about 1.3 MB.
lame is optimized and has high speed.
But mp3 status may not work (ffmpeg N bug may be caused by an attempt to implement multithreading).