Git Product home page Git Product logo

Comments (7)

omkar-tenkale avatar omkar-tenkale commented on July 26, 2024

I think the issue lies in FRAME option
Or writing the buffer to outputstream

from android-opus-codec.

omkar-tenkale avatar omkar-tenkale commented on July 26, 2024

What I'm aiming for:

Convert any audio to opus format at 24kbps bitrate

from android-opus-codec.

theeasiestway avatar theeasiestway commented on July 26, 2024

@omkar-tenkale I'm not sure but I think the problem is that the output file doesn't have the needed headers that a player can read and understand that the file is opus audio so that's why it failed to play.

from android-opus-codec.

omkar-tenkale avatar omkar-tenkale commented on July 26, 2024

Can you add some helper methods in the library eg

encodeToFile(InputStream input,File output,ProgressListener listener)

from android-opus-codec.

omkar-tenkale avatar omkar-tenkale commented on July 26, 2024

Can you please clarify use of FRAME_SIZE option and if it affects buffer size
Also which parameters affect final file size and how
eg Bitrate directly proportional to output file size

from android-opus-codec.

theeasiestway avatar theeasiestway commented on July 26, 2024

@omkar-tenkale sorry but currently I'm not planning to add methods for saving the output to file.
As for codec parameters - since this project it's just a wrapper around C implementation of opus you can check the official documentation here for encoder and here for decoder.

from android-opus-codec.

omkar-tenkale avatar omkar-tenkale commented on July 26, 2024

sorry but currently I'm not planning to add methods for saving the output to file.

Not a good news,hope you'll add it later

I'll be using this lib for converting audio to opus then,
https://github.com/tanersener/mobile-ffmpeg
Only drawback is its >30mb while this library is <1mb

from android-opus-codec.

Related Issues (19)

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.