I'm using Windows 7 and Zend server for my PHP.I have fed up completely searching and trying every methods of installation found on internet.
Luckily, I installed it well on my Ubuntu machine at my home.
How do I install ffmpeg in Windows 7?
This page lists more guides.
Also have a look at the K-Lite Codec Pack.
In general, videohelp.com is a good resource for setting up video stuff.
Download either the latest 32-bit build or 64-bit build and extract the contents of the
Optionally, add the path to ffmpeg.exe to your system path so you can run it without the fully qualified path.
See also the examples posted by Ahmed.