Michael Niedermayer <[EMAIL PROTECTED]> writes: > A ES frame can be split over many PES packets, and 1 PES packet can contain > many ES frames. There are no restrictions at all where ES frames boundaries > are in PES packets. > The AVParser will split them for you properly it will also reorder timestamps > if you use it correctly. You still will have to interpolate all missing > timestamps after that though. > You wouldnt have to deal with any of that if you would use libavformat to > demux.
Thank you for the answer. However, using libavformat to demux the Transport stream is also complicated, because I am developing a cross-platform application, and currently the hardware runs on windows. It seems, libavformat cannot work with devices in windows in the same way as it does in Linux. Therefore I am unable to use libavformat to open a device in my application. I have seen messages, that someone has successfully used the ByteIOcontext directly, he also promised to document his efforts, but these messages are rather old (2005), and there is no such a documentation available. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
