Thanks for the good job.
I have a processing task with ffmpeg like follows:
ffmpeg -i input.wav -ar 16000 -ac 1 -af loudnorm=I=-23 -acodec pcm_s16le output.wav
in this process, it takes resample, rechannel, volume normalize and codec [from PCM24 to PCM16].
but now I want this process to be in memory, which means the input, or the output [or maybe both] is a numpy-array or some other in memory array data, instead of a file in disk, How to make such a process? thanks
Thanks for the good job.
I have a processing task with ffmpeg like follows:
ffmpeg -i input.wav -ar 16000 -ac 1 -af loudnorm=I=-23 -acodec pcm_s16le output.wavin this process, it takes resample, rechannel, volume normalize and codec [from PCM24 to PCM16].
but now I want this process to be in memory, which means the input, or the output [or maybe both] is a numpy-array or some other in memory array data, instead of a file in disk, How to make such a process? thanks