Hi, I have an MPEG2-TS video in a buffer, but I cannot read it using libavformat. Nevertheless, I've got no problems when I read/decode the same video from a file, so I guess there must be a way to get things working with a buffer instead. Anyone could help? Enrique.