Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#336 keep-foreign-metadata encode error

open-accepted
nobody
5
2009-01-02
2008-08-03
DarkFoon
No

Hello

I have a WAVE file that I recently encoded with the --keep-foreign-metadata flag set. Immediately I got this error:
"<song>.wav: ERROR reading foreign metadata: invalid WAVE file: unexpected EOF (010)"

So then I went to encode the file normally with flac, and I got this warning at the end of encoding:
"<song>.wav: WARNING: skipping unknown sub-chunk 'id3 ' (use --keep-foreign-metadata to keep)"

The WAVE file is a dance mix that a friend of mine made a few years ago (using Adobe premier I think... yeah it's odd) and I am just guessing here, but I think maybe he somehow added an ID3 tag to a WAVE file, and that might be causing the error.

The important info:
flac.exe --version: 1.2.1
(from the Windows Installer obtained from the project sorceforge page)
Windows 2000 SP4 (up to date)
Intel Pentium 4 2.4GHz (Northwood)
1GB DDR-SDRAM
The WAVE file was available via a SaMBa share, and I was saving the encoded file locally.

Discussion

  • DarkFoon
    DarkFoon
    2008-08-03

    Logged In: YES
    user_id=1300301
    Originator: YES

    Oh I forgot to list some more important information:

    The WAVE file is 16bit/44.1KHz.

    The "normal" encode was done with FLACFrontend with 'Verify' checked and at level 8.

    The command line that gave the error was `flac --verify -8 --keep-foreign-metadata \\path\to\&lt;song>.wav -o x:\path\to\output.flac`

     
  • Josh Coalson
    Josh Coalson
    2009-01-02

    it's hard to tell, can you host the wave file somewhere?

     
  • Josh Coalson
    Josh Coalson
    2009-01-02

    • status: open --> open-accepted