derelict-theora 1.0.0

A dynamic binding to the libtheora library.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

DerelictTheora

A dynamic binding to libtheora for the D Programming Language.

For information on how to build DerelictTheora and link it with your programs, please see the post Using Derelict at the The One With D.

For information on how to load the libtheora library via DerelictTheora, see the page DerelictUtil for Users at the DerelictUtil Wiki. In the meantime, here's some sample code.

// Import all of the libtheora modules
import derelict.theora.theora;

/*
Alternatively, you can do the following:
import derelict.theora.codec;
import derelict.theora.theoraenc;
import derelict.theora.theoradec;
*/

void main() {
    // Load the base codec library;
    DerelictTheora.load();

    // Load the libtheoradec library for decoding a video
    DerelictTheoraDec.load();

    // Load the libtheoraenc library for encoding a video
    DerelictTheoraEnc.load();

    // Now libtheora functions can be called.
    ...
}
Authors:
  • Mike Parker
Dependencies:
derelict-util, derelict-ogg
Versions:
2.0.0-beta.1 2017-Jun-04
2.0.0-alpha.2 2017-Apr-16
2.0.0-alpha.1 2017-Apr-16
1.0.2 2016-Oct-17
1.0.1 2015-Jan-04
Show all 9 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 391 downloads total

Score:
0.9
Short URL:
derelict-theora.dub.pm