OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: TheoraVideoPlugin Compiling
View page
Source of version: 2
(current)
{maketoc} !!Dependencies Before you can compile the plugin and demos, you'll need the following libraries compiled !!!Ogg,Vorbis and Theora Downloading and compiling these libraries is a straightforward process, on Windows, open up the solution file in Visual Studio and build. Be sure to build Release versions to maximize performance of the plugin. Download the latest stable source packages from [http://xiph.org/downloads/|Xiph downloads page]. !!!ptypes The plugin uses C++ Portable types library ([http://www.melikyan.com/ptypes/|ptypes]) for threading. Download and compile the latest stable version (2.1.1 at the time of writing this) as a static multithreaded library. !!!Theora Video Plugin To obtain the latest trunk version of the plugin's source, do a SVN checkout {MONO()}http://ogrevideo.svn.sf.net/svnroot/ogrevideo/trunk{MONO} !!Compiling !!!Folder organisation To simplify dependencies on Microsoft Windows , include and lib directories, I suggest copying dependencies include folders and lib files to TheoraVideoPlugin/ __include__ and __lib__ folder: {MONO()}~np~ libogg/include/ogg -> TheoraVideoPlugin/include/ogg libvorbis/include/vorbis -> TheoraVideoPlugin/include/vorbis libtheora/include/theora-> TheoraVideoPlugin/include/theora ptypes-2.1.1/include -> TheoraVideoPlugin/include/ptypes libogg.lib, libvorbis.lib, libtheora.lib, ptypes.lib -> TheoraVideoPlugin/lib~/np~{MONO} !!!Compiling order compile the libraries in the following order: ogg, vorbis, theora, ptypes, TheoraVideoPlugin, demos (optional) !!!Prerequisites The plugin project configuration assumes you have either the Ogre SDK or a self-compiled version. Either way, it's your job to set Ogre's include and lib directories for compilation. !!!Optimizations Theora library has recently introduced [http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions|SSE] and [http://en.wikipedia.org/wiki/SSE2|SSE2] optimizations which improve decoding speed but is incompatible with older hardware. It's up to you to decide whether you want to use them. !!!Windows Open up the solution file, select a target (Debug, Release etc) and build. !!!Linux No official compiling scripts available yet. !!!MacOS X No official compiling scripts available yet.
Search by Tags
Search Wiki by Freetags
Latest Changes
One Function Ogre
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
...more
Search
Find
Advanced
Search Help
Online Users
172 online users