More distractions...

BlitzMax Modules Forums/Brucey's Modules/More distractions...

Okay... committed..

I've tried testing the example on Win32 (on Parallels), but it can't chuck the stuff around fast enough to work very well - however, I can see that it is trying to do it, so I'm guessing it works :-p

Things you will need to install (once you've built the module - via SVN)...

AVbin (link to the downloads page).

AVbin comes in the form of a DLL / .dylib, that needs to be installed.
For Mac, in theory, you could ship it in the app bundle, but I haven't tried it yet.

and to try the example app on Win32,
OpenAL (link to the setup .zip)
...if you don't already have it installed.


Your mileage may, as usual, vary considerably. But I'm happy enough with what it is doing so far - playing video with sound.
You may have issues running the example with different types of media... as I may not be using the library in the correct way for the start of a stream... I think you are meant to use the "start timestamp" stuff to determine when things are meant to kick off. I ain't no expert by a long way.

The example also doesn't handle the end of the stream properly. In reality the streams should be closed, and then the file closed. And of course, have OpenAL stopped.

Some work could be done on the "drawing" stuff. BlitzMax by default prefers to draw on RGBA8 textures. It would have been nice if we got a choice. And therefore less data copying. But it's all a bit fuzzy to me this GL thing, so I've done what I could to get it working so-so.

But, given a lack of integrated video+audio in BlitzMax, this appears to be the best there is for now.

Comments, suggestions, feedback (and patches) always welcome :-)

I'll do a proper release once things settle down a bit...

:o)