Re: Semi-OT QuickTime/OpenGL Textures
Re: Semi-OT QuickTime/OpenGL Textures
- Subject: Re: Semi-OT QuickTime/OpenGL Textures
- From: Guy English <email@hidden>
- Date: Tue, 13 Sep 2005 01:13:55 -0400
On Tiger use QTKit and Core Video as per this example:
http://developer.apple.com/samplecode/QTCoreVideo101/QTCoreVideo101.html
On Panther it's not as simple but there is some sample code out there
for it. What I'd do ( and have done in the past but on Windows, is
decode into a ring buffer with each ring being a texture on the card.
That way you're not texturing directly over the AGP bus and can stand
a little lag from time to time.
Fourth, I would like to pull the decoded (?) audio out and send it
to OpenAL (for 3D panning, etc...) if at all possible, and was
looking maybe for any hints about if this is possible, and in what
directions I should be looking. ^_^
Hmm. I'm sure you can do this with QTKit by grabbing the right track
but it's going to be a pain to keep it in sync once you start
playing with OpenAL buffers on top of the video rendering stuff.
Unless you've got a really good reason and what you want to do can't
be done in QuickTime I'd think twice about taking that route.
Take care,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden