Hi. > > Mind checking my formula? :) > > PTS_delta = av_rescale_q(timestamps_delta, AV_TIME_BASE_Q, time_base); > > where timestamp_delta is difference in milliseconds between the > previous and current frame. > and PTS_delta is the difference for the new PTS. > > Just one question here - the used timebase value is from stream > structure. The den member is always equal to 90,000, no mater what FPS > I set for the codec time base den memeber. Does it mean it's unrelated > to codec timebase, hence the approach work safely on every possible > frame rate? Or I misunderstand it's purpose. > > Thanks again for all your help. >
Well, I tried this approach, and have now huge pixel trails for every movement on screen, which gets cleared every so often (probably by intra-frame). What is the reason behind these trails? Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
