Cross platform AVI

BlitzMax Forums/BlitzMax Programming/Cross platform AVI

Jake L.(Posted 2006) [#1]
Hi,

using VfW under Windows is really easy and quick, but I'm looking for a crossplatform solution.
So does anyone know a way to provide AVI-Support under MacOS/Linux? Any C-Source to port or build a module from?

IMHO BMax is missing a pub.avi-module hardly. If there's no easy solution around I consider writing one (shouldn't be too hard, at least for uncompressed RIFF-AVI). But first I'd like to know if someone has already discovered the wheel I want to invent.


popcade(Posted 2006) [#2]
MPEG or Theora?
or trying wrap VLC decoders?

AVI is a container with some formats inside, if you dig through VLC, you can get some information(but Licensing Issue is something you need to care, it's GPLed)


xlsior(Posted 2006) [#3]
Like Yoxola said, AVI is a container -- the actual contents can be encoded with any of dozens of different codecs, and unless you have the decompression codec for whatever format used available on your target system, you're not going to able to view it regardless of wether or not you can read 'avi's....


Jake L.(Posted 2006) [#4]
Sure, it's a wrapper.
What I'm really looking for is a way to create and play movies (no matter which format) on any system. No need for dozens of codecs, just a single one that works.


Difference(Posted 2006) [#5]
Get Bink from http://radgametools.com/ except you may not like the price: http://radgametools.com/sales.htm#Bink ;)


Jake L.(Posted 2006) [#6]
Thanks for this link - Bink is the answer to everything but my budget ;) I'll ask my girlfriend, maybe she will sell her car for this fine piece of software...

I'll have a look over codecs and see what I can do on my own - a simple class to write/read movies without compression or sound can't be that hard to develop. Hopefully...


xlsior(Posted 2006) [#7]
Have you looked at this one?

http://blitzbasic.com/Community/posts.php?topic=57033

MPEG, might work on Macs as well...


AntonyWells(Posted 2006) [#8]
using VfW under Windows is really easy and quick,


IS this vfw you speak wrapped in max? Can you point me in it's direction if so please. Been wanting to add movie playback to aurora.


Jake L.(Posted 2006) [#9]
I have not wrapped it for BMax yet, but have a look at Nehe Tutorial #35

VfW is part of DirectShow, so once you've wrapped the DLL you have a MediaPlayer with a few lines of code.