BuildingGstFFmpegInMinGWMsys

Back to contents

Build gst-ffmpeg

cd /c/src
git clone git://anongit.freedesktop.org/gstreamer/gst-ffmpeg
cd gst-ffmpeg

Do:

./autogen.sh

Modify c:/src/gst-ffmpeg/gst-libs/ext/ffmpeg/configure:

In the lines

check_cflags -std=c99

and

check_host_cflags -std=c99

Change "-std=c99" to "-std=gnu99"

lt_cv_deplibs_check_method="pass_all" CPPFLAGS="-U_POSIX_C_SOURCE -U_ISOC99_SOURCE -Wno-deprecated-declarations" CFLAGS="-fno-common" CXXFLAGS="-fno-common" LDFLAGS="-Wl,-no-undefined" LIBS="-lvfw32 -lws2_32" ./configure --prefix=/mingw --with-ffmpeg-extra-configure="--disable-pthreads --enable-w32threads"
make
make install