4

I have an Axis camera that provides an audio stream that is aac encoded. I would like to find a possibility to decode that stream in Python to further process the raw audio data. Does anybody have suggestions how that could be done?

Thanks!

1 Answer 1

3

You can use pydub to convert an aac audio to datasegment and then process it further.

from pydub import AudioSegment
from pydub.playback import play

#convert audio to datasegment
sound = AudioSegment.from_file("your/path/to/audio.aiff", "aac") 
play(sound)  #play sound

Lots of other data manipulation using pydub is available here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.