I'm just developping an application that plays a movie list and i need
the transition between the two clips as fast as possible. At first it
seemed to me that the Quicktime memory manager did it pretty well, but
i could improve it. I'm not a proffesionnal of video editing, i'm
simply a developer so i didn't notice the "little drops" when i
stopped a movie and started another one.
Without prerolling and loading into ram, the drops were about 10
or twelve frames, something unacceptable. after that i tried to
prerroll the movie and load it (all) into ram. There was an amazing
result, the transition was pretty smooth (there was a drop of only a
couple of frames) but the memory was fullfilled very quickly.
Finally i had an idea, actually what i'm doing is to check how
much time is left to finish the movie and when this time is less than
10 seconds (just to give time to load some portion of the movie) i
load into memory the first second of the next movie to play. The
result is the best i reached since the drops are actually eliminated
and the memory is suffering overloading.
The only problem is that when i load this second, the movie that is
playing is freezing because i'm calling MoviesTask and
LoadMovieIntoRam from the same thread. So, when the application calls
loadmovieintoram it lasts for a portion or maybe some seconds to
return from the calland MoviesTask cannot be called. That's why i want
to call LoadMovieIntoRam from another thread.
:)
The perfomance of "standard" movie playing that Quicktime offers is
pretty good, but if you want realy good transitions, smooth playing
and all this kind of stuff with a professional quality in my opinion,
you surely have to enhance movie performance.
thanks to all, and if someone knows how to solve my problem i will
really appreciate that!
guillem
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden