<div dir="ltr">Hi Tushar Paithankar<div><br></div><div>Used mono clip(produced by audacity) for decoding purpose and again getting noise. My code is exact of the decoding_encoding.c except the main function. Can you provide me any tutorial?</div>
<div><br></div><div style>Regards</div><div style>Tariqul Islam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 4:19 PM, Tushar Paithankar <span dir="ltr"><<a href="mailto:p.tushar99@gmail.com" target="_blank">p.tushar99@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br><br>On Sunday, 28 July 2013, Tariqul Islam <<a href="mailto:tariqul.isha@gmail.com" target="_blank">tariqul.isha@gmail.com</a>> wrote:<br>
> Hello,<br>> I am new to ffmpeg coding. In ffmpeg source code, encoding decoding example is given in encoding_decoding.c. In this file while working with audio, a raw audio is created, then encoded, then decoded into a c file. What i am trying to do is to read from that C file, encode and thus reconstruct the previous audio file. But i am getting noise. <br>

><br>> Following Mr. Tusher's advice, i used exact code of encoding_decoding.c and decoded a mp2 file (Could not answer to that thread because subscribed after he answered. Sorry Mr. Tusher). But playing that decoded file, i am getting previous sound with heavy noise. Can anybody tell me what is the reason of it? To decode an audio file (mp2), is there any tutorial that i can follow???<br>

> Regrads,<br>> Tariqul islam<br>><br><br><br></div></div>Hi tariqul islam,<br><br>You first try to use mono clip for your encoding and decoding purpose,  as per your description I thnk your making mistake while reading data from the buffers.  In example they hv given for single channel mono audio. Plz let me know.  <br>

<br><br><br>Regards<span class="HOEnZb"><font color="#888888"><br>Tushar<br><br>-- <br>Sent from blackberry reliance<br>
</font></span><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>