Export to a Movie
Export to a Movie
- Subject: Export to a Movie
- From: Lorenzo <email@hidden>
- Date: Wed, 15 Dec 2004 16:43:22 +0100
Hi,
I export my OpenGL animation to a QT movie file reusing some sample code I
have found at the Apple web site, like "CocoaCreateMovie" and
"CompressMovie".
But, no matter which codec I use, which image size, which fps, data rate,
compression quality, duration... any time I quit my OpenGL application and
play the movie with "QuickTime Player", sometimes, *randomly*, my movie
skips some frames or more likely blocks for a little while.
I am getting crazy with that, because I looked at the code hundres of times,
but I cannot find the cause of the problem. Other movies I downloaded from
Apple trailers web site work flawlessy, so my "QuickTime Player" is ok. And
my movie frames are all there because the trouble happens time-randomly.
It seems that sometimes QT spends more times to decompress one image.
And I have a G5 dual 2GHz.
What do you think is the cause of the problem?
Could someone point me to the right direction?
Just to make an example, my last exported movie is a Sorenson Video 3, 512 x
320, Millions. FPS 30, Data Size: 14 MB, Data Rate: 575.9 bytes/sec,
Duration: 25 secs.
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden