FFMPEG and MP3. How to decode

How to decode mp3 sound using ffmpeg (using API)? If not difficult - an example code?

PS I went to open the file, find the audio channels. then I don’t understand what to do ...

+3
source share
1 answer

It's nice to go through the entire training course, but this part of the tutorial is devoted to decoding sound (although at present I have a problem with it as avcodec_decode_audio3 () is an updated version of avcodec_decode_audio2 ()).

Hope this helps,

Infinitifizz

+1
source

All Articles