1

I'm looking to use Python to convert audio that's in PCM (G.711U to be specific) to AAC so it can be streamed using HLS. What options are there for doing this conversion in memory so the streaming can be continued in real-time.

Dave Johansen
  • 889
  • 1
  • 7
  • 23

1 Answers1

1

Low level access to ffmpeg with a python binding should do it.

I'd try https://github.com/kkroening/ffmpeg-python

Markus Schumann
  • 7,636
  • 1
  • 21
  • 27
  • This appears to be a wrapper around running `ffmpeg` commands and doesn't give access to the raw data that I can feed into it and get back out – Dave Johansen May 09 '22 at 15:34