libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Read Sub-channel changes


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] Read Sub-channel changes
Date: Tue, 31 May 2016 15:35:07 +0200

Hi,

my tests look not too bad so far. I have a riddle to solve, though.

----------------------------------------------------------------------------

For installation, i did 

  git clone -b cdtext-testing git://git.sv.gnu.org/libcdio.git
  mv libcdio cdtext-testing
  cd cdtext-testing
  sh ./autogen.sh
  make

For getting valgrind checks without "make install", i edited the script
./src/cd-info :
-      exec "$progdir/$program" ${1+"$@"}
+      exec valgrind --leak-check=full "$progdir/$program" ${1+"$@"}

----------------------------------------------------------------------------

Then i ran ./src/cd-info on a CD-RW from our adventures in april.

  ./src/cd-info /dev/sr4

to get

  ...
  ==19356== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  ...
  lt-cd-info version 0.94git x86_64-unknown-linux-gnu
  ...
  ... lots of info,
      including MCN, 3 track ISRCs, english and german CD-TEXT ...
  ...
  ==19356== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

----------------------------------------------------------------------------

The next CD-RW with CD-TEXT makes me riddle.
valgrind is happy with it, but ./src/cd-info reports:

  CD-ROM Track List (1 - 3)
    #: MSF       LSN    Type   Green? Copy? Channels Premphasis?
    1: 00:02:00  000000 audio  false  no    2        no
    2: 00:37:57  002682 audio  false  no    2        no
    3: 01:13:39  005364 audio  false  no    2        no
  170: 01:49:21  008046 leadout (18 MB raw, 18 MB formatted)
  Media Catalog Number (MCN): 0000000000000
  TRACK  1 ISRC: XYBLG1101234
  Last CD Session LSN: 0
  ...
  CD-TEXT for Disc:
          ...
          UPC_EAN: 1234567890123
  CD-TEXT for Track  1:
          ...
          ISRC: XYBLG1101234
  CD-TEXT for Track  2:
          ...
          ISRC: XYBLG1100005
  CD-TEXT for Track  3:
          ...
          ISRC: XYBLG1100006

MCN is reported "0000000000000", and only one track ISRC is reported.
I assume these stem from mmc_get_mcn_isrc_private().
The info in CD-TEXT seems complete.
Possible reasons are a bug in there or a flaw of the CD-RW, which
i made a while ago. Possibly when we explored CD-TEXT.

Funny observation: With  libcdio-0.93/src/cd-info  from april 2016
i get two ISRCs reported:

  Media Catalog Number (MCN): 0000000000000
  TRACK  1 ISRC: XYBLG1101234
  TRACK  3 ISRC: XYBLG1100006

Both versions pause for several seconds between reporting "TRACK  1"
and going on with "TRACK  3" or "Last CD Session".

I will have to investigate more.


Have a nice day :)

Thomas




reply via email to

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