Audioconvert from INT16bits to FLOAT64bits
Sébastien FENET
sebastien.fenet at yahoo.fr
Sun Sep 20 06:11:51 PDT 2015
Thanks for your answer. I've filed a bug.
Best,Sébastien.
De : Sebastian Dröge <sebastian at centricular.com>
À : Sébastien FENET <sebastien.fenet at yahoo.fr>; Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Envoyé le : Samedi 19 septembre 2015 17h51
Objet : Re: Audioconvert from INT16bits to FLOAT64bits
On Fr, 2015-09-18 at 17:47 +0000, Sébastien FENET wrote:
> Hi all!
>
> I'm using GStreamer 1.0 under Python (through PyGI).
> I have a little issue with audioconvert.
>
> I want to convert some S16LE samples to F64LE.
>
> As far as I know, this should simply be a division by 2**(16-1).
>
> For a strange reason, the factor used in Audioconvert is slightly
> lower (something like 1+5e-10 times lower).
>
> The result is that the output signal may have samples greater than 1
> (I think I'm not the only one to observe this: get gstreamer
> audioconvert to output signed 32-bit floats from -1 to 1)
>
> Does anyone know why Audioconvert would do such a thing? Am I missing
> something?
Can you report a bug about that here?
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
For now I would say that it shouldn't really do that, but needs closer
investigation
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150920/5d9faf8f/attachment-0001.html>
More information about the gstreamer-devel
mailing list