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
It's possible to bundle the precompiled static ffmpeg binary with an electron app; of course you'll have to make sure you bundle the correct binary with the correct distro. I have a complete answer here.