Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-06 Thread Michael Niedermayer
On Wed, Apr 06, 2016 at 10:49:06AM +0530, Suresh Kumar wrote: > Hello Carl, > > Thank you for your reply. > > >>Did you look at the aresample filter and libswresample? > You mean to say resample filter is required before/after our decoder? > Our audio PCM decoder is expecting signed 16/24 bit. We

Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-06 Thread Kieran Kunhya
On Wed, 6 Apr 2016 at 09:22 Michael Niedermayer wrote: > On Wed, Apr 06, 2016 at 10:49:06AM +0530, Suresh Kumar wrote: > > Hello Carl, > > > > Thank you for your reply. > > > > >>Did you look at the aresample filter and libswresample? > > You mean to say resample filter is required before/after o

Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-06 Thread Michael Niedermayer
On Wed, Apr 06, 2016 at 10:49:06AM +0530, Suresh Kumar wrote: > Hello Carl, > > Thank you for your reply. > > >>Did you look at the aresample filter and libswresample? > You mean to say resample filter is required before/after our decoder? > Our audio PCM decoder is expecting signed 16/24 bit. We

Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-05 Thread Suresh Kumar
Hello Carl, Thank you for your reply. >>Did you look at the aresample filter and libswresample? You mean to say resample filter is required before/after our decoder? Our audio PCM decoder is expecting signed 16/24 bit. We are getting proper input to the decoder. The decoder process the data and f

Re: [FFmpeg-devel] Thirdparty audio codec integration

2016-04-05 Thread Carl Eugen Hoyos
Suresh Kumar gmail.com> writes: > Currently i am integrating third party PCM decoder, where > the input of the decoder function should be s16/s24 and > output will be of float type. Did you look at the aresample filter and libswresample? Carl Eugen ___

[FFmpeg-devel] Thirdparty audio codec integration

2016-04-05 Thread Suresh Kumar
Hello, Currently i am integrating third party PCM decoder,where the input of the decoder function should be s16/s24 and output will be of float type. In Init function, i have updated,avctx->bits_per_raw_sample = 32 and in decode_frame function, i have updated the AVFrame->format to AV_SAMPLE_FM