derelict-theora 2.0.0-beta.1

A dynamic binding to libtheora.


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 version 1.1 for the D Programming Language.

Please see the sections on Compiling and Linking and The Derelict Loader, in the Derelict documentation, for information on how to build DerelictTheora and load libtheora at run time. In the meantime, here's some sample code.

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

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

void main() {
    // Load the libtheora codec library and its companion encoding and decoding libaries
    DerelictTheora.load();
    DerelictTheoraEnc.load();
    DerelictTheoraDec.load();

    // Now libtheora functions can be called.
    ...
}
Authors:
  • Mike Parker
Dependencies:
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