macosforge / alac

The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices.
https://macosforge.github.io/alac/
Apache License 2.0
353 stars 63 forks source link

M4A files not handled #14

Open UnitedMarsupials-zz opened 7 years ago

UnitedMarsupials-zz commented 7 years ago

Though the alacconvert-utility seems to handle CoreAudio (CAF) files fine, the M4A ALAC-files cause it to file:

% file c.m4a
c.m4a: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio
% alacconvert c.m4a c.caf
Input file: c.m4a
Output file: c.caf
 Cannot determine what format file "c.m4a" is

The alac tool, originally by David Hammerton (now part of ffmpeg) used to work with just those files -- identified by the "M4A" magic-string at the beginning.

M05QU170 commented 2 years ago

Why do you want convert from lossy format into lossless? You will not get any value from it just use space for no good reason.

UnitedMarsupials commented 2 years ago

Why do you want convert from lossy format into lossless?

Because there are devices, which don't understand the lossy format. Such as -- for just one example -- CD-players built into some (older) cars.

M05QU170 commented 2 years ago

Oh my bad i haven't read it properly. Somehow i missed the part where you tried to convert m4a alac into caf. Million apologies