Hi<br><br>I have decoded the nellymoser audio coded data using ffmpeg using avcodec_decode_audio3 function and I got the pointer with the raw data but the other metrices like sampling rate, bit rate all returning the default values. Nevertheless, i have saved that raw data into the file.<br>
<br>Now, i want to encode that decoded data in to wav format so i haved used the ffmpeg example to encode it using avcodec_encode_audio function, but it is not bale to encode and retunr the error invalid sample_fmt.<br><br>
I am not able to track the issue. Can someone help me out to tackle it. <br><br>If i use the same code to convert this raw data into mp3, i got the mp3 with some weird noise instead of the correct one. <br><br>So, i want to know if this the problem with decoded data or something else.<br>
<br>How can i validate that the decoded data is correct as i cant play it in any player is there any way to do the validation.<br><br>Thanks<br>Nitin<br>