Hello there, I am writing the pygame/Python movie module using ffmpeg. One of the requirements I need to implement is to provide looping capability. What I have is most of the video initialization stuff, like initializating an AVFormatContext, etc is done once, then once one playthrough is done, and if more playbacks are demanded, then its supposed to seek back to the beginning of the stream(s). I use most of the same seeking code as ffplay does. However, av_read_frame is returning a -32. Obviously, there's something I'm forgetting to do with my AVFormatContext. Before, I went through the whole initialization process every time I wanted to loop, but this isn't quite satisfactory, and causes a few problems. So what am I missing?
-Tyler -- Visit my blog at http://oddco.ca/zeroth/zblog _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
