GithubHelp home page GithubHelp logo

Implement AAC-HE v1 and v2 about aac.js HOT 10 OPEN

devongovett avatar devongovett commented on June 20, 2024
Implement AAC-HE v1 and v2

from aac.js.

Comments (10)

mahadevan-k avatar mahadevan-k commented on June 20, 2024

Pull implementations from FAAD2 or something like that?

from aac.js.

bawNg avatar bawNg commented on June 20, 2024

AAC-HE v2 support would be really awesome!

from aac.js.

marchant avatar marchant commented on June 20, 2024

This has been opened for a while, the support for AAC-HE would indeed be great! Any update on this?

from aac.js.

devongovett avatar devongovett commented on June 20, 2024

I don't have time to work on this myself (sorry!), but I'll accept a working pull request from someone gladly. Would be awesome to have. Otherwise, someone might be able to do an Emscripten compile of some library as a separate project...

from aac.js.

marchant avatar marchant commented on June 20, 2024

would be able to share some pointers and offer some guidance to help someone else do it?

from aac.js.

devongovett avatar devongovett commented on June 20, 2024

Sure. I based this implementation on several other projects, linked to from the readme. I also left a bunch of comments in the code (TODOs) with missing functionality. As mentioned above, it would be SBR (Spectral Band Replication) and PS (Parametric Stereo) for HE support, so look for mentions of those in comments and code as starting points. The code starts in decoder.js and goes from there. You'll have to follow the algorithm that is already implemented by comparing it with some other implementations, and you may be able to see where the HE support should hook in by seeing how the existing functions are implemented. Not sure what other advice to give, but if anyone implementing this has questions I will try my best to answer them!

from aac.js.

marchant avatar marchant commented on June 20, 2024

Ok, thanks for the quick answer!

from aac.js.

marchant avatar marchant commented on June 20, 2024

I was able to read and convert and HE-AAC file with this: http://quick-apps.com/audio/ that uses this project:
https://github.com/sopel39/audioconverter.js

Did you know that project? Might be a good place to start?

from aac.js.

devongovett avatar devongovett commented on June 20, 2024

That's a port of ffmpeg, which is a huge library. It may work for you, but I don't know what your requirements are. Aurora codecs decode as needed and can stream files from various sources, and I'm not sure what that project can do. So it's probably not the best as an Aurora codec for those reasons, but you might be able to get by with it for your project if it fits your requirements. Otherwise, I'd suggest porting a standalone AAC decoder using Emscripten, or doing a hand port to fit in with this library.

from aac.js.

devongovett avatar devongovett commented on June 20, 2024

WIP on HE-AAC v1 happening here: #13.

from aac.js.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.