AVFrame does contain a pts variable, but this will not always contain what we want when we get a frame. For simply, I think if you encounter the invalid PTS, you can use the prvious PTS + duration, but if the frame should repeated, this will make the AV sync.
2010/3/11 Scott Andrew <[email protected]> > I have a question.. I am getting frames with a PTS of 1 on one pass > through > then a valid time on the next. What does a PTS of 1 mean? Can I use the > prvious PTS to get me a new PTS based on duration + last PTS? > > Scott Andre > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
