[FFmpeg-devel] Thirdparty audio codec integration

Michael Niedermayer michael at niedermayer.cc
Wed Apr 6 10:21:20 CEST 2016


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 are getting proper
> input to the decoder.
> The decoder process the data and fill with "float" values, which will be
> required to use by rendering as float data.
> My query is, what flags need to set from the decoder level so that the
> rendering will understand the data is float.

Why would a decoder that reads integer PCM from a bitstream output
float ?
Of course it could but what are you trying to do here ?


> 
> 
> Regards,
> Suresh.
> 
> On Tue, Apr 5, 2016 at 7:14 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 
> > Suresh Kumar <vskumar19 <at> 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 mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160406/485b5d61/attachment.sig>


More information about the ffmpeg-devel mailing list