Re: [Libav-user] Audio decoding error

2014-05-10 Thread Ankush
rmat, libavutil, libavdevice and libavfilter." Subject: Re: [Libav-user] Audio decoding error Hi Ankush, Try using AV_CODEC_ID_MP3 rather than AV_CODEC_ID_MP2 , I have implemented the MP3 Decoder using ffmpeg and it is working fine. Let me know if you have any further problem n please s

Re: [Libav-user] Audio decoding error

2014-05-09 Thread Tushar Paithankar
Flow will be like this avcodec_register_all(); avcodec_find_decoder(AV_CODEC_ID_MP3) avcodec_alloc_context3 avcodec_open2 // check this function is available in your code Thanks Tushar On 9 May 2014 16:41, Tushar Paithankar wrote: > Hi Ankush, > > Try using AV_CODEC_ID_MP3 rather tha

Re: [Libav-user] Audio decoding error

2014-05-09 Thread Tushar Paithankar
Hi Ankush, Try using AV_CODEC_ID_MP3 rather than AV_CODEC_ID_MP2 , I have implemented the MP3 Decoder using ffmpeg and it is working fine. Let me know if you have any further problem n please share issue in detail.. Thanks Tushar On 9 May 2014 09:01, Ankush wrote: > I am currently trying

[Libav-user] Audio decoding error

2014-05-08 Thread Ankush
I am currently trying to read the audio samples from a video file. I tried the sample code provided in the examples section decoding_encoding.c and i only changed the avcodec_find_decoder(AV_CODEC_ID_MP2) to avcodec_find_decoder(pCodecCtx->codec_id), everything works fine with this till i reac