[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] CD-Text patches

From: Thomas Schmitt
Subject: Re: [Libcdio-devel] CD-Text patches
Date: Tue, 06 Dec 2011 22:52:24 +0100


> I work on a documentation about CDTEXT for libcdio. It will include the
> use of those fields and some more stuff I learned.

My own emerging documentation can be viewed here:
  Search "Format of CD-TEXT packs:"

> Download Golden Hawk's CDRWIN.

I am totally without MS software since the BASIC interpreter of my VIC-20.

> > Is the index number in cdtext_genre[] related to the binary data in
> > text pack type 0x87 ?

> Exactly. 

One riddle more solved.

> > struct CDText_blocksize
> Also the lastseq and langcode seem to be redundant since they are
> present in every block but also contain information about the other
> blocks.

Can it be that one group of three packs of type 0x8f describes
up to 8 blocks ?

> > Can it be that this comment is wrong ?
> >     /* if there were more than 3 BLOCKSIZE packs */

> Yes you are right. I just did not want the parser to fail if there are
> more than the 3 required packs... probably useless. == 3 is better.

I actually meant just the comment. "more than" should be "at least".
Question is whether there can be more than three packs of type 0x87.
I would stay with ">= 3" for now.

> >   /*!
> >    * The language code is encoded as specified in ANNEX 1 to part 5 of EBU
> >    * Tech 32 58 -E (1991).
> >    */
> > 
> > I failed to find a free copy of EBU Tech 3258.
> > But i found the language codes in
> > Appendix 3.

> Sorry, those codes don't have anything to do with the way CDTEXT expects
> the language. I just chose two-character codes to convert the integer
> values to. Do you know a better way? 
> See cdtext_private.h . Those are the values you are looking for. Again
> they come from cdrecord and match the ones from the sony example
> program.

The values in appendix 3
match those of cdtext_private.h:cdtext_lang_enum_s
The only difference is that there are ~ 100 language codes in tech3264.pdf.
I wonder where Shona, Zuku, or Kannada are spoken.

Well, at least with there
is no mentioning of language blocks at all.

Do you have an example of multi-block CD-TEXT ?

> Give me a week to finish the doc.

I'm looking forward to exploiting it.

Have a nice day :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]