-
-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello,
This is not a specific report or request. More like a communiqué.
I'm the author of libav.js, which is essentially the browser/WebAssembly version of the same project. It's not infrequent that I get people using libav.js only because there is or was nothing better at the time for Node, so I appreciate a similar project for Node existing.
Unfortunately, while our goals our the same, our APIs could not be more different. Mine is lower level, directly exposing pointers (well, WebAssembly addresses, so quasipointers), and is mostly a reflection of the C API. It has no classes, but is also asynchronous (part of why it has no classes), so that the actual work can be done on WebWorkers and/or with threads.
What I'm wondering is if there's any enthusiasm from you, me, or users to bridge the gap. Perhaps a cross-compatible API could be developed, perhaps a compatibility layer for one or the other, or perhaps TransAVormer, which already bridges the gap between libav.js and WebCodecs, could bridge more gaps.
As I said, I have no specific report or request. I just wanted to create this issue to open the discussion, if there's a discussion to be had.