To codify many formats of video to Theora

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Posts: 20
Joined: Sun Jan 23, 2005 12:36 am

To codify many formats of video to Theora

Post by sargar »


Proving the videoplugin of pjcast, I have had to look for a form to turn archives of video type avi or mpeg to format theora. I use Linux.

My solution: VLC (

It is a visualizer freeware, multiplatform and understands many formats of audio and video.

It has many additional characteristics. For example, to turn archives of video to theora, it is possible to be made:

vlc <file_in.extension> --sout

Most of the cases, ogg would have to create a file (file_out.ogg) that understands theora.

If there is some problem, in linux ' ogginfo' gives information of the file, and a idea that what is bad.

A greeting,

User avatar
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2

Post by pjcast »

Just for some other info on this...

ffmeg2theora works pretty well on Windows at least. I usually run it with these settings ffmeg2theora -v 7 -a 3 some.mpeg
There are problems if you encode with a quality too high.. My plugin will not be able to keep up with bitrate - and theora also has issues.

There is also an example encoder with theora - only problem, it takes raw YUV video frames. So you have to use something like mplayer, and pipe the output to 2 FIFO files (one audio and one video). Because of some sync issues (which might be resolved now), you'll need two mplayer instances running. So, this requires a few terminals, or use of &. Anyway's, I forget the exact commands for this, and don't reccommend doing that.

Some other (untested from me) - some of these are dvd rippers - most are for linux

There are more listed over at too.
Have a question about Input? Video? WGE? Come on over...

User avatar
Posts: 220
Joined: Mon May 31, 2004 5:54 am
Location: Canada

Post by IoN_PuLse »

Yeah I'd suggest FFMpeg, because it's a library used for decoding many formats and is used in very nice video applications such as mplayer...

Post Reply