Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Export to a Movie



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 movies
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.

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.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.