c++cogg-theora

How to write bitmaps as frames to Ogg Theora in C\C++?


How to write bitmaps as frames to Ogg Theora in C\C++?

Some Examples with source would be grate!)


Solution

  • Here's the libtheora API and example code.

    Here's a micro howto that shows how to use the theora binaries. As the encoder reads raw, uncompressed 'yuv4mpeg' data for video you could use that from your app, too by piping the video frames to the encoder.