PDA

View Full Version : how to play mpeg file in opengl?



tgtt
02-16-2004, 12:31 AM
is there any free lib?

Andrew Jameson
02-16-2004, 04:26 AM
Hi,
If you want multi channel MPEG support for SFX, Music etc. then I'd suggest BASS ... it's free for freeware stuff and I recollect that it's about $100 for a shareware license ... we like it and works well for our gaming requirements and we've found it to be stable and well supported ...
www.un4seen.com (http://www.un4seen.com)

There's FMOD too ...

Andrew

Honk
02-16-2004, 07:10 AM
I dont think he is talking about mp3's but about videos files.

However the question how to playback video files comes up at least once a month. Just use the forums search function and you will find all the info you need.

V-man
02-16-2004, 07:13 AM
Or you can just use Windows's AVI functions.

nvidia.com has moviemaker.cpp moviemaker.h init's CVS. It's pretty simple. You just select a codec that does mpeg compression.

BASS requires a license even if you are giving away your demo.

tgtt
02-17-2004, 03:08 AM
Thanks all of you.

I find SDL and SMPEG.