Madskillz RCE
Madskillz RCE

Reputation: 1

FFMPEG Compile Custom

I need to compile FFMPEG with version 2.1.8 of source and with the following options -

./configure --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --cc=i686-w64-mingw32-gcc --disable-postproc --enable-shared --disable-static --disable-decoder=libvpx --disable-encoder=aac --enable-avisynth --enable-gpl --enable-version3 --enable-pthreads --enable-avfilter --enable-runtime-cpudetect --enable-nonfree --pkg-config=pkg-config --enable-libquvi --enable-libfaac --enable-libnut --enable-libgsm --enable-libfreetype --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-zlib --enable-libtheora --enable-bzlib --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libschroedinger --enable-librtmp --enable-libass --enable-libx264 --enable-libbluray --enable-openssl --enable-libflite --enable-libsox --disable-ffplay --enable-libcdio --enable-libcelt --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxavs --disable-outdev=sdl --disable-muxers --enable-muxer=encx --extra-cflags=-I/usr/i686-mingw32/include --extra-ldflags=-L/usr/i686-mingw32/lib --extra-libs='-lx264 -lpthread -lwinmm -llua -liconv -lcurl -lws2_32 -lssl -lcrypto -lwldap32 -lgdi32 -lwsock32' 

I need to know on which system will be good to compile this ?

also some libraries might be obsolete so where can I find them ?

Please provide your input how would you compile it ?

The configuration was extracted from a custom version of avcodec-55.dll , need to demux a video using new compiled ffmpeg.

Regards

Upvotes: 0

Views: 2001

Answers (1)

rogerdpack
rogerdpack

Reputation: 66911

recommend http://github.com/rdp/ffmpeg-windows-build-helpers which builds the dependencies for you

appears it would be --build-ffmpeg-shared=y --build-ffmpeg-static=n --ffmpeg-git-checkout-version=n2.1.8 it will complain of some newer dependencies it doesn't understand (like --enable-decklink) so just remove those flags from inside the script and run again, gl!

Upvotes: 1

Related Questions