[Libav-user] How to Frame Step Forwards/Backwards?

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 25 11:42:53 CET 2013


xftzg <xftzg2013 at ...> writes:

> I want to perform a 'Step Forwards/Backwards' operation in my player

This is not a trivial task.
I believe there are two main approaches:
You can cache as many frames as you believe the user will want 
to step backwards or you seek backwards to the next keyframe 
and decode (again) until the requested frame (this may take 
considerable time).
If your problem is that you cannot seek backwards to a keyframe, 
please post code that allows to test this.

Carl Eugen



More information about the Libav-user mailing list