You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I just tried using the package, and it works great when I supply a string of a filename, but as soon as I pass in a stream it crashes the process with the above error.
Here's a minimum reproducible example:
fpcalc(fs.createReadStream('rickroll.webm'), function (err, result) {
if (err) {
console.log('error!', err);
}
console.log(result.file, result.duration, result.fingerprint);
});
The full error is:
Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)
error Command failed with exit code 1.
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered:
and it works now. Not sure if that's a good solution though or if there is something causing the error that we should fix? Would be great if someone who knows more about this type of error could weigh in.
Hi. I just tried using the package, and it works great when I supply a string of a filename, but as soon as I pass in a stream it crashes the process with the above error.
Here's a minimum reproducible example:
The full error is:
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: