Thanks for idea. It's really lot of work, but it seems that I will have
to do it.
It would be great if ffmpeg (or other software that use ffmpeg) had had
the same function to do all the stuff.
Best regards,
Marty
Robert Bielik napsal(a):
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
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user