Agree. However in my case Demuxer is part of a bigger rendering system which is (currently) frame based. So I need to send back frame numbers so the engine knows when to stop demuxing process. In the future it will be changed to time based.
On Wed, Dec 18, 2024, 14:33 Nicolas George <[email protected]> wrote: > 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 > _______________________________________________ > Libav-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". >
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
