electron - how to use ffmpeg within an electron app

前端 未结 3 1243
南旧
南旧 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条回答
  •  粉色の甜心
    2020-12-28 20:21

    Disclaimer: This is a shameless plug for ffbinaries Node module and ffbinaries.com API I created.

    I was looking for the answer to this a while ago and couldn't find anything useful. I decided to put something together myself and thought I'd come back here in case you still need it.

    I created ffbinaries downloader to achieve this. I just started this two nights ago so might be still lacking but give it a try.

    Still very much work in progress, currently (at 0.0.12) it doesn't set permissions on the file yet but it downloads the required binaries just fine.

    Edit: ffbinaries has reached version 1.0.0 milestone a while back - nice, stable and it does set permissions correctly :)

提交回复
热议问题