<div dir="ltr"><div>Hi,<br>I am writing an audio transcoding application using ffmpeg libraries. 
<br><br>Here is my code - <a href="http://pastebin.com/6aaa8C53">http://pastebin.com/6aaa8C53</a><br><br></div><div>The input file i used was - <a href="https://stream-m.googlecode.com/files/univac.webm">https://stream-m.googlecode.com/files/univac.webm</a><br>

<br></div><div>The output file is playable and its of the same duration as the  input file.<br></div><div>But its completely noisy. <br></div><div>I guess I am not handling the pts and dts properly..! but dont know how to do it.!<br>

</div><div>I checked the example folder of ffmpeg sources. But I am not able to figure where i went wrong.</div><div>Can someone tell me where I am doing it wrong..!<br clear="all"></div><div><br><br>-- <br>Vinod<br><br>
</div>

</div>