[Libav-user] Converting PTS to frame number
Nicolas George
george at nsup.org
Wed Dec 18 14:33:14 EET 2024
Michael Ivanov (12024-12-18):
> It works correctly, but I am not sure this is the right way to do that and
> that it will work with any fps/time scale. Could someone review this code
> and provide feedback, or an alternative way?
Most code that tries to generate a frame number proves to be trying to
solve a problem the wrong way. Please explain why you think you need the
frame number.
Regards,
--
Nicolas George
More information about the Libav-user
mailing list