sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: sox-devel <sox-devel@lists.sourceforge.net>
Subject: AMR codecs
Date: Thu, 13 Aug 2020 18:44:43 +0100	[thread overview]
Message-ID: <yw1x364qsano.fsf@mansr.com> (raw)

Another day, another library mess.

The AMR speech codec comes in two variants, wide-band and narrow-band.
The only complete implementation I'm aware of is the reference library
from 3GPP.  Although the code is readily available, using it is somewhat
of a legal grey area.  It is not generally available as a distro package.

Then there is the OpenCORE library[1].  Although in part based on the
3GPP code, it is apparently somehow blessed to make it legal.  However,
it only includes decoding.  Yet another library, vo-amrwbenc, can encode
the WB variant but not NB.  Both of these tend to have distro packages.

SoX has support for both the 3GPP and OpenCORE libraries with an unholy
amount of #ifdeffery.  It is made extra convoluted by the option to load
the libraries using dlopen() rather than linking directly.

Whatever shall we do?  I'm trying to clean up the build system, and I
keep stumbling over these things.  On the one hand, I don't like
removing features.  On the other, the lack of any clean AMRNB encoder
suggests that maybe nobody needs one.  I am also concerned about the
security risks brought on by using unmaintained libraries like these.

[1] https://sourceforge.net/projects/opencore-amr/

-- 
Måns Rullgård


_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

             reply	other threads:[~2020-08-13 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13 17:44 Måns Rullgård [this message]
2020-08-13 21:31 ` AMR codecs Måns Rullgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1x364qsano.fsf@mansr.com \
    --to=sox-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).