[Flac-dev] adding song metadata

Josh Coalson xflac at yahoo.com
Thu Mar 28 09:43:13 PST 2002

--- Joshua Haberman <jhaberman at ups.edu> wrote:
> What is the best way to add song metadata (artist, album, title,
> etc.) to
> flac files?  I want to be able to define an arbitrary number of
> FIELD=value pairs.
> Earlier I heard someone mention using id3 tags.  I tried this with
> the
> command-line "id3v2", and while it seemed to work I noticed that the
> resulting file no longer began with "fLaC", which violates the format
> specification.  Is this a problem?  The command-line decoder would
> still
> decode it without complaning.

yeah, I'm starting to regret supporting id3v2.  the decoder
will skip it but it's not guaranteed to work with anything
that uses FLAC.

> Would a better solution be to allocate an APPLICATION metadata block
> id
> for comments?  If so, what format would be best for storing this kind
> of
> information?  A series of null-terminated strings seems the simplest,
> say:
> ARTIST=Some Artist\000ALBUM=Some Album\000

I'm leaning towards having a metadata block that is compatible
with the vorbis comment spec.  would this be amenable?  I should
probably just reserve the ID for it now, so that it's possible
for people to roll their own until the next release, which will
have better metadata editing facilities.


Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®

More information about the Flac-dev mailing list