Is there any way to play AVI in Irrlicht v1.3?
-
- Posts: 14
- Joined: Wed Jul 04, 2007 4:57 am
Is there any way to play AVI in Irrlicht v1.3?
Magic Library only works with v1.1. Please help! Deadline nearing!
-
- Posts: 14
- Joined: Wed Jul 04, 2007 4:57 am
-
- Posts: 85
- Joined: Mon Jun 11, 2007 11:22 am
- Location: Damascus - Syria
- Contact:
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Hmm, yes, you're right. It's named VideoTexture.cpp, but it's still not there. I'll add it to the file format page.
Edit: I've now found the old link, was on the file format for 1.0 page - don't know why I did not update it for the latest patch pages... But now it's properly working for 1.3.1
Edit: I've now found the old link, was on the file format for 1.0 page - don't know why I did not update it for the latest patch pages... But now it's properly working for 1.3.1
Last edited by hybrid on Fri Aug 03, 2007 11:21 pm, edited 1 time in total.
Cool can you tell us more about it what does it use for playing the videos is it both dx and opengl (Or opengl only?). What codecs are supported, does it load sound also and what video sizes are supported (Some I tried in the past couldn't load more than 300x700 ish video size).hybrid wrote:Hmm, yes, you're right. It's named VideoTexture.cpp, but it's still not there. I'll add it to the file format page.
Edit: I've now found the old link, was on the file format for 1.0 page - don't know why I did not update it for the latest patch pages... But now it's properly working for 1.3.1
Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 14
- Joined: Wed Jul 04, 2007 4:57 am
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The code is not using any special hardware acceleration, so it works with all drivers. There are also no size restrictions, the texture can be created at the necessary size after opening the video (I'm currently doing either 512x512 or 1024x1024, but you can adjust these to better values).
Hmm, I just saw that although avifile uses win32-codecs it is not available under windows So I guess I'll have to merge with Emil Halim's windows code to make it more portable. Any other suggestions for portable video libraries?
Hmm, I just saw that although avifile uses win32-codecs it is not available under windows So I guess I'll have to merge with Emil Halim's windows code to make it more portable. Any other suggestions for portable video libraries?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
As I just said: No, it does not work under Windows, because the avifile library is not ported to Windows. But Emil Halim posted a video player once which uses win32-api methods to play avi. And doesn't Acki also provide a movie player? Just use the search function for the forum. I haven't bookmarked any of the solutions because they are IMHO all not portable.
This works (only) on Windows platform.
http://home.wanadoo.nl/iherweij/download/AVIPlayer.zip
Should work on Irr 1.3
You can remove the Audiere stuff if you don't need it.
See this old thread for more background information:
http://irrlicht.sourceforge.net/phpBB2/ ... ght=#86708
http://home.wanadoo.nl/iherweij/download/AVIPlayer.zip
Should work on Irr 1.3
You can remove the Audiere stuff if you don't need it.
See this old thread for more background information:
http://irrlicht.sourceforge.net/phpBB2/ ... ght=#86708