Googling I see that this can happen sometimes.
Sometimes a module will not work with a specific php version.
The php_ffmpeg.dll file you have downloaded may not work with your 5.3.1
So, I should try with some other (older) versions of the php_ffmpeg.dll file.
Here is one download
Installing ffmpeg-php on Windows XP
http://www.ironlasso.com/install_ffmpeg-php_windows.html