ffprobe
ffprobe copied to clipboard
Spawn error after packaging
Hi,
Just after compilation with electron-builder,
I get this error in my app from ffprobe
Uncaught Error: spawn C:\Users\Anymord\AppData\Local\Temp\nsuFBDD.tmp\app\resources\app.asar\node_modules\ffprobe-static\bin\win32\x64\ffprobe.exe ENOENT
at exports._errnoException (util.js:1022)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193)
at onErrorNT (internal/child_process.js:359)
at _combinedTickCallback (internal/process/next_tick.js:74)
at process._tickCallback (internal/process/next_tick.js:98)
Here is my setup : From my package.json
"dependencies": {
...
"ffprobe": "^1.1.0",
"ffprobe-static": "^2.0.0",
...
}
In a script called by index.html
const ffprobe = require('ffprobe')
const ffprobeStatic = require('ffprobe-static')
and the call
ffprobe(item.filePath, {
path: ffprobeStatic.path
}, function (err, info) {
What did I missed ?
Thanks for your support !
Hmm just read the log more carefully, it seems the problem is more with ffprobe-static...
@X-Raym .flv and .webm file not returning duration metadata. i tired with .mp4, .divx, .mov, .3gp, mkv, ogv every others extension working fine but .flv and .webm doesn't returning duration info......