Extension of ffmpeg for posting rtmp stream from a continuous updating file