subscribe a connection and convert pcm buffer response to mp3
Hi !
I want to convert this result :
to mp3.
Please help me thanks !
2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.I'm djs v14
all my code :
thanks I'm trying
receiver.on('end', () => {
this event
do not active
its etrangly
I dont find in the doc's classes
OHHH YES
ok so
I need to stop the stream and then, this event will start :
receiver.on('end', () => {
like that ?
connection.receiver.unsubscribe()
Ok I try
okay and after how to stop the subscriber to enter in the receiver.on("end" ? and collect my speak to convert the pcm to mp3 ?
oh okay
if I have good undertood, I must to define in a second parmeter this :
after, when the speaking will end, It will collect my speaking and convert it in mp3 format ?
Thanks !
I use ffmpeg to convert pcm to mp3 but it isn't working.
Are there possibilities to have a mp3 check in immediatly ?
like : ?
I do this for the data.
but idk how to pipe this and what's his utility
Oh so :
could you let me see an exemple with the best module please
because this module may do not work at best
oh ok np
I try w/ ffmpeg
rip