Mailing Lists: Apple Mailing Lists

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

frame-by-frame advancing



Hi,

I'm trying to implement a jog shuttle control for QT movies. The
component is all ready to go: I based the code on the JogShuttle example
lifted from "Java Swing". When the knob is turned, the component fires an
adjustment event indicating by how many units it was turned. Now I need
to find a meaningful way to map these units into QT terms.

I figured, the ideal way would be to have one turn unit correspond to a
movie frame. For that, it seems, I need Movie.getNextInterestingTime().
But I'm doubtful of whether it will do what I want. Judging from the
description given in the docs, if I use the nextTimeSyncSample flag, that
will only find me key frames. But what about the intermediate frames
(B, P, I, or whatever else the underlying codec may use), how do I get to
those?

Thanks
Dmitry




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.