On Jul 30, 2008, at 11:10 AM, Vladimir Eremeev wrote: > > I will give it a try when time will permit. > Will it compile in MSVC?
I didn't try but I don't think it would be difficult to do. > For now, from looking through sources, I have two minor suggestions: > decouple libav initialization and FAS initialization and use libav's > logging > facility. Yea. There are alot of elements like this that would improve the interface. If you don't mind, can you send me an email (maybe off- list?) detailing your use-case? As constructed, it's far too specialized for my original needs (it was meant as an all-in-one wrapper for ffmpeg). > I don't completely understand... > Does it need to read through the whole video file in order to seek > to the > certain frame? Assuming you don't have a pre-built seek table from some previous run, yes. If you seek beyond the end of the current table, it'll need to serially read the file from that endpoint to the frame needed. It'll build the seek table for all the elements in between so that you pay this cost only once. And, if your use-case has the necessary infrastructure, you can save that table so you never have to rebuild it for that movie. Threading the table generation is certainly an option but probably premature at this stage. Regards, Louis Brandy _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
