Wednesday 22 May 2019

I need some help with audio streams

So I'm making a discord bot, and what I want is to play a song, and then at any moment while that song is playing, an audio filter on that song could be changed. Some issues:​I cannot really save anything to disk, everything is done with readable/writable streamsI need to be able to change the ffmpeg settings partway through playback​My idea was to have one ffpmeg process decoding the audio, and then taking the stream output of that and piping each chunk to ffmpeg with options read from a global variable, so if i change the variable, the next chunk gets processed with the new options. Any ideas that could help me with this?

Submitted May 22, 2019 at 01:42PM by thatonegamer999

No comments:

Post a Comment