Is it possible to play videos/.movs from Blitz Basic under Mac os X ? I couldn't find any documentation about it.
Video under Mac Os X ?
Miscellaneous Forums/MacOS X Discussion/Video under Mac Os X ? No. I hope this was helpful :).
Nicolas.
Nicolas.
Thanks, at least I know now :)
It should actually be possible with QuickTime 7, although it wouldn't be easy. This would also limit your app to supporting OS X 10.3.9 and Tiger only. Basically, you would use the new "Visual Contexts" in QuickTime to render directly to an OpenGL texture. If you've heard of the new Core Video technology, that's exactly what this is referring to. After you've got your video as a texture, you can then apply it to a polygon in OpenGL. That should allow you to use QuickTime to render to a surface in both Max2D and plain OpenGL. If I get some time, I might actually give that a try.
If you want to support QuickTime 6.5 and older versions, it could still be possible, but I don't have the slightest clue how. Before QuickTime 7, I believe QuickTime actually rendered its video through QuickDraw, the old graphics API that was invented for the original Macintosh. You would have to find a way to connect QuickDraw, QuickTime and OpenGL (i.e. Max2D) together for that to work. I don't think this a very easy task in plain C and Carbon, much less Blitz.
If you want to support QuickTime 6.5 and older versions, it could still be possible, but I don't have the slightest clue how. Before QuickTime 7, I believe QuickTime actually rendered its video through QuickDraw, the old graphics API that was invented for the original Macintosh. You would have to find a way to connect QuickDraw, QuickTime and OpenGL (i.e. Max2D) together for that to work. I don't think this a very easy task in plain C and Carbon, much less Blitz.
anyonw?
still wondering :(
This might be a good place to start :
http://developer.apple.com/quicktime/
Includes full API documentation, guides, source examples of usage etc...
http://developer.apple.com/quicktime/
Includes full API documentation, guides, source examples of usage etc...