Welcome to A!Die Software Studio |
1. 下载 lame-3.100.tar.gz https://sourceforge.net/projects/lame/files/lame/3.100/
msys64\usr\bin\glink.exe 改回 link.exe
进入 vc_solution 目录, 用 Visual C++ 打开编译.
拷贝头文件 lame.h 到 /usr/local/include/lame 下.
拷贝库文件 libmp3lame.lib 到 /usr/local/lib/mp3lame.lib
拷贝文件 libmp3lame.dll 到 /usr/local/bin
2. ./configure --disable-static --enable-shared --toolchain=msvc --arch=x86_64 --enable-nonfree --enable-gpl --enable-version3 --enable-libsrt --enable-libx264 --enable-libx265 --enable-cuda --enable-cuvid --enable-nvenc --enable-encoder=libx264 --enable-encoder=libx265 --enable-sdl2 --enable-libmp3lame --disable-doc --extra-cflags="-I/usr/local/include" --extra-ldflags="-libpath:/usr/local/lib"
4. ./configure --disable-static --enable-shared --toolchain=msvc --arch=x86_64 --enable-nonfree --enable-gpl --enable-version3 --enable-libsrt --enable-libx264 --enable-libx265 --enable-cuda --enable-cuvid --enable-nvenc --enable-encoder=libx264 --enable-encoder=libx265 --enable-sdl2 --enable-libmp3lame --enable-decklink --disable-doc --extra-cflags="-I/usr/local/include" --extra-ldflags="-libpath:/usr/local/lib"
想认识一下大佬