where do I have to put ffmpeg?
You should put it in a directory that is in your system PATH. I put all my utility programs in c:\utils and have added that directory to my PATH. My copy of ffmpeg.exe lives there.