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: Importing bitmap sequence - setting correct fps



>Message: 12
>From: "Jonatan Fernstad" <email@hidden>
>To: <email@hidden>
>Subject: Importing bitmap sequence - setting correct fps
>Date: Fri, 27 Sep 2002 21:27:34 +0200

>The function MovieImportDoUserDialog(...) takes the MovieImportComponent as
>input and changes the frame rate of the MovieImportComponent to one of the 15
>values that the user are able to choose from in the dialog presented to
>him/her.
>
>I want to do the same thing that this function does, w/o the user dialog and
>with the framerate specified by me - not the user.
>
>Who knows how you do this?

Have you tried using MovieImportSetSampleDuration()? Pass in a duration and a
timescale for the duration value.

MovieImportSetSampleDuration(movieImporter, 1, 24) for example gives you 24
fps. You can confirm this by calling DoUserDialog and checking out the value
of the popup menu.

Here's a link to the docs for this call:
http://developer.apple.com/techpubs/quicktime/qtdevdocs/APIREF/SOURCESII/mimpsetsampleduration.htm

Here's a link to the full data exchange docs:
http://developer.apple.com/techpubs/quicktime/qtdevdocs/RM/rmDataExchange.htm

Hope that helps.

later,
edward

-------------------------------------
Edward Agabeg
QuickTime
Developer Technical Support Engineer
Worldwide Developer Relations
Apple

http://www.apple.com/developer
http://www.apple.com/quicktime

QuickTime 6, the cornerstone of any nutritious breakfast.

-- This message was sent from a personal account --
-- All views are mine and not necessarily shared by my employer --
_______________________________________________
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.