lordmulder / DynamicAudioNormalizer

Dynamic Audio Normalizer
Other
251 stars 36 forks source link

File formats + Details + Wrong encoding #16

Closed ErfolgreichCharismatisch closed 4 years ago

ErfolgreichCharismatisch commented 5 years ago

I have a m4a file that I want to normalize. DAN cannot work with m4a as it doesn't know what it is.

  1. Which format I can use codec copy with ffmpeg with works with DAN?
  2. Also, what does a WAV-File have to look like to be an input for DAN - Frequency, endian, resolution...?
  3. Why are mp3-files huge that DAN outputs and how to minimize them?
lordmulder commented 5 years ago

DynamicAudioNormalizer CLI supports different input/output modules. These are:

So, as input, you can open all the various file types supported by libsndfile – which includes Wave Audio files as well as FLAC, Vorbis, AU and AIFF – plus MP3 files (will be decoded via libmpg123) plus Opus files (will be decoded via libopusfile). As far as uncompressed (PCM) Wave Audio files are concerned, pretty much all bit-depths, endianesses and sampling rates should be supported, as libsndfile handles that transparently for us. Wave Audio files containing "a-law", "µ-law" or "ADPCM" should work as well, again via libsndfile.

Supported output formats include Wave Audio, FLAC and Ogg/Vorbis. We do not currently support MP3 output, as we do not currently include any kind of MP3 encoder library (e.g. libmp3lame). So you probably created a PCM/Wave file and gave it a .mp3 extension. This doesn't make it an MP3 file tough 😏

Regards.