- [FFMpeg] (https://ffmpeg.org/legal.html)
- [cmake-js] (https://github.com/cmake-js/cmake-js)
- [cmake-node-module] (https://github.com/mapbox/cmake-node-module/tree/master)
-
Windows 10 x64 (not tested on other platforms)
-
CMake 3.9 or above
-
Visual Studio 2017/2019
-
nodejs 12.x.x or above
uncompress libsdl2*.zip & ffmpeg*.zip to electron-ffplay/.third-party/prebuilt
put .third_party/prebuilt/bin[/x64]/*.dll in electron-ffplay/
# get electron-ffplay source
cd electron-ffplay
# install dependencies
npm i
# build addon
npm run configure:ffplay
npm run build:ffplay
# run
npm run dev