If you're going to put in the work to add AAC support, I think choosing the third party library that supports more options (AAC+) would make more sense.

On 07/26/2017 04:50 AM, Stéphane Lepin wrote:
Hi everybody,
I'm currently planning the work to do during the final period of GSoC. Among other things <https://www.mixxx.org/wiki/doku.php/multi-broadcasting#phase_3final_period1>, I'd like to work on adding AAC and AAC+ encoding to Mixxx, along with Opus encoding support. Streaming with these codecs has already been requested by users on the bugtracker, and have been confirmed on the wishlist.

Integrating libopus as an encoder into Mixxx won't be much of a problem. Care must be taken to mux the Opus datastream into an Ogg container stream (that's how Opus streaming to Icecast is done).

However, AAC and AAC+ streaming is a bit more complex matter because of well-know patents and licensing issues.

Here are two possible solutions to implement at least AAC streaming:

  * Use libavcodec's built-in AAC encoder (libavcodec already being a
    dependency), which is covered by LGPLv2.1 (see the source code
    <https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aacenc.c>).
    Only AAC encoding would be supported, however.
  *
    Or: dynamically load fdk-aac from the system or Mixxx's installation
    folder. Both AAC and AAC+ encoding is possible with this solution.
    The wiki page linked above has more details on where to find binary
    builds of fdk-aac.

What do you think of these approaches?

Kind regards,
Stéphane Lepin (a.k.a Palakis)
/
/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to