[flac-dev] Looking for users of --keep-foreign-metadata

Martijn van Beurden mvanb1 at gmail.com
Sun Oct 30 18:21:21 UTC 2022

Op zo 30 okt. 2022 om 19:05 schreef Federico Miyara <fmiyara at fceia.unr.edu.ar>:
> The feature works properly most of the time. The only exception is when one tries to decode, enabling the feature, something that hasn't been encoded enabling the feature (for instance, if when encoding I forgot enabling it). In that case an error appears indicating that there is not foreign metadata and it is necessary to uncheck the option and start over.

For this, the new option --keep-foreign-metadata-if-present has been
added in FLAC 1.4.0.

Nice to hear it works properly for you. One of the problems you might
encounter with the Zoom H4n (I have one too) is when encoding a 24-bit
WAV file from that device. The problem with these files is that
they're not strictly compliant with the WAVE specification. Currently,
FLAC will accept this file, but will restore it to a slightly
different format: The original will be a WAVE_FORMAT_PCM and the
decoded copy will be WAVE_FORMAT_EXTENSIBLE. It might be (I haven't
checked) that the device will not be able to play that when you decode
and place it back.

Or maybe this problem of writing to a not strictly compliant format
has been fixed with a new firmware update for the device, I'm not
sure, haven't updated mine in a long time.

Kind regards, Martijn van Beurden

More information about the flac-dev mailing list