Thank you for replying. Another test was to read the file with another player (VLC) while writing to it as described in my original post. And this worked.
So the problem is more with the flash video player than with the stream used for writing the file. I tried "live" option with no more success on the video player. It seems that it behaves differently when reading local file and when reading a stream from http or rtmp server. Any ideas ?

