Page 1 of 1

Playing Cut-scene Movies

Posted: Thu Aug 19, 2010 9:10 am
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.

Posted: Thu Aug 19, 2010 9:29 am
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.

Posted: Thu Aug 19, 2010 12:30 pm
by Acki
you can try my IrrExtensions, it includes an avi player !!! 8)

Posted: Sun Aug 22, 2010 6:21 pm
by neil_123
Hi Acki,

Does IrrExtentions for avi player work on Linux?

Thanks

Posted: Sun Aug 22, 2010 7:50 pm
by Acki
neil_123 wrote:Does IrrExtentions for avi player work on Linux?
ohh, no, sorry, only for Windows... :cry:

Posted: Sun Aug 22, 2010 11:36 pm
by neil_123
Hi Acki, do u know of any alternatives for Linux.

Posted: Mon Aug 23, 2010 1:04 am
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 ??? ;)

Posted: Mon Aug 23, 2010 9:23 am
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.

Posted: Tue Aug 24, 2010 9:05 pm
by Bate
I just uploaded my new video class. It's portable.