How to add a video to Ogre Project

Get answers to all your basic programming questions. No Ogre questions, please!
Post Reply
Uma
Gnoblar
Posts: 23
Joined: Fri Mar 28, 2014 8:01 am

How to add a video to Ogre Project

Post by Uma » Mon May 12, 2014 9:55 am

Hi,

I want to load a video stream (mp4 or avi) to Ogre. I use Visual Studio 2010 an Ogre 1.8 version

I try to use Theora plugin describe as this link "http://www.ogre3d.org/tikiwiki/TheoraVi ... +Compiling". But I can not properly download ogg, vorbis, theora, ptypes, TheoraVideoPlugin libraries. :oops:

If someone can reply me with direct download links for these libraries or with a link which includes proper guidelines or easy method to download and install these libraries, i will be very pleased.

Thanks in Advance.
0 x

User avatar
c6burns
Beholder
Posts: 1511
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines

Re: How to add a video to Ogre Project

Post by c6burns » Mon May 12, 2014 4:41 pm

If you are having trouble managing dependencies like ogg/vorbis then video is going to be a real problem for you. The other options you have beyond theora based would be ffmpeg based (tricky to use in visual studio) and directshow (directx as dependency, but windows only).

If you don't need cross platform, try directshow. I'm sure you will find a video project for ogre based on that.
0 x


Post Reply