Re: Export to a Movie
Re: Export to a Movie
- Subject: Re: Export to a Movie
- From: "James B. Tuley" <email@hidden>
- Date: Wed, 15 Dec 2004 17:52:47 -0600
On Dec 15, 2004, at 9:43 AM, Lorenzo wrote:
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.
I'd say trying a non-temporal compression codec like the animation
codec, photo jpeg codec, or dv codec.
-Jay
_______________________________________________
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