Hi 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.
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. I am not able to track the issue. Can someone help me out to tackle it. 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. So, i want to know if this the problem with decoded data or something else. 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. Thanks Nitin
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
