Is it possible to play a video (.avi, etc.) ?
Is it possible to play a video (.avi, etc.) ?
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
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
Re: Is it possible to play a video (.avi, etc.) ?
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.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 91
- Joined: Mon Mar 05, 2012 4:51 pm
- Location: Bristol, UK
- Contact:
Re: Is it possible to play a video (.avi, etc.) ?
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
Here was the answer given
http://irrlicht3d.org/wiki/index.php?n=Main.Video
Re: Is it possible to play a video (.avi, etc.) ?
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?
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?
Re: Is it possible to play a video (.avi, etc.) ?
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.
There's a reason even most AAA games use Ogg codecs or nowadays VP8.
-
- Posts: 1
- Joined: Sat Sep 10, 2016 7:08 pm
Re: Is it possible to play a video (.avi, etc.) ?
Has anyone made this work on iOS?
Re: Is it possible to play a video (.avi, etc.) ?
I thought the patents only covered the compressors in the case of the videos, the RTF documents define only the format of the output stream, and it is open for anybody to implement how to read them. So implementing another video decompressor shouldn't be problematic, should it? eventhough it is true, OGG and WEBM are the only "open" formats out there. I think it wouldn't harm Irr to have a built in video decompressor for texture playback.hendu wrote: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.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: Is it possible to play a video (.avi, etc.) ?
Not sure about videos, but I think in the case of mp3 sound it hadn't just been the compression. So maybe same for mp4 video format.
Unfortunately can't help yet with Video-player. I have some support for playing ogg's in my h-craft source-code. But haven't done video-part yet (only did the other way round once in a project - writing to vorbis). Maybe one day...
Unfortunately can't help yet with Video-player. I have some support for playing ogg's in my h-craft source-code. But haven't done video-part yet (only did the other way round once in a project - writing to vorbis). Maybe one day...
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Is it possible to play a video (.avi, etc.) ?
Decoders, even third-party decoders, fall under the patents. That's why Firefox couldn't legally ship H.264 decoding before Cisco offered theirs.
Re: Is it possible to play a video (.avi, etc.) ?
There was a user that implemented a video player with irrlicht. It had a project too (3d theater playing video with music and 3d characters inside too). Cannot find right now, someone more luck with diggin ?
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: Is it possible to play a video (.avi, etc.) ?
Hm, you mean that one I guess: http://irrlicht.sourceforge.net/forum/v ... =6&t=39695
I remember 3D and sound - not sure if it had video.
I remember 3D and sound - not sure if it had video.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm