Computer Graphics

Moderators: Sephiroth
Number of threads: 1263
Number of posts: 2665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Accessing the QuickTime frame buffer Posted by kreitler on 16 Oct 2001 at 2:47 PM
I'm working on an app that creates animated texture maps from QuickTime movies. Our graphics system is all home-brewed, so using QTVR isn't really an option. I just want to read in the .MOV file, advance through it, and copy the data from each frame into a buffer.

In other words, we're using QuickTime strictly as in import format, and nothing more.

I've spent a couple of days trying to load the movie, create its GWorld, advance through its frames, retrieve its HBITMAP, and copy the DIBits to a memory buffer. So far, I can't advance through the frames (the various "interestingTime" calls recognize only the start of the movie and not subsequent frames). Nor can I retrieve the DIBits successfully--calls to GetPortHBITMAP return a reference to a bitmap with 0 width and 0 height.

I'd appreciate any help on these problems.

Thanks,

Mark Kreitler

Report
Re: Accessing the QuickTime frame buffer Posted by jarnoburger on 21 May 2009 at 4:59 AM
and did you solve it ?
wich language do you use ?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.