how many fps can iPhone's UIGetScreenImage() actually do?
Posted
by M Katz
on Stack Overflow
See other posts from Stack Overflow
or by M Katz
Published on 2010-02-17T14:20:55Z
Indexed on
2010/04/29
9:07 UTC
Read the original article
Hit count: 658
iphone
|video-capture
Now that Apple is officially allowing UIGetScreenImage() to be used in iPhone apps, I've seen a number of blogs saying that this "opens the floodgates" for video capture on iPhones, including older models. But I've also seen blogs that say the fastest frame rate they can get with UIGetScreenImage() is like 6 FPS.
Can anyone share specific frame-rate results you've gotten with UIGetScreenImage() (or other approved APIs)? Does restricting the area of the screen captured improve frame rate significantly?
Also, for the wishful thinking segment of today's program, does anyone have pointers to code/library that uses UIGetScreenImage() to capture video? For instance, I'd like an API something like Capture( int fps, Rect bounds, int durationMs ) that would turn on the camera and for the given duration record a sequence of .png files at the given frame rate, copying from the given screen rect.
© Stack Overflow or respective owner