Blender 3D: Noob to Pro/Creating Ogg-Theora movies using Blender

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Wikimedia Commons requires that movies be uploaded as Ogg-Theora (OGG) files. As of Blender 2.42a, this is not a builtin feature of Blender. To get OGG files from your finished animation isn't difficult, though. However, you'll need additional software.

There are basically two ways to generate OGG files: you can use one of the many fine video editors or you can use special conversion programs. Video editors like LiVES or Cinerella allow you to load your AVI or your rendered frames, manipulate them, and create the OGG file from it. Please refer to the editor's documentation on how to achieve this.

A disadvantage of a video editor is they are huge pieces of software, duplicating functionality that you already used when you created your animation file/s with blender. It's actually not necessary to install a video editor just for converting your animation to OGG Theora format.

[edit] Converting AVIs directly to Ogg Theora

To convert AVI to OGG, you can use the ffmpeg2theora software package which is available in source or binary for all relevant systems. Usage example:

ffmpeg2theora --optimize my.avi

[edit] Converting saved frame picture files to Ogg Theora

It's actually possible to convert frame pictures that you saved before to OGG format movies. All you need to do is create a movie format that the abovementioned ffmpeg2theora tool understands, and then use that. On Linux, this is readily achieved by using the mjpegtools software package. For example, if your frames were saved as PNG, you could convert them to a soundless OGG file with:

png2yuv -I p -f 25 /tmp/*.png >my.yuv
ffmpeg2theora --optimize my.yuv

Sound is possible too. Please refer to the mjpegtools documentation.

Personal tools
Create a book