How would I merge opus streams
I would like to merge two opus streams or move into one to play in a vc.
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!this is not something you would do with
@discordjs/voice
, @discordjs/opus
, or opusscript
for that matter
I'm willing to believe this can be done with ffmpeg, but the options required would be something to googleI believe you can use ffluent-ffmpeg. It's a helpful package
stroos is right, with fluent-ffmpeg and something like https://github.com/t-mullen/fluent-ffmpeg-multistream you can have multiple inputs that get merged into a single output
GitHub
GitHub - t-mullen/fluent-ffmpeg-multistream: Multiple stream inputs...
Multiple stream inputs/outputs in fluent-ffmpeg. Contribute to t-mullen/fluent-ffmpeg-multistream development by creating an account on GitHub.