title
Products            Buy            Support Forum            Professional            About            Codec Central
 

ISRC reading inconsistancies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spoon
    Administrator
    • Apr 2002
    • 44583

    #16
    Re: ISRC reading inconsistancies

    I will mark as a bug to look at with r13.2
    Spoon
    www.dbpoweramp.com

    Comment

    • pjc2
      dBpoweramp Enthusiast

      • Nov 2009
      • 62

      #17
      Re: ISRC reading inconsistancies

      Did this get fixed? I'm not seeing any ISRC (or CD-UPC) codes when using PerfectMeta.

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44583

        #18
        Re: ISRC reading inconsistancies

        It was fixed yes (so ISRC would stay in the tags if present)
        Spoon
        www.dbpoweramp.com

        Comment

        • simonff

          • Feb 2010
          • 3

          #19
          Re: ISRC reading inconsistancies

          Hi

          I am back in my new re - incarnation as (simonff) formally known as (simonf) I had to reregistre with a new email address as resetting my password on the old account didn't get me an email I have tried a few times over the past couple of weeks to no avail... :(

          I had installed the latest version of DBPoweramp only to find it still didn't read ISRCs properly or consistently. So as I needed something that did I wrote my own program to do it. I knew how to decode the information from the Q data I just didn't know how to read the P-W channels from VB. So I decided to learn c++ and use IOCTL from there to read the audio sectors + the 96 bytes of p-w data. I had already written code to decode this data in VB.

          Anyhow I have ended up with a small (500k) command line program which will read the ISRC data from all the discs ( that have isrc data ) that dbpoweramp said there weren't ISRCs in. it works consistently accross all five of my drive (which are all different models).

          I have subsequently expanded this program to rip CD-TextData From the ExToc and rip individual tracks to wavs. It can also read wav files and create CRC's and accurip crc's with a given offset. (I obtained mine by comparing the file I had ripped to one ripped by DBpoweramp (the offset on all my drives is +6 which was what DBpoweramp said it was)).

          I would like to share this with you as i have with the musicbrainz community. I have written a wrapper round this for musicbrainz to submit the ISRC and PUID data to there database

          Running the command

          mediatools drive e toc isrc upc and cdtext

          Produces

          TOC START
          01 0 13035 173.800000
          02 13035 19937 265.826667
          03 32972 19768 263.573333
          04 52740 26330 351.066667
          05 79070 26680 355.733333
          06 105750 23080 307.733333
          07 128830 28337 377.826667
          08 157167 30835 411.133333
          09 188002 18530 247.066667
          10 206532 34490 459.866667
          11 241022 24470 326.266667
          12 265492 20135 268.466667
          13 285627 24208 322.773333
          14 309835 6790 90.533333
          TOC END
          CDTEXT STARTS
          Title 0 George Michael Patience
          Title 1 Patience (Album Version)
          Title 2 Amazing (Album Version)
          Title 3 John And Elvis Are Dead (Album Version)
          Title 4 Cars And Trains (Album Version)
          Title 5 Round Here (Album Version)
          Title 6 Shoot The Dog (Album Version)
          Title 7 My Mother Had A Brother (Album Version)
          Title 8 Flawless (Go to the City) (Album Version)
          Title 9 American Angel (Album Version)
          Title 10 Precious Box (Album Version)
          Title 11 Please Send Me Someone (Anselmo's Song) (Album Version)
          Title 12 Freeek! '04 (Album Version)
          Title 13 Through (Album Version)
          Title 14 Patience (Pt.2)
          Artist 0 George Michael
          Cat No 0 2 515402
          UPC/EAN 5099751540229
          CDTEXT ENDS
          UPC STARTS
          5099751540229
          UPC ENDS
          ISRCS STARTS
          ISRC 01 GBBBN0300689
          ISRC 02 GBBBN0300681
          ISRC 03 GBBBN0300646
          ISRC 04 GBBBN0300682
          ISRC 05 GBBBN0300684
          ISRC 06 GBAKW0201289
          ISRC 07 GBBBN0300685
          ISRC 08 GBBBN0300686
          ISRC 09 GBBBN0400029
          ISRC 10 GBBBN0300683
          ISRC 11 GBBBN0400041
          ISRC 12 GBBBN0400043
          ISRC 13 GBBBN0300688
          ISRC 14 GBBBN0400046
          ISRCS ENDS

          It, the program and source, can be downloaded from



          its only 199k and was compiled in VS2008

          Maybee spoon would like to use/look at the ISRC extraction part so I no longer have to rip the disc with dbpoweramp and then run this to get the isrc data

          You are all free to use and modify the code/program as you wish

          simonff

          aka

          simonf
          Last edited by simonff; February 18, 2010, 12:04 AM. Reason: incomplete

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44583

            #20
            Re: ISRC reading inconsistancies

            If you want to send me that CD...then it can be fixed.
            Spoon
            www.dbpoweramp.com

            Comment

            • simonff

              • Feb 2010
              • 3

              #21
              Re: ISRC reading inconsistancies

              Hi Spoon

              Its not a problem at disc level its down to the way the software extracts the ISRC's. CDDA2WAV makes the same mistake as does nero, whereas CloneCD and EAC do it correctly . I have the same problem on all the discs with this drive one. One of my other drives returns nothing at all this drive return a corrupted first 3 characters. But with my method i get the same (correct) ISRC's on all 3 drives.


              CDDA 2 WAV Results (As you can see the ISRC's are wong the secon and third bytes are corrupt)


              Code:
              C:\cdrtools>cdda2wav -D 1,0,0 -J
              Type: ROM, Vendor 'TSSTcorp' Model 'DVD+-RW TS-L632H' Revision 'D300' MMC+CDDA
              983040 bytes buffer memory requested, 4 buffers, 27 sectors
              *blooper*Cdda2wav version 2.01_cygwin32_nt_1.5.10(0.116-4-2)_i686_i686, soundcard, libpa
              ranoia support
              Disc identification: 2 515402
              AUDIOtrack pre-emphasis  copy-permitted tracktype channels
                    1-14           no              no     audio    2
              Table of Contents: total tracks:14, (total time 70:21.50)
                1.( 2:53.60),  2.( 4:25.62),  3.( 4:23.43),  4.( 5:51.05),  5.( 5:55.55),
                6.( 5:07.55),  7.( 6:17.62),  8.( 6:51.10),  9.( 4:07.05), 10.( 7:39.65),
               11.( 5:26.20), 12.( 4:28.35), 13.( 5:22.58), 14.( 1:30.40)
              
              Table of Contents: starting sectors
                1.(       0),  2.(   13035),  3.(   32972),  4.(   52740),  5.(   79070),
                6.(  105750),  7.(  128830),  8.(  157167),  9.(  188002), 10.(  206532),
               11.(  241022), 12.(  265492), 13.(  285627), 14.(  309835), lead-out(  316625)
              CDINDEX discid: yVj5VhX4NI4qGEsGZ6mmgMKEcY4-
              CDDB discid: 0xad107d0e
              CD-Text: detected
              CD-Extra: not detected
              Album title: 'George Michael   Patience'        [from George Michael]
              Track  1: 'Patience (Album Version)'
              Track  2: 'Amazing (Album Version)'
              Track  3: 'John And Elvis Are Dead (Album Version)'
              Track  4: 'Cars And Trains (Album Version)'
              Track  5: 'Round Here (Album Version)'
              Track  6: 'Shoot The Dog (Album Version)'
              Track  7: 'My Mother Had A Brother (Album Version)'
              Track  8: 'Flawless (Go to the City) (Album Version) '
              Track  9: 'American Angel (Album Version)'
              Track 10: 'Precious Box (Album Version)'
              Track 11: 'Please Send Me Someone (Anselmo's Song) (Album Version)'
              Track 12: 'Freeek! '04 (Album Version)'
              Track 13: 'Through (Album Version)'
              Track 14: 'Patience (Pt.2)'
              Media catalog number: 5099751540229
              T:  1 ISRC: GA-QLC-03-00689
              T:  2 ISRC: GA-QLC-03-00681
              T:  3 ISRC: GA-QLC-03-00646
              T:  4 ISRC: GA-QLC-03-00682
              T:  5 ISRC: GA-QLC-03-00684
              T:  6 ISRC: GA-QKW-02-01289
              T:  7 ISRC: GA-QLC-03-00685
              T:  8 ISRC: GA-QLC-03-00685
              T:  9 ISRC: GA-QLC-04-00029
              T: 10 ISRC: GA-QLC-03-00683
              T: 11 ISRC: GA-QLC-04-00041
              T: 12 ISRC: GA-QLC-04-00043
              T: 13 ISRC: GA-QLC-03-00688
              T: 14 ISRC: GA-QLC-04-00046
              The method I use is to read upto the first 150 sectors frames (or until the isrc is found). I read the data including the 96 bytes of p-w data, then I decode the q sub channel and search for one that starts with "2" (this is an ISRC).

              I then decode the subsequent bytes into an ISRC code.

              I can send you a disc but as I say its not unique to this disk its all discs.

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44583

                #22
                Re: ISRC reading inconsistancies

                All my CD Text discs read fine on the variety of drives, but like you said it might be something to do with the disc.

                Please send an email:

                Spoon
                www.dbpoweramp.com

                Comment

                • simonff

                  • Feb 2010
                  • 3

                  #23
                  Re: ISRC reading inconsistancies

                  Hi Spoon

                  Reading from CD Text isn't a problem Its extracting ISRC Data From the Q Sub data where the problem seems to be.

                  I will email you with the details when I get a mo.

                  Simon

                  PS the only problem with my solution is it uses SCSI Pass through so may not be suitable for some People.

                  Comment

                  Working...

                  ]]>