node.js - Sox cannot determine type of file -
i'm using node js , express sox node bindings. have temporary uploaded file need identify, since file not have extension, sox gives me error:
sox.identify(file, function(err, info) { if (err) { console.log(err) throw(err) } });
sox fail formats: can't determine type of file c:\users\user\documents\project\media\temp\riqdeq15151sf14fwa
i'm using multer saving uploaded file temporarily. there anyway have sox identify file though doesn't have extension?
sox file type not determined extension of file. review file check whether having appropriate format or whether file downloaded correctly.
review page developers on sox format support - http://sox.sourceforge.net/soxformat.html
Comments
Post a Comment