GithubHelp home page GithubHelp logo

Stero / Mono about aacdecoder-android HOT 7 CLOSED

xajist avatar xajist commented on September 9, 2024
Stero / Mono

from aacdecoder-android.

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Please try version 0.6 if it is better and let me know, please.
Thanks

Vaclav

Original comment by [email protected] on 14 Jun 2012 at 7:29

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Some AAC+ streams use a feature called Parametric Stereo (PS). Unfortunately 
OpenCORE library is crashing with this feature enabled. So I had to disbale it, 
so this stere/mono problem can be caused by this.

Unfortunately I am not able to fix the problem in OpenCORE unless know the PS 
specification / exact algorithm. 

Vaclav

Original comment by [email protected] on 15 Jun 2012 at 7:09

  • Added labels: Component-Native

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Tha crashing of the library can be fixed by this patch, but unfortunately it 
seems, that it does not improve the result stream (still mono). Also sometimes 
the output to the right headphone is broken:

http://androidxref.com/source/xref/frameworks/base/media/libstagefright/codecs/a
acdec/sbr_dec.cpp?r=a2e29968abe003f1b92ea9cbff5e70c77f28be34

Original comment by [email protected] on 16 Jun 2012 at 4:05

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
After learning PS algorithm and debugging the opencore-aacdec library it seems 
I've found the root cause. PS decoder is not correctly initialized.
So, the solution exists, now we need only to apply the changes to the project 
and test it thoroughly.
Look forward for the next release 0.7

Vaclav

Original comment by [email protected] on 28 Jun 2012 at 2:43

  • Changed state: Started
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024

Original comment by [email protected] on 28 Jun 2012 at 3:05

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024

Original comment by [email protected] on 28 Jun 2012 at 3:07

  • Now blocking: #7

from aacdecoder-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Revision #19
------------------------------------------------------------------------------
2012-06-28 by Vaclav Bartacek
    Fixed Parametric Stereo initialization bug.
    All HE-AAC+ streams played mono.

    Bugfix(1) - if PS extension is found in the first frame, then the PS
        decoder is initialized, but the stream type was not correctly set
        to MP4AUDIO_PS (remained MP4AUDIO_SBR)

    Bugfix(2) - if PS extension was not found in the first frame, then PS
        decoder was not initialized at all.

    Files:
        codecs_v2/audio/aac/dec/src/sbr_applied.cpp

------------------------------------------------------------------------------
2012-06-16 by Vaclav Bartacek
    Applied patch found in standard Android branch.
    Bugfix - when enabled Parametric Stereo, then crashing.

    Files:
        codecs_v2/audio/aac/dec/src/sbr_dec.cpp

------------------------------------------------------------------------------

Original comment by [email protected] on 28 Jun 2012 at 7:47

  • Changed state: Fixed

Attachments:

from aacdecoder-android.

Related Issues (20)

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.