CarlHusic Posted February 25, 2008 Share Posted February 25, 2008 I've downloaded the Quicktime SDK for windows programming, and I've been trying to slog through the Apple Developer Connection Reference Library but I'm having trouble finding what I want ...What I need to to is grab frame samples (and eventually audio but one step at a time). I'm at the point where I've opened a movie file, have the Movie, and have executed getMoviePict() to obtain a PicHandle.How do I go about writing this out to a file (what I have in mind is a BMP file)? I've been going over the online documentation but so far the answer fails to jump out at me.Keep in mind I am progamming in C on a Windows XP box.roughly what I have so far ... if ((err = InitializeQTML(0)) == noErr) { if ((err = EnterMovies()) == noErr) { strcpy (fpath, fn_str); c2pstr(fpath); if ((err = FSMakeFSSpec(0, 0L, fpath, &sfFile)) == noErr) { if ((err = OpenMovieFile (&sfFile, &theFile, fsRdPerm)) == noErr) { if ((err = NewMovieFromFile(&theMovie, theFile, NULL, NULL, newMovieActive, NULL)) == noErr) { PicHandle thePic; int t; TimeValue mTime; for (t = 0; t < 6000; t += 600) { thePic = GetMoviePict(theMovie, mTime); [color="#8B0000"]// SO WHAT GOES HERE TO SAVE AN IMAGE?[/color] } err = CloseMovieFile(theFile); } } } ExitMovies(); } TerminateQTML(); }Also, any links to forums or other resources specifically about this kind of subject would be appreciated.Thanks Link to comment Share on other sites More sharing options...
vikasmailsu Posted May 14, 2009 Share Posted May 14, 2009 Hi Experts,I am willing to create image plugin in Quicktime using visual Studio(vc++). Is there any good tutorial or sample code available which can help me in developing the same. Because I wanted to convert one image in any file format in to another file format and I belive it can be possible with creating such kinda plugin that can convert any specific image in to another file format.Actually I would like to learn the way to create the plugin which can open any image and save it in a particular kind of image file format. kindly help me in it .Thanks & RegardsVikas Link to comment Share on other sites More sharing options...
peterlemmen Posted May 20, 2009 Share Posted May 20, 2009 Hi VikasI am no expert but have some experiense.this is a link with general info.http://developer.apple.com/technotes/tn/tn2012.htmland this is the link to an example component.http://developer.apple.com/samplecode/Elec...nent/index.htmlgood luck. Link to comment Share on other sites More sharing options...
dragon Posted January 10, 2010 Share Posted January 10, 2010 I downloaded the Windows SDk from apple dev connection too. There is no documentation or examples with it as indicated on the download page.It just installs the code under program files. Am I missing something or does the site lie about there being examples and doc?I am new to objectitveC and quicktime programming so was hoping to find some examples and doc . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now