Martin Farnik skrev:
Hello.
I very like ffmpeg library. All video tasks that I need to do are very
easy with it. But now I need to play video file in forward or backward
direction (depends on user request). I can make all frames of video file
like I-Frame. But I don't know the best way how to play it in backward
direction. Function av_read_frame only works in forward direction. Can
somebody hint me some way how to do that.
Perhaps:
1. Jump to the nearest I-frame (backward)
2. Decode all N frames up to the next I-frame (forward time)
3. Play the N frames backward.
4. Repeat procedure
/Rob
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user