In the last release (v0.31.0) electron comes with a statically linked FFMpeg library (not the command line tool, see #2588)
I am aware of the many nodejs modules for ffmpeg, but they all look like an api to the command line tool, so how can I ideally access the ffmpeg library bundled with electron and encode a stream?
This is currently not possible, since there is no decent
ffmpeg library for node.js. Meaning, there are only such that abstract the CLI. However it is possible to compile and link
ffmpeg as node native addon, which simply no-one seems to have done yet. So the advice, unfortunately, would be to write this kind of abstraction and include the lib into your electron build