I need to play a DivX movie in the middle of my SDL/OpenGL program.
- How do I play DivX movies? I know there’s SMpeg, but I didn’t see
examples of using it, and I’m not sure it can play DivX movies as well…
Are you talking about DivX for Windows or for Linux? Implementations are quite different: win32 version is an avi codec, and I don’t know anything about it. Linux
version is a shared library with its own headers.
You could use the “linux” version to be outputting the frames. Which would work
in any operating system. (Assuming, of course, the library isnt doing anything
from keeping us from compiling in win32)
Well… Can anything but one of these so called “DivX ;-)” codecs? AFAIK, the truly interesting versions are modified and won’t play with Microsoft’s official codecs.
False. DivX
1-2-3 where illegal hacks of WMA. DivX 4 and 5 (without the
) are fully rewritten, fully legal stuff.
Wrong. It is a perfectly legal hack of Microsoft’s MPEG-4 codec. (MPEG-4 is not
the windows media format)
- The movie is encoded using DivX 5.0 Pro, but it should play on any
computer, with other versions of DivX decoder or without it at all.
AFAIK, DivX 5 videos should work with DivX 4 or higher decoders. However, WHY BOTHER? Ship DivX with your program and, during installation, ask “DivX 5 is
necessary for the execution of MYAPP. Do you want to install it now?” No need for automatic detection. For windows version, just run DivX’s own installer. For linux
version, run the install.sh script provided with the package.
Yes, you should always be using the newest divx. Also, I wouldnt be playing
divx5 movies with anything but divx5 and above, otherwise you might get very
degraded playback.
I seriously recommend not using the win32 codec system. Its braindamaged, and
makes you have to write the code twice (once for win32, once everything else.)On 16-Jun-2002, CRV?ADER/KY wrote:
CRV?ADER/KY
KnowledgE is PoweR
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–
Patrick “Diablo-D3” McFarland || unknown at panax.com
“Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music.” --Kristian Wilson, Nintendo, Inc, 1989