Hi, On Fri, Jan 23, 2009 at 11:08 AM, Mark Kenna <[email protected]> wrote: > I have two different media sources, both streaming raw MP4.
Now before anything else, I'm interested in what exactly these media sources are? My impression is that they are using linear timestamp increases as PTS, which is of course incorrect for B-frame containing, presentation- (rather than decoding-)ordered sources (think e.g. Matroska). > Media Source 1: As I am decoding I/P/B frames , the PTS for each frame > is not always increasing, but the frames are displaying correctly. (e.g. > PTS=24, PTS=56, PTS=10, PTS=99, PTS=31. But looking at the images, they > are in the correct sequence. So if I sort the frames according to the > PTS, looking at the sequence of images appears to be wrong. > > Media Source 2: As I am decoding I/P/B frames, for each frame I receive, > the PTS is jumbled as above, but so is the appearance of the frames. If > I sort the frames in order of PTS then the perceived sequence is correct. I assume these are the PTSes of the output frames after decoding, right? How do you know the input PTS is correct? Is it linearly increasing or not (it shouldn't)? Ronald _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
