Mailing Lists: Apple Mailing Lists

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

Setting general framerate for an imported image sequence



Hi all,

I am importing a sequence of .bmp's into a reference movie.

I cant seem to find out how to set a general frame rate for this movie?

MovieImportDoUserDialog() brings up an "Image Sequence Settings" dialog and
asks the user to choose from a finite set of 15 different frame rates ranging
from 30.0 fps to 10 seconds per frame.

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

Hopefully this is possible? :]

Thank you.

Jonatan Fernstad



// Code

err = OpenADefaultComponent( MovieImportType, GraphicsImporterComponentType,
&movieImporter );
GraphicsImageImportSetSequenceEnabled( movieImporter, true );
canceled = true;

// Brings up the image sequence settings dialog to the user
err = MovieImportDoUserDialog( movieImporter, &myFSSpec, nil, &canceled );
_______________________________________________
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.



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.