This is an old revision of the document!


First, get the latest source from http://www.ffmpeg.org/download.html and extract it in a convenient place, then configure it:

$ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include \
  ./configure --prefix=/c/met.no \
  --disable-ffmpeg --disable-ffplay --disable-ffserver \
  --enable-memalign-hack

Note that we've tried to trim it down a bit by disabling bits we don't need.

You can safely ignore the pr: command not found messages.

Finally, build and install:

$ make INCINSTDIR=/c/met.no/include/ffmpeg all install

The INCINSTDIR bit forces ffmpeg to install its headers in /c/met.no/include/ffmpeg instead of separate directories for each library (/c/met.no/include/libavformat, /c/met.no/include/libavutil etc.)

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • diana/windows/building/ffmpeg.1267188711.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)