Giter Club home page Giter Club logo

Comments (3)

tuarua avatar tuarua commented on August 25, 2024

WIN and OSX for sure supports converting from wav to mp3.

eg
avane.encode("-i input.wav -codec:a libmp3lame -qscale:a 2 output.mp3");

Use settings as per this page
https://trac.ffmpeg.org/wiki/Encode/MP3

from avane.

dannycortesv avatar dannycortesv commented on August 25, 2024

Wow, that's great! Doing this on mobile is very heavy right? I'm doing a voice recording app, but .wav files has a big size, any path do you suggest me to reduce files size, any other format or configurations?

from avane.

tuarua avatar tuarua commented on August 25, 2024

mp3 encoding is only in the Desktop versions of AVANE
Doing on mobile is heavy yes. I also didn't compile with LAME codec for mobile.
The mobile versions of the ANE were cool experiments and a good learning experience but it would be much better to write an ANE which utilised the core libraries of Android and iOS.

According to the guide there are few settings.
The guide recommends using between -qscale:a 0 to -qscale:a 3.
I haven't personally encoded much mp3 in a long time.

from avane.

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.