Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ...

like image 998
John Avatar asked Apr 22 '26 03:04

John


1 Answers

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

like image 158
Infiniti Fizz Avatar answered Apr 24 '26 15:04

Infiniti Fizz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!