Mailing Lists: Apple Mailing Lists

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

Re: Setting general framerate for an imported image sequence



On Tuesday, Sep 24, 2002, at 11:15 Australia/Melbourne, Jonatan Fernstad wrote:

However, I do not want/need to ask the user this, and I need to set the frame
rate to any double value ( float precision will do aswell ) in the range of
0.0 to 30.0. [ To match the actual fps that the bitmaps were captured with,
and this can be any value in the same range. ]

You can always build the movie by hand - what the importer does is not that complicated to reproduce... perhaps that would give you extra flexibility - like you could put the timestamp into the name of the file or something.

anyway, open the bitmap using a GraphicImport component, get the data, AddMediaSample(or AMSReference, using data offset), repeat.

this way you can make the timestamps anything you want, vary the frame durations, whatever... I think using the create movie sample and the graphics importer sample code in the sdk, you should have enough rope to hang yourself :-)

cheers,

dean
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Setting general framerate for an imported image sequence (From: "Jonatan Fernstad" <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.