Sign in to follow this  
Nairou

Video to Texture on Linux

Recommended Posts

I'm currently trying to find a platform-independent method of rendering video files (AVI or other) to a texture. After searching these forums, I've found only two results: use DirectShow, or use the NeHe method, which uses Video For Windows. Both are Windows-specific. So... what about Linux games? If you are developing for Linux, how then would you go about rendering a video? Is there any such standard or library that most Linux game developers use? Or are they always forced to decode the video file manually?

Share this post


Link to post
Share on other sites
Quote:
Original post by Nairou
I'm currently trying to find a platform-independent method of rendering video files (AVI or other) to a texture. After searching these forums, I've found only two results: use DirectShow, or use the NeHe method, which uses Video For Windows. Both are Windows-specific.

So... what about Linux games? If you are developing for Linux, how then would you go about rendering a video? Is there any such standard or library that most Linux game developers use? Or are they always forced to decode the video file manually?


I only know about this project.

I recommend you to use another format for cross-platform video, because AVI is a proprietary format, and it's meant for Windows only.

Share this post


Link to post
Share on other sites
AVI is proprietary? Very interesting. I'm certainly not opposed to using another format, as long as the quality/compression was decent, AVI is just the most common. Do you know offhand any good open video formats? I suppose there's a directory of video formats somewhere...

Share this post


Link to post
Share on other sites
Check out this thread here for my input on this.

I have uploaded a semi working plugin to the ogreaddons cvs (check out www.ogre3d.org) that plays ogg theora files minus audio. Or a windows demo of an OGRE Ogg Theora app here

As far as AVI's being proprietary, I don't think that is exactly true. AVI is only a container format (similar to ogg), and does not necessarily contain any video stream inside it. Almost any codec can be shoved inside an AVI - and some of those are proprietary/patented.

EDIT: fixed OGRE link

[Edited by - pjcast on August 18, 2004 1:57:49 AM]

Share this post


Link to post
Share on other sites
Wow... Theora looks VERY promising. And I've never even heard of it. :) I'll definitely have to keep an eye on that project, it could prove to be just what I'm looking for. Thanks!

Share this post


Link to post
Share on other sites
Looking through the Theora site (www.theora.org), I'm curious if it is still in active development? Many of the website links no longer work, and the mailing list archives ended back in May. Theora looks very promising, I certainly hope it hasn't died.

Share this post


Link to post
Share on other sites
Nah, they havn't died. It is common that their website isn't updated that often. And as for their lists, I don't know, I guess they stopped using those. They hang around irc.freenode.net in #theora channel quite often. Progress is a little slow but the more people that get involved will hopefully add momentum to the project.

Share this post


Link to post
Share on other sites
you could use avilib+xvid, thats very easy to handle and is cross platform. im using this on windows and linux with c#/.net.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this