Benches macOS

4

Mac OS error -208 when opening MIDI files in Qu...

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Quicktime no longer plays MIDI files. it used to. now i get the Mac OS error -208 claiming the file is corrupted. but i can play the file on a PC, and other people receiving the files by email can open them (though a few other Mac owners are now also having trouble for the first time).

this problem started about two weeks ago. i did nothing different to my machine (MacBook pro), and wonder if a background system update is to blame.

i uninstalled Quicktime and reinstalled it. no luck. any ideas?

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Repair permissions from the Utility Menu & restart or repair disk/permissions directly from your Tiger Install DVD.

    See if that get rids of the error. If not, you may need to update your OS along w/updating everything else your Software Update says your computer needs.
    Your system info confirms you are still using OS 10.4.6.

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    none of that worked.

    turns out it was an error in the MIDI file, which a friend discovered when he ran his MIDIs through some kind of freeware MIDI check. the original files were fixed-length 512-byte records, but MIDI has a definite end marker. in the files that gave me problems, there was space left over in the last record (neat binary zeroes, not "garbage"); i think this came from silence or non-data that didn't add up to 512-bytes. Most players don't have a problem with it. But perhaps a recent update of QuickTime (they update frequently) made it want the file to be EXACTLY the right length. Files that end at the end marker seem to play fine; even QuickTime seems to have no problem with them.

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    here's some further clarification, provided by John Hetland, who worked out the fix:

    1. The MIDI analyzer I used is a cool freeware program midi2txt.exe from
    http://www.gnmidi.com/

    2. When I ran midi2txt with the -error switch and the name of the MIDI file,
    it said something like "Warning: 21 bytes of garbage at end of file." It
    turned out that the MIDI file was made in fixed-length records, and there
    was space left over in the last record. This situation is simply ignored by
    most players, but the current version of QuickTime apparently doesn't know
    what to do if the file is not EXACTLY the length needed for the MIDI codes.

    3. I can't give instructions for fixing the error because what I fixed was
    not any MIDI file; I fixed the program I wrote that generated the flawed
    MIDIs. But if someone should encounter this very problem in a MIDI from some
    other source, and that someone has expertise in file manipulation, one
    should look for hex 'FF2F00' in the last record and delete everything that
    follows it.

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    +It turned out that the MIDI file was made in fixed-length records, and there+
    +was space left over in the last record. This situation is simply ignored by+
    +most players, but the current version of QuickTime apparently doesn't know+
    +what to do if the file is not EXACTLY the length needed for the MIDI codes.+

    MIDI files with "garbage" at the end also cannot be imported into iTunes (a friend wants to convert them to AIFF to produce an audio CD).

    Will this be "corrected" in a future version of QuickTime? Or was this behaviour introduced as a measure against malicious code which might use a MIDI file as carrier?