Thanks for the info. In my case I use http to stream the video, and I just need a way to place the Cues Section at the beginning of the file. Since I'm new to EBML I don't have any clue how to do that.