Mailing Lists: Apple Mailing Lists

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

Builtin iSight's presentationTime runs too fast?



I'm using QTCaptureDecompressedVideoOutput to capture frames from a
webcam, and store them as a movie.

I'm seeing some odd timing values in the QTSampleBuffer that you get
in captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection:.
  The timeScale is always 30000, on both internal & external isights.
However :

On an MacPro or iMac using an external iSight, over the course of 1
second, (presentationTime/timeScale) increases by 1.0, as expected.
On an iMac with builtin iSight, over the course of 1 second,
(presentationTime/timeScale) increases by 0.666.

That is, if I capture 1 minute's worth of video frames from this, the
resulting movie from an external iSight will run for 1 minute.  No
surprise there.  However - 1 minute from an internal iSight will be
sped up, and only last for 40 seconds.


What am I missing?

Jonathan del Strother
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/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.