#9 metadata block for RIFF WAVE subchunks

libFLAC (10)

Add a metadata block for RIFF WAVE subchunks, and
support in flac by way of an option to encode/decode
instead of ignore them.

On the encode side, the wave reader will have to parse
the entire wave file, collect all the non-'data'
subchunks into FLAC metadata blocks (including their
order) and pass to the encoder.

On the decoder side the reverse will need to happen.


  • Josh Coalson

    Josh Coalson - 2002-06-12

    Logged In: YES

    Fixup of the subchunks should go in the new FileEncoder. (?)

  • Josh Coalson

    Josh Coalson - 2002-06-13
    • assigned_to: nobody --> jcoalson
  • Josh Coalson

    Josh Coalson - 2002-08-12

    Logged In: YES

    Pushed out to post-1.0.4.

  • Josh Coalson

    Josh Coalson - 2002-09-25
    • priority: 9 --> 3
  • Nobody/Anonymous

    Logged In: NO

    This could be done by abusing the APPLICATION metadata block
    with RIFF (or WAVE) as the identifier. The position of the 'data'
    subchunk in the original WAVE file could be preserved by placing
    an empty RIFF metadata block which simply contains the 4 bytes:

    The same would work for AIFF, using AIFF as the APPLICATION
    and SSND as the metadata placeholder for the sound data.

  • Brian Willoughby

    Logged In: YES

    Uh, that was me what suggested the APPLICATION solution (a
    hack, I'll agree) and similar support for AIFF as WAVE.

  • Josh Coalson

    Josh Coalson - 2007-08-31

    Logged In: YES
    Originator: YES

    added in CVS, will be the --keep-foreign-metadata option to flac in upcoming 1.2.1

  • Josh Coalson

    Josh Coalson - 2007-08-31
    • status: open --> closed

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks