Looks like when ffmpeg creates a video segment, it is not possible to start reading that segment right away. Throws "moov atom not found" error . So if I have a 30 sec segment, I have to wait for at least 30 secs. Tried the -movflags faststart option, still throws the same error. Welcome any suggestion,