FFMPEG PATCH FOR MINGW
FFMPEG is a set of libraries (libavcodec, libavformat, libavutil) for reading and writing audio/video file formats and decompressing and compressing their contents. In other words, FFMPEG is a program that can play audio and video files, do image processing on them, and create new files in many different formats. If you'd like to learn more about it, you can look at their webpage: http://ffmpeg.sourceforge.net/
I was working on a project for connecting to an Axis 213 camera to read mpeg4 video in an RTSP stream. I was using the FFMPEG libraries to do this, but unfortunately the networking code only worked on Unix and BEOS operating systems and I need a cross platform solution. I submitted my patch to the FFMPEG people, and altho some of the people wanted to accept my patch, some of the people higher up in the project did not want to accept my patches, therefore I'm posting them here for anyone who needs networking support on Windows with FFMPEG. I really don't understand why Windows is such a big deal to them. I mean if people enjoy bobbing for apples in a toilet full of poop, I say let them.
NOTE: I am not a part of the FFMPEG team. I just simply changed a few lines of their code to make it compile and run on Windows.
CHANGES IN LATEST 2008 PATCH ARE:
CHANGES IN LATEST 2006 PATCHES ARE:
Note: The ffmpeg team has actually fixed most, if not everything that the 2006 patches take care of. For some reason I think they didn't fix the udp buffer length problems on Windows and they left out a Windows equivalent of usleep() and gettimeofday(). The 2008 patch here takes care of that.
The 2006-11-05 patch works on Subversion code as of November 05, 2008
To install this, download the latest svn version as mentioned on their page http://ffmpeg.sourceforge.net/download.php and apply the patch by typing:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Then run the configure script within MSYS and type: make
NOTE: This will not make FFMPEG compile with Microsoft Visual C++. FFMPEG written to compile with gcc so it requires the MINGW gcc compiler.
To build with a cross compiler on Gentoo Linux I configure with
Copyright 1997-2013 - Michael Kohn