#143 unrecognized AIFF files


AIFF files on MacOS X are not recognized as AIFF files
by flac. My AIFF were generated by iTunes or by Amadeus
II. flac suggests treating them as raw files.


  • Josh Coalson

    Josh Coalson - 2004-12-30
    • status: open --> open-accepted
  • Josh Coalson

    Josh Coalson - 2004-12-30
    • assigned_to: nobody --> jcoalson
  • Josh Coalson

    Josh Coalson - 2004-12-30

    Logged In: YES

    for the command-line encoder to recognize AIFF files they
    must end in .aif or .aiff (it's not case-sensitive so
    .AIFF is also OK) or have an AIFF header.

    it's possible that the AIFF file has something that flac
    does not deal with, can you host one of the files

    also, if you include the --force-aiff-format option to
    flac, does that work?


  • Nobody/Anonymous

    Logged In: NO

    I generated some new AIFF files with Amadeus, and it seems
    to work (my original bug report should probably be
    corrected). But some files are still unrecognized:

    I've read the header of the problematic files and it has a
    field named AIFCFVER while the recognized files have the
    AIFFCOMM field.

    Using the --force-aiff-format won't work.

    Here is an example file generated by copying a file from CD
    by dragging it to the desktop using OS X Finder.


    Thank you!

  • Josh Coalson

    Josh Coalson - 2005-01-07

    Logged In: YES

    ok, thanks, I got it, will take a look when I get
    a chance.


  • Nobody/Anonymous

    Logged In: NO

    I've done some research on this. Apple generates
    AIFF-C/AIFC/'sowt' files in iTunes and when copying files
    from the CD.

    Info on the AIFC format is here:

    Although AIFC is supposedly a compressed format, 'sowt'
    ('twos' (complement) backward) is an encoding indicator, not
    a compression.

    Apparently oggenc and lame have code to handle AIFC/'sowt'
    encoding. I'm sure they wouldn't mind if someone filched
    that bit of code.. :)

    Hope this helps.


  • Nobody/Anonymous

    Logged In: NO

    Followup from yesterday.

    I did more poking. It seems the 'sowt' AIFC format is just a
    little-endian AIFF. I hacked together some code that works
    and sent them on to Josh.


  • Joe Auricchio

    Joe Auricchio - 2005-05-26

    Logged In: YES


    1.1.2-osx-ppc still doesn't do it.
    come on don't make me transcode from AIFC to AIFF before I flac... =]

    (btw thanks a million for all your work josh, can't tell you how much we
    appreciate it!)


  • Josh Coalson

    Josh Coalson - 2005-08-26
    • status: open-accepted --> open-fixed
  • Josh Coalson

    Josh Coalson - 2005-08-26

    Logged In: YES

    ok, sorry this took so long, this is fixed in CVS now. thanks.

  • Josh Coalson

    Josh Coalson - 2005-09-03
    • priority: 5 --> 4
  • Josh Coalson

    Josh Coalson - 2006-07-08
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks