There's tons of different programmes or even just websites capable doing that.

I personally like youtube downloader , even so it doesn't spit out the original flv.