The svg
adapter is part of OpenTimelineIO's core adapter plugins.
It renders a svg representation of an otio file.
Points in calculations are y-up. Points in SVG are y-down.
The following features of OTIO are supported by the svg
adapter:
Feature | Support |
---|---|
Single Track of Clips | ✔ |
Multiple Video Tracks | ✔ |
Audio Tracks & Clips | ✔ |
Gap/Filler | ✔ |
Markers | ✔ |
Nesting | ✖ |
Transitions | ✔ |
Audio/Video Effects | N/A |
Linear Speed Effects | N/A |
Fancy Speed Effects | N/A |
Color Decision List | N/A |
Image Sequence Reference | ✖ |
The svg adapter adds a couple of optional arguments to the write_to_string()
function to set the
size of the rendered image
write_to_string(input_otio, width=2406.0, height=1054.0)
OpenTimelineIO and the "svg" adapter are open source software. Please see the LICENSE for details.
Nothing in the license file or this project grants any right to use Pixar or any other contributor’s trade names, trademarks, service marks, or product names.
If you want to contribute to the project,
please see: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html
Please also read up on testing your code
in the "getting started" section of the OpenTimelineIO plugin template repository.
For more information, please visit http://opentimeline.io/ or https://github.com/AcademySoftwareFoundation/OpenTimelineIO or join our discussion forum: https://lists.aswf.io/g/otio-discussion