electron - how to use ffmpeg within an electron app

前端 未结 3 1247
南旧
南旧 2020-12-28 19:52

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

3条回答
  •  萌比男神i
    2020-12-28 20:22

    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

提交回复
热议问题