I am using ffmpeg to capture my desktop screen and stream it to wowza. Following is the command i give:

ffmpeg -f gdigrab -framerate 5 -i desktop -f flv rtmp://[wowza-ip]:1935/live/vstream

I can view the stream using vlcplayer live...
But wowza is not saving this to a file when I click "Record this stream"..It is creating 1kb file..
I havent kept any security or authentication on my live application in Wowza server.

Plz guide.