Coder Social home page Coder Social logo

Can't read .wav files about musicmetadata HOT 3 CLOSED

leetreveil avatar leetreveil commented on July 17, 2024
Can't read .wav files

from musicmetadata.

Comments (3)

nickdesaulniers avatar nickdesaulniers commented on July 17, 2024

or converted .aac files?

from musicmetadata.

topaxi avatar topaxi commented on July 17, 2024

You actually have to tell ffmpeg to map the metadata from one container to the new one...
$ ffmpeg -map_metadata ~/Downloads/while\ my\ guitar\ piano.mp3:~/Downloads/while\ my\ guitar\ piano.aac -i ~/Downloads/while\ my\ guitar\ piano.mp3 ~/Downloads/while\ my\ guitar\ piano.aac

And as far as I know, .wav files do not contain any metadata? (I might be wrong here...)
But how is this related to this node module?

from musicmetadata.

nickdesaulniers avatar nickdesaulniers commented on July 17, 2024

I thought it was related to this module. Thanks for pointing out the ffmpeg flag. I had to use it in this form:
ffmpeg -i input.file1 -map_metadata 0:s:0 output.file2
but it looks like for converting to m4a the flag is actually not even necessary. And with the flag, there is no metadata with the .wav conversion. I'm going to have to come up with something else to support wav files for my application...

from musicmetadata.

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.