[Ffmpeg-devel] Re: FFMPEG on Windows
Sat Aug 27 18:44:21 CEST 2005
Thank you Martin for your help. I compiled and used ffmpeg on msvc at last.
Here is how I done it:
Install Msys, MinGW. Put ffmpeg in Msys root directory. Cut and paste the
commands from the vcvars32.bat into autoexec.bat. On NT systems alter the
path,lib, include variable. Reboot. Open Msys shell.
Issue the following commands:
if it has some output then the next is:
If everything goes well start msvc. New project: Console application.
Cut and paste the code from Martin Boehmes demo. In Project ->Settings-> Link
put at the end avcodec.lib avformat.lib.
Put all the h files from ffmpeg in your working directory (or alter the
Put avcodec.lib and avformat.lib in the compiler lib directory.
If you put all the h files in your working directory then
write this at the start of the demo:
Start building and the compiler will cry for inttypes.h.
Put this in common.h or write some preprocessor constants in Project->Settings
Copy avformat and avcodec.dll and some video in the same directory where your
More information about the ffmpeg-devel