Archived

This topic is now archived and is closed to further replies.

coldacid

AVIs on Linux

Recommended Posts

coldacid    755
Is there any way to show an AVI movie, encoded or not, on Linux within an SDL game? If so, could someone direct me to a useful resource that discusses this? Thanks.

Share this post


Link to post
Share on other sites
JonStelly    127
http://avifile.sourceforge.net/

also check out ''xanim'' to figure out which libraries they use to play AVI files. I know this isn''t SDL specific, but those are some general places to look, not sure if you already knew of either / both. At any rate, good luck.

Share this post


Link to post
Share on other sites
coldacid    755
Thanks.

Heh, there should be an SDL_avi or SDL_movie, especially considering how useful that would be in at least some genres for cutscenes.


Chris ''coldacid'' Charabaruk <ccharabaruk@meldstar.com> <http://www.meldstar.com/~ccharabaruk/>
Meldstar Studios <http://www.meldstar.com/> - Creation, cubed.

This message double ROT-13 encrypted for additional security.

Share this post


Link to post
Share on other sites
a person    118
many games now do realtime cut scenes because of all the graphics power avaiblible and since it helps keep immersion high. i might as well suggest mpeglib as an alternative or smacker (bink). just so you have options open. in worse case you could just use a bunch of jpeg images all plopped in a file (in fact thats actually a codec used by many movie editing apps to keep frames small but high quality since all frames are full present and can easily be snipped and moved around).

Share this post


Link to post
Share on other sites
coldacid    755
Still, that''s only really useful for 3D games. For something 2D, like an oldschool RPG, a video like an AVI or MPEG file is usually the only option.

And even classic 2d/3d RPGs like FF7 have used video.

Share this post


Link to post
Share on other sites