This repository serves as a minimal example of using OpenTimelineIO in a C++ application.
Allowable use of the code in this repository includes copying and pasting portions into your own projects without attribution.
To get started, use git to clone this repository:
git clone --recurse-submodules https://github.com/OpenTimelineIO/otio-cpp-example.git
cd otio-cpp-example
...then build it:
mkdir build
cd build
cmake ..
cmake --build .
...and run it:
./otio-cpp-example ../example.otio
Please also consult with the OpenTimelineIO documentation for more information about OpenTimelineIO in general.
Good luck and happy coding!
A simple automation script is available in the .github/workflows
folder which
builds and runs the example program on Linux, macOS, and Windows.
If you have any suggested changes to the template repository itself, please provide them via pull request or create an issue as appropriate.
All contributions back to the template repository must align with the contribution guidelines of the OpenTimelineIO project.