Playing Cut-scene Movies

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jaxxa
Posts: 6
Joined: Fri Mar 26, 2010 2:50 am

Playing Cut-scene Movies

Post by jaxxa »

What would be the easiest way to play a video file from within Irrlicht?
I found a few forum posts about the topic but no solutions I was able to get working.
I don't mind what video format the solution uses as converting the video will be easy enough, I just want to be able to play cutscenes between the levels.
I am using DirectX on Windows with the CodeBlocks IDE.
loki1985
Posts: 214
Joined: Thu Mar 31, 2005 2:36 pm

Post by loki1985 »

the most professional and future-proof solution would be embedding either the Theora library or the WebM library. webm will be a bit better in quality vs filesize, but depending on your distribution medium that might not be an issue.

i don't know about webm library, but embedding theora is pretty easy.

of course, vorbis should be used as audio codec and ogg as container.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

you can try my IrrExtensions, it includes an avi player !!! 8)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
neil_123
Posts: 67
Joined: Wed Apr 07, 2010 8:50 pm

Post by neil_123 »

Hi Acki,

Does IrrExtentions for avi player work on Linux?

Thanks
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

neil_123 wrote:Does IrrExtentions for avi player work on Linux?
ohh, no, sorry, only for Windows... :cry:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
neil_123
Posts: 67
Joined: Wed Apr 07, 2010 8:50 pm

Post by neil_123 »

Hi Acki, do u know of any alternatives for Linux.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

neil_123 wrote:Hi Acki, do u know of any alternatives for Linux.
no, sorry, I rarely work on Linux systems (I guess the last time was about 5 years ago :lol: )...
I'm sure there are sdks out there for playing vids on Linux, but I don't have a clue... :oops:

maybe some other Linux users can help you ??? ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
loki1985
Posts: 214
Joined: Thu Mar 31, 2005 2:36 pm

Post by loki1985 »

that is why i described my recommendation as future-proof. a combination of Ogg + Vorbis + Theora or WebM can run on windows, linux, osx, ps3, xbox360, etc.
that is because these are simple C libraries which do not depend on special platforms or frameworks.
Bate
Posts: 364
Joined: Sun Nov 01, 2009 11:39 pm
Location: Germany

Post by Bate »

I just uploaded my new video class. It's portable.
Never take advice from someone who likes to give advice, so take my advice and don't take it.
Post Reply