I’ve the source code of ffmpeg and would like to build it in my win7. I’ve minGW installed on my machine. I found a step by step instruction from this link:
http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/
The link ‘Download updated bash for MSYS’ did not follow. It showed the file is not found. When I try to build the program the way explained in the site, it shows an error:
Unknown option “–extra-cflags=-mno-cygwin”.
See ./configure –help for available options.
./myconfig: –extra-ldflags=-Wl,–add-stdcall-alias: command not found
./myconfig: –target-os=mingw32: command not found
From a similar question posted here, I followed the link http://ffmpeg.arrozcru.org/ but the static build downloaded from the site was corrupted. Pls help.
yeah, those instructions are really old, refer to old version of mingw/msys
better, new instructions (visual walk through ) available at http://ingar.satgnu.net/devenv/mingw32/base.html
you install msys, not bash, it comes with MinGW shell, /bin/sh.exe, and you use it to drive configure, just like ingar does with a whole bunch of other projects above
the usual magic incantation is