SpeexDSP AEC into ffmpeg api

Mike Orth <[email protected]> Wed, 16 Mar 2016 10:13:15 -0500
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <CANNOcJ85LwO-fGibaJYtJC3T60vpr2bw-UKKaesAViC_0Zr=Xg@mail.gmail.com>
--===============1069486960==
Content-Type: multipart/alternative; boundary=001a11c2d760f9d89c052e2bf306

--001a11c2d760f9d89c052e2bf306
Content-Type: text/plain; charset=UTF-8

I've looked at some partial examples and read in the pdf Manual that the
Acoustic Echo Canceller can be used outside of the speex codec as a
preprocessor.  I currently have a java app that uses the ffmpeg api for
live streaming. I'm exploring integrating echo cancellation & I'd like to
use the speexdsp AEC by mapping a javacpp library to communicate between
java & speex.  Audio quality is important, using  44.1/16 stereo.

Inserting AEC into the audio chain, it would be similar to:  Java (raw
audio bits) --> speexdsp AEC --> java --> ffmpeg --> server

My questions:

1) Is this possible/feasible?
2) would AEC return PCM audio at the same sample/bit rate at which it was
given?

Any other examples/information would be appreciated.

Cheers!

--001a11c2d760f9d89c052e2bf306
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;ve looked at some partial examples and read in =
the pdf Manual that the Acoustic Echo Canceller can be used outside of the =
speex codec as a preprocessor.=C2=A0 I currently have a java app that uses =
the ffmpeg api for live streaming. I&#39;m exploring integrating echo cance=
llation &amp; I&#39;d like to use the speexdsp AEC by mapping a javacpp lib=
rary to communicate between java &amp; speex.=C2=A0 Audio quality is import=
ant, using =C2=A044.1/16 stereo.</div><div><br></div><div>Inserting AEC int=
o the audio chain, it would be similar to: =C2=A0Java (raw audio bits) --&g=
t; speexdsp AEC --&gt; java --&gt; ffmpeg --&gt; server</div><div><br></div=
><div>My questions:</div><div><br></div><div>1) Is this possible/feasible?<=
/div><div>2) would AEC return PCM audio at the same sample/bit rate at whic=
h it was given?</div><div><br></div><div>Any other examples/information wou=
ld be appreciated.</div><div><br></div><div>Cheers!</div><div class=3D"gmai=
l_signature"></div>
</div>

--001a11c2d760f9d89c052e2bf306--

--===============1069486960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speex-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/speex-dev

--===============1069486960==--