I'm trying to reduce my Nuendo projects using flac.
I use this command to create a flac file:
flac -8 --keep-foreign-metadata -f -V "Audio 04_01.wav"
but the result is :
ERROR reading foreign metadata: invalid WAVE file: unexpected EOF (010)
When I remove --keep-foreign-metadata switch I get:
Audio 04_01.wav: WARNING: skipping unknown sub-chunk 'bext' (use --keep-foreign-metadata to keep)
Audio 04_01.wav: WARNING: skipping unknown sub-chunk 'Fake' (use --keep-foreign-metadata to keep)
I've no idea what are those sub-chunks but I don't want to lose any metadata.
I really appreciate your help!
Thanks!
Is it possible to provide a copy of that file?
You can find a sample file here
Thank you!
I tested this file here -- https://sourceforge.net/p/flac/bugs/419/
Here's a possible patch that fixes this case:
Thank you, I really appreciate your efforts.
Does this patch (correcting eof) make flac.exe to keep unknown meta-data?
Last edit: Behzad Eslami Tehrani 2014-11-26
Diff:
The patch provided by @lvqcl has been applied to the git sources. I consider this fixed.
Thank you so much!
Were can I find the latest version which includes this patch?
the last modified date of files for download seems to be for 2014-11-28.
The patch is:
Unfortunately that has not been released yet. FLAC is due for a new release.