ffplay in my working folder (in
bin subfolder) using
ffbinaries (ffbinaries downloader). My current platform is
var spawn = require('child_process').spawn,
player = spawn('./bin/ffplay', ['http://path_to_video_file']);
but got an error in terminal stderr:
./bin/ffplay: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory child process exited with code : 127
…Or how can I get all of ffplay possibilities for playing videos inside Electron app?
Thanks in advance!