Is it possible to play a video (.avi, etc.) ?

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.

Is it possible to play a video (.avi, etc.) ?

Postby kralos » Tue May 29, 2012 12:52 pm

Hello !

My question is very simple : Is it possible to play a video (mp4, avi, etc) with Irrlicht ? And if it's possible, have you a tutorial for me ?
I have do some research but I haven't find informations (just old stuff : 2006-2008...)

Thank you :)
kralos
 
Posts: 1
Joined: Tue May 29, 2012 12:47 pm

Re: Is it possible to play a video (.avi, etc.) ?

Postby CuteAlien » Tue May 29, 2012 1:20 pm

Videoformats are not build-in. You can use Irrlicht for displaying, but loading and decompressing needs a video-library instead (theora for example or ffmpeg).
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5349
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Is it possible to play a video (.avi, etc.) ?

Postby rubenwardy » Wed May 30, 2012 12:22 pm

You should of looked through the posts or searched the forum first, as this topic was posted just before you, half a page down

Here was the answer given

http://irrlicht3d.org/wiki/index.php?n=Main.Video
http://www.multa.bugs3.com/

str = "Ruben is a nerd";
cout << str_replace("nerd", " computer genius", str) << endl;
rubenwardy
 
Posts: 70
Joined: Mon Mar 05, 2012 4:51 pm
Location: SW England

Re: Is it possible to play a video (.avi, etc.) ?

Postby mongoose7 » Wed May 30, 2012 12:57 pm

Er, maybe, but the OP's request was for formats *actually* in use.

It woud be good to have a sketch of the code. One can certainly find code on the internet to produce frames from, say, MPEG, but to use it as a texture requires the 'lock' call, doesn't it?
mongoose7
 
Posts: 514
Joined: Wed Apr 06, 2011 12:13 pm

Re: Is it possible to play a video (.avi, etc.) ?

Postby hendu » Wed May 30, 2012 1:18 pm

Enjoy selling a product that includes MP* video decoding. Patent royalties ahoy.

There's a reason even most AAA games use Ogg codecs or nowadays VP8.
hendu
 
Posts: 1552
Joined: Sat Dec 18, 2010 12:53 pm


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest