The following thread contains information on fixing FLV files:
Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.com)
But I suggest to use
Replay Media Catcher or
Jaksta to record RTMP and HTTP streams from flash player.