You basically wrote raw PCM into a plain file. That file is not usable without 
the right header. Here is a link to most plain audio format in which you can 
dump your raw PCM data after you write the header. 
http://soundfile.sapp.org/doc/WaveFormat/

From: Ramana Jajula
Sent: Thursday, August 23, 2018 12:43 PM
To: [email protected]
Cc: [email protected]
Subject: [Libav-user] How to get back the original audio file

Hi, I have created a .bin file through audio decoding. Now I want to get back 
my original audio file(which is input to the audio decoding file). I have gine 
through the ffmpeg docs, but I didn't get nothing. Could anyone explain how to 
get my file back. You can see my audio decoding file here. 
https://ideone.com/fork/8xmNNb

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to