TooTallNate / node-lame

Node.js native bindings to libmp3lame & libmpg123
MIT License
567 stars 113 forks source link

Decoder fail #108

Open ItzArty opened 2 years ago

ItzArty commented 2 years ago
/home/tester/Desktop/TS3Bot/node_modules/@suldashi/lame/lib/decoder.js:62                                                                                                                                                                   
    throw new Error('mpg123_open_feed() failed: ' + ret);                                                                                                                                                                                   
    ^                                                                                                                                                                                                                                       

Error: mpg123_open_feed() failed: -1                                                                                                                                                                                                        
    at new Decoder (/home/tester/Desktop/TS3Bot/node_modules/@suldashi/lame/lib/decoder.js:62:11)                                                                                                                                           
    at Object.<anonymous> (/home/tester/Desktop/TS3Bot/index.js:5:51)                                                                                                                                                                       
    at Module._compile (node:internal/modules/cjs/loader:1119:14)                                                                                                                                                                           
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)                                                                                                                                                                    
    at Module.load (node:internal/modules/cjs/loader:997:32)                                                                                                                                                                                
    at Module._load (node:internal/modules/cjs/loader:838:12)                                                                                                                                                                               
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)                                                                                                                                                   
    at node:internal/main/run_main_module:18:47                                                                                                                                                                                             

Node.js v18.8.0

Ive got this error by just trying to pipe readStream of my mp3 to the decoder, after a quick search it seems like not even Jesus saw this one coming, any idea what it could be?