Building OpenCV on Windows is pretty straightforward if you have Visual Studio installed. Just run cmake and then compile the sln files.
We had delay issues connecting FFMPEG to the camera, and had to compile a custom version of it to make it work. I was able to use the FFMPEG build instructions found in the OpenCV source code to build the DLL successfully using MinGW.
Check out the following links for the bug report: