TrevorSundberg / gifygram

A stupid website for animating images on top of videos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Would you mind pointing out where the WASM code is?

iMuzz opened this issue Β· comments

πŸ‘‹ Saw your post on HN! Wanted to check out the wasm parts. Mind pointing it out? πŸ™

Hi Faraaz,

I didn't mean to suggest that I had done any wasm compilation for this
project, so much as I imported libraries that used wasm (like
https://github.com/ffmpegjs/ffmpeg.js).

I will say on further investigation even though the tagline for ffmpeg.js
is "FFmpeg for browser and node, powered by WebAssembly", if I'm reading
the source code correctly it by default loads @ffmpeg/core in this logic:

https://github.com/ffmpegjs/ffmpeg.js/blob/cc48926a23755ac21d0334156dba91316cc0a769/src/worker-script/node/getCore.js#L5

...which is not in fact WebAssembly, however
@ffmpeg/core-wasm is.

A last note, if you have any questions I'm free to ask. I'm actually very
familiar with the WASM and Emscripten pipelines. Take care!

Gotcha β€” makes sense. Thanks Trevor. Really cool project! :)