Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM/Javascript build of OpenTimelineIO #705

Open
ssteinbach opened this issue May 14, 2020 · 2 comments
Open

WASM/Javascript build of OpenTimelineIO #705

ssteinbach opened this issue May 14, 2020 · 2 comments
Assignees
Labels
language support Requests/enhancements for specific language bindings roadmap

Comments

@ssteinbach
Copy link
Collaborator

Would be nice to have a javascript compatible wrapping of the core library.

@reinecke reinecke added the language support Requests/enhancements for specific language bindings label Jul 1, 2020
@jminor
Copy link
Collaborator

jminor commented Feb 14, 2023

We recently had some discussions about this in Slack. I'm just copy/pasting the important bits here for wider visibility.

@JeanChristopheMorinPerso has done some promising work on building JS bindings to OTIO via WASM recently. He says:

I have opentime, Imath, serialization and deserialization functions, SerializableObject, SerializableObjectWithMetadata (including exchange of metadata between JS and C++), custom schema registration and subclassing working. These are all working pretty well (though I need to port the python unit tests to JS)

@rogernelson experimented with building opentime via emscripten.

JS + wasm bindings is something I'd be very interested in. One of the first things I did was emscripten bindings of the opentime library, just as a PoC to see if it would work (which it did). I used it to make a timecode calculator in running in the browser (not especially useful, just an exercise to make sure it worked).

There is a mostly-working WASM build of Raven, which includes OTIO.

Also, for reference.

@jminor
Copy link
Collaborator

jminor commented Feb 14, 2023

Also, we've been hearing second hand from people attempting to use OTIO in web-native contexts that the lack of Javascript bindings is leading developers to read/write OTIO JSON without using the OTIO API. We would like to discourage that route since it will inevitably lead to incorrect/mismatched behavior and version incompatibility.

@jminor jminor self-assigned this Jun 9, 2023
@jminor jminor added the roadmap label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language support Requests/enhancements for specific language bindings roadmap
Projects
None yet
Development

No branches or pull requests

3 participants