[Libav-user] How to read the pcm file to get back the original audio mp3 file?

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Sep 3 14:37:55 EEST 2018


2018-09-03 13:26 GMT+02:00, Ramana Jajula <ramana.jajula9 at gmail.com>:

> I have a .pcm file created by audio decoding(passing mp3 file as input).
> Now I want to get back the audio mp3 file(input file of decoding.c) by
> passing this .pcm file as input to the encoding.c code.

This may be a misunderstanding, but since mp3 is (always) a lossy
codec, you cannot get the exact mp3 file back.

Carl Eugen


More information about the Libav-user mailing list