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 Create a movie from a memory pointer



I have find an article from the apples's quicktime develop
center:http://developer.apple.com/qa/qa2004/qa1341.html
It is a Q&A:
Q: I can create a movie from a movie file using the |NewMovieFromFile|
API, but how do I create a movie from movie data which resides in memory?

I think this is what I need,but when I do it like the answer says,error
occurs;
The error is -2048 ,when I call the NewMovieFromDataRef.

Who can tell me why? Or is that answer right?

Help me please!!


You need to tag the DataRef correctly so QT knows what to do with the data in memory. In the Q&A you mention there is a link to TN1195 which discusses this in detail.

http://developer.apple.com/technotes/tn/tn1195.html

regards,
edward

 Edward Agabeg
 WWDR Engineer
 QuickTime and Audio
 Worldwide Developer Relations
 Apple

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

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