El 29/08/18 a las 04:22, Ramana Jajula escribió:
Hi, I am trying to get back the original audio mp3 file by audio
encoding. I have got the .bin file by doing the audio decoding(.mp3
file) first. Now I want to get back the .mp3 file by doing audio
encoding. Here is the file for audio decoding my_audio_decoding.c
<https://codepad.co/snippet/NeHLFtzR>.(took 2 args input file and
output file). Now I am doing audio encoding, file below:
fwrite(pkt->data, 1, pkt->size, output);
It was already pointed to you that you are not using libavformat to do
the encoding as you are relying on stdio functions.
Look for the examples with av_interleaved_write_frame() to do it properly.
--
Gonzalo Garramuño
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user