John
John

Reputation: 31

FFMPEG and MP3. How decode

How to decode mp3 audio using ffmpeg (using the API)? If not complicated - example code?

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

Upvotes: 3

Views: 2492

Answers (1)

Infiniti Fizz
Infiniti Fizz

Reputation: 1726

It's nice to go all the way through the tutorials but this part of the tutorial deals with decoding audio (although I am currently having a problem with it as avcodec_decode_audio3() is the updated version of avcodec_decode_audio2()).

Hope it helps,

Infinitifizz

Upvotes: 1

Related Questions