#1 Burning Software

It is currently Thu Dec 19, 2024 6:18 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: GetTOCInformation() and gapless audio discs
PostPosted: Fri Mar 28, 2008 3:41 pm 
Offline

Joined: Thu Jun 22, 2006 8:20 pm
Posts: 35
I have a CD ripping application based on StarBurn that has been out in the field for several years now with *millions* of discs ripped. First, I'd like to say that overall StarBurn has performed very well, thank you!

Unfortunately it seems that there is a problem with GetTOCInformation() and gapless audio discs. I'm not sure if this is true for *all* gapless audio discs, as I don't have that many to test with. The problem is very simple, it seems that even though your "slow ToC read" claims to scan the pre and post gaps of the tracks, it doesn't seem to work and is incorrectly reporting gaps between the tracks of these gapless audio discs. I have several examples, but I have included data from one of them here to illustrate the problem... So, is this a bug in StarBurn, or am I missing something?

(use fixed font for clarity)

Unsorted ToC entries:
# Ses Ctr ADR TNO Pnt Min Sec Frm Min Sec Frm
0 1 0 1 0 160 0 0 0 1 0 0
1 1 0 1 0 161 0 0 0 16 0 0
2 1 0 1 0 162 0 0 0 23 53 1
3 1 0 1 0 1 0 0 0 0 2 0
4 1 0 1 0 2 0 0 0 0 53 28
5 1 0 1 0 3 0 0 0 3 7 61
6 1 0 1 0 4 0 0 0 5 1 24
7 1 0 1 0 5 0 0 0 5 50 46
8 1 0 1 0 6 0 0 0 8 40 65
9 1 0 1 0 7 0 0 0 9 6 16
10 1 0 1 0 8 0 0 0 11 30 6
11 1 0 1 0 9 0 0 0 11 56 72
12 1 0 1 0 10 0 0 0 14 22 73
13 1 0 1 0 11 0 0 0 14 49 55
14 1 0 1 0 12 0 0 0 17 24 74
15 1 0 1 0 13 0 0 0 17 52 26
16 1 0 1 0 14 0 0 0 21 8 42
17 1 0 1 0 15 0 0 0 22 12 4
18 1 0 1 0 16 0 0 0 23 33 45

Parsed ToC entries:
# StaLB StpLB
0 0 3703
1 3853 13856
2 13936 22339
3 22449 26052
4 26146 38849
5 38915 40718
6 40816 51519
7 51606 53509
8 53622 64425
9 64573 66476
10 66580 78083
11 78224 80127
12 80276 94979
13 94992 99695
14 99754 105757
15 105870 107325

As you can see, the parsed ToC entries show the standard 2 second gap between tracks. However, upon examining the PQ subchannels of the disc it is immediately obvious that these gaps do not exist.

PQ excerpt:
01 01 01 00 49 27 00 00 51 27 18 D3 FF FF FF BB
01 01 01 00 49 28 00 00 51 28 8C C5 00 00 00 00
03 00 00 00 00 00 00 00 00 29 FB 7B 00 00 00 00
01 01 01 00 49 30 00 00 51 30 19 8B FE BF 5F 7E
01 01 01 00 49 31 00 00 51 31 A3 FB 00 00 00 00
01 01 01 00 49 32 00 00 51 32 7D 4A EF BF 2F 6F
01 01 01 00 49 33 00 00 51 33 C7 3A FD FF FA 6F
01 01 01 00 49 34 00 00 51 34 D0 09 00 00 00 00
01 01 01 00 49 35 00 00 51 35 6A 79 FF FF FF BB
01 01 01 00 49 36 00 00 51 36 B4 C8 00 00 00 00
01 01 01 00 49 37 00 00 51 37 0E B8 00 00 00 00
01 01 01 00 49 38 00 00 51 38 9A AE FE BF 5F 7E
01 01 01 00 49 39 00 00 51 39 20 DE 00 00 00 00
01 01 01 00 49 40 00 00 51 40 7A 9A EF BF 2F 6F
01 01 01 00 49 41 00 00 51 41 C0 EA FD FF FA 6F
01 01 01 00 49 42 00 00 51 42 1E 5B 00 00 00 00
01 01 01 00 49 43 00 00 51 43 A4 2B FF FF FF BB
01 01 01 00 49 44 00 00 51 44 B3 18 00 00 00 00
01 01 01 00 49 45 00 00 51 45 09 68 00 00 00 00
01 01 01 00 49 46 00 00 51 46 D7 D9 FE BF 5F 7E
01 01 01 00 49 47 00 00 51 47 6D A9 00 00 00 00
01 01 01 00 49 48 00 00 51 48 F9 BF EF FF 2F 6F
01 01 01 00 49 49 00 00 51 49 43 CF FD FF FE 6F
01 01 01 00 49 50 00 00 51 50 6C F1 00 00 00 00
01 01 01 00 49 51 00 00 51 51 D6 81 FF FF FF BB
01 01 01 00 49 52 00 00 51 52 08 30 00 00 00 00
01 01 01 00 49 53 00 00 51 53 B2 40 00 00 00 00
01 01 01 00 49 54 00 00 51 54 A5 73 FE BF 5F 7E
01 01 01 00 49 55 00 00 51 55 1F 03 00 00 00 00
01 01 01 00 49 56 00 00 51 56 C1 B2 EF BF 2F 6F
01 01 01 00 49 57 00 00 51 57 7B C2 FD FF FA 6F
01 01 01 00 49 58 00 00 51 58 EF D4 00 00 00 00
01 01 01 00 49 59 00 00 51 59 55 A4 FF FF FF BB
01 01 01 00 49 60 00 00 51 60 56 4C 00 00 00 00
01 01 01 00 49 61 00 00 51 61 EC 3C 00 00 00 00
01 01 01 00 49 62 00 00 51 62 32 8D FE BF 5F 7E
01 01 01 00 49 63 00 00 51 63 88 FD 00 00 00 00
01 01 01 00 49 64 00 00 51 64 9F CE EF BF 2F 6F
01 01 01 00 49 65 00 00 51 65 25 BE FD FF FA 6F
01 01 01 00 49 66 00 00 51 66 FB 0F 00 00 00 00
01 01 01 00 49 67 00 00 51 67 41 7F FF FF FF BB
01 01 01 00 49 68 00 00 51 68 D5 69 00 00 00 00
01 01 01 00 49 69 00 00 51 69 6F 19 00 00 00 00
01 01 01 00 49 70 00 00 51 70 40 27 FE BF 5F 7E
01 01 01 00 49 71 00 00 51 71 FA 57 00 00 00 00
01 01 01 00 49 72 00 00 51 72 24 E6 EF BF 2F 6F
01 01 01 00 49 73 00 00 51 73 9E 96 FD FF FE 6F
01 01 01 00 49 74 00 00 51 74 89 A5 00 00 00 00
01 01 01 00 50 00 00 00 52 00 24 03 FF FF FF BB
01 01 01 00 50 01 00 00 52 01 9E 73 00 00 00 00
01 01 01 00 50 02 00 00 52 02 40 C2 00 00 00 00
01 01 01 00 50 03 00 00 52 03 FA B2 FE BF 5F 7E
01 01 01 00 50 04 00 00 52 04 ED 81 00 00 00 00
01 01 01 00 50 05 00 00 52 05 57 F1 EF BF AF 6F
01 01 01 00 50 06 00 00 52 06 89 40 FD FF FE 6F
01 01 01 00 50 07 00 00 52 07 33 30 00 00 00 00
01 01 01 00 50 08 00 00 52 08 A7 26 FF FF FF BB
01 01 01 02 50 09 00 00 52 09 1D 56 00 00 00 00
01 01 01 00 50 10 00 00 52 10 32 68 00 00 00 00
01 01 01 00 50 11 00 00 52 11 88 18 FE BF 5F 7E
01 01 01 00 50 12 00 00 52 12 56 A9 00 00 00 00
01 01 01 00 50 13 00 00 52 13 EC D9 EF FF 2F 6F
01 01 01 00 50 14 00 00 52 14 FB EA FD FF FA 6F
01 01 01 00 50 15 00 00 52 15 41 9A 00 00 00 00
01 01 01 00 50 16 00 00 52 16 9F 2B FF FF FF BB
01 01 01 00 50 17 00 00 52 17 25 5B 00 00 00 00
01 01 01 00 50 18 00 00 52 18 B1 4D 00 00 00 00
01 01 01 00 50 19 00 00 52 19 0B 3D FE BF 5F 7E
01 01 01 00 50 20 00 00 52 20 08 D5 00 00 00 00
01 01 01 00 50 21 00 00 52 21 B2 A5 EF BF 2F 6F
01 01 01 00 50 22 00 00 52 22 6C 14 FD FF FE 6F
01 01 01 00 50 23 00 00 52 23 D6 64 00 00 00 00
01 01 01 00 50 24 00 00 52 24 C1 57 FF FF FF BB
01 01 01 00 50 25 00 00 52 25 7B 27 00 00 00 00
01 01 01 00 50 26 00 00 52 26 A5 96 00 00 00 00
01 01 01 00 50 27 00 00 52 27 1F E6 FE BF 5F 7E
01 01 01 00 50 28 00 00 52 28 8B F0 00 00 00 00
01 01 01 00 50 29 00 00 52 29 31 80 EF FF 2F 6F
01 01 01 00 50 30 00 00 52 30 1E BE FD FF FE 6F
01 01 01 00 50 31 00 00 52 31 A4 CE 00 00 00 00
01 01 01 00 50 32 00 00 52 32 7A 7F FF FF FF BB
01 01 01 00 50 33 00 00 52 33 C0 0F 00 00 00 00
01 01 01 00 50 34 00 00 52 34 D7 3C 00 00 00 00
01 01 01 00 50 35 00 00 52 35 6D 4C FE BF 5F 7E
01 01 01 00 50 36 00 00 52 36 B3 FD 00 00 00 00
01 01 01 00 50 37 00 00 52 37 09 8D EF FF 2F 6F
01 01 01 00 50 38 00 00 52 38 9D 9B FD FF FE 6F
01 01 01 00 50 39 00 00 52 39 27 EB 00 00 00 00
01 01 01 00 50 40 00 00 52 40 7D AF FF FF FF BB
01 01 01 00 50 41 00 00 52 41 C7 DF 00 00 00 00
01 01 01 00 50 42 00 00 52 42 19 6E 00 00 00 00
01 01 01 00 50 43 00 00 52 43 A3 1E FE BF 5F 7E
01 01 01 00 50 44 00 00 52 44 B4 2D 00 00 00 00
01 01 01 00 50 45 00 00 52 45 0E 5D FF BF AF 6F
01 01 01 00 50 46 00 00 52 46 D0 EC FD FF FE 6F
01 01 01 00 50 47 00 00 52 47 6A 9C 00 00 00 00
01 01 01 00 50 48 00 00 52 48 FE 8A FF FF FF BB
01 01 01 00 50 49 00 00 52 49 44 FA 00 00 00 00
01 01 01 00 50 50 00 00 52 50 6B C4 00 00 00 00
01 01 01 00 50 51 00 00 52 51 D1 B4 FE BF 5F 7E
01 01 01 00 50 52 00 00 52 52 0F 05 00 00 00 00
01 01 01 00 50 53 00 00 52 53 B5 75 FF FF 2F 67
03 46 39 63 8B 73 21 24 00 54 DA 77 FD FF FE 6F
01 01 01 00 50 55 00 00 52 55 18 36 00 00 00 00
01 01 01 00 50 56 00 00 52 56 C6 87 FF FF FF FB
01 01 01 00 50 57 00 00 52 57 7C F7 00 00 00 00
01 01 01 00 50 58 00 00 52 58 E8 E1 00 00 00 00
01 01 01 00 50 59 00 00 52 59 52 91 FE BF 5F 7E
01 01 01 00 50 60 00 00 52 60 51 79 00 00 00 00
01 01 01 00 50 61 00 00 52 61 EB 09 FF FF 2F 6F
01 01 01 00 50 62 00 00 52 62 35 B8 FD FF FE 6F
01 01 01 00 50 63 00 00 52 63 8F C8 00 00 00 00
01 01 01 00 50 64 00 00 52 64 98 FB FF FF FF FB
01 01 01 00 50 65 00 00 52 65 22 8B 00 00 00 00
01 01 01 00 50 66 00 00 52 66 FC 3A 00 00 00 00
01 01 01 00 50 67 00 00 52 67 46 4A FE BF 5F 7E
01 01 01 00 50 68 00 00 52 68 D2 5C 00 00 00 00
01 01 01 00 50 69 00 00 52 69 68 2C FF FF 2F 7F
01 01 01 00 50 70 00 00 52 70 47 12 FD FF FE 6F
01 01 01 00 50 71 00 00 52 71 FD 62 00 00 00 00
01 01 01 00 50 72 00 00 52 72 23 D3 FF FF FF FB
01 01 01 00 50 73 00 00 52 73 99 A3 00 00 00 00
01 01 01 00 50 74 00 00 52 74 8E 90 00 00 00 00
01 01 01 00 51 00 00 00 53 00 52 92 FE BF 5F 7E
01 01 01 00 51 01 00 00 53 01 E8 E2 00 00 00 00
01 01 01 00 51 02 00 00 53 02 36 53 FF FF AF 7F
01 01 01 00 51 03 00 00 53 03 8C 23 FD FF FE 6F
01 01 01 00 51 04 00 00 53 04 9B 10 00 00 00 00
01 01 01 00 51 05 00 00 53 05 21 60 FF FF FF FB
01 01 01 00 51 06 00 00 53 06 FF D1 00 00 00 00
01 01 01 00 51 07 00 00 53 07 45 A1 00 00 00 00
01 01 01 00 51 08 00 00 53 08 D1 B7 FE BF 5F 7E
01 01 01 00 51 09 00 00 53 09 6B C7 00 00 00 00
01 01 01 00 51 10 00 00 53 10 44 F9 FF FF AF 6F
01 01 01 00 51 11 00 00 53 11 FE 89 FD FF EE 6F
01 01 01 00 51 12 00 00 53 12 20 38 00 00 00 00
01 01 01 00 51 13 00 00 53 13 9A 48 FF FF FF FB
01 01 01 10 51 14 00 00 53 14 8D 7B 00 00 00 00
01 01 01 00 51 15 00 00 53 15 37 0B 00 00 00 00
01 01 01 00 51 16 00 00 53 16 E9 BA FE BF 5F 7E
01 01 01 00 51 17 00 00 53 17 53 CA 00 00 00 00
01 01 01 00 51 18 00 00 53 18 C7 DC FF FF AF 77
01 01 01 00 51 19 00 00 53 19 7D AC FD FF FE 6F
01 01 01 00 51 20 00 00 53 20 7E 44 00 00 00 00
01 01 01 00 51 21 00 00 53 21 C4 34 FF FF FF FB
01 01 01 00 51 22 00 00 53 22 1A 85 00 00 00 00
01 01 01 00 51 23 00 00 53 23 A0 F5 00 00 00 00
01 01 01 00 51 24 00 00 53 24 B7 C6 FE BF 5F 7E
01 01 01 00 51 25 00 00 53 25 0D B6 00 00 00 00
01 01 01 00 51 26 00 00 53 26 D3 07 FF FF AF 7F
01 01 01 00 51 27 00 00 53 27 69 77 FD FF FE 6F
01 02 01 00 00 00 00 00 53 28 EF 88 00 00 00 00
01 02 01 00 00 01 00 00 53 29 55 F8 FF FF FF FB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 28, 2008 9:10 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Is there any way to have ripped and zipped this particular CD image with Alcohol? Put it somewhere on the ftp (we can provide you with an account if you don't have any spare) so we could burn and run StarBurn against it. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 12:02 am 
Offline

Joined: Thu Jun 02, 2005 8:50 pm
Posts: 115
Have you tried using:

StarBurn_SetFastReadTOC(TRUE);

If not then try it. This will probably fix your problem.

For example, if you rip a disc using the slow mode and then burn the wav files produced and then compare the new disc tracks with the original in Nero(disc information in Nero) your track lengths will most likely not match. I've seen anywhere from spot on to several seconds difference. If however you use fast TOC reading you will get a one for one copy of each track(eg track length will match). Fast mode seems to simple read the TOC information and assumes it is correct without trying to guess at it.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 8:50 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Exactly! However accurate TOC read should work as well...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 31, 2008 2:24 pm 
Offline

Joined: Thu Jun 22, 2006 8:20 pm
Posts: 35
Okay, I'm working on setting up an image that you can download right now. I'll let you know when it's ready. In the mean time...

Correct me if I'm wrong, but when FastReadTOC is set to TRUE, won't you just report the length of each track as being the start of the next track minus the start of the current track? Therefore, the vast majority of tracks will be incorrectly reported as being 2 seconds longer then they actually are, and all my rips will have 2 seconds of silence at the end of them?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 6:28 am 
Offline

Joined: Fri Jan 11, 2008 6:13 am
Posts: 200
Location: BVI
Waiting for CD image :)

You're correct. It works like you said.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 12:00 pm 
Offline

Joined: Thu Jun 22, 2006 8:20 pm
Posts: 35
Okay, the image is finally available on the FTP server.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 7:08 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Thank you very much for this one, we'll take a look ASAP.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 09, 2008 12:03 am 
Offline

Joined: Thu Jun 22, 2006 8:20 pm
Posts: 35
Any preliminary thoughts on this yet? At this point I don't have any time left for waiting so I will code my own ToC generating function based on the subchannel data, but it would be nice to know if my code will be permanent or just a stand in until StarBurn is fixed...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 09, 2008 6:31 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
We'll take a look and fix the code of course. The problem is we're quite busy with the V10 SDK release and really have no time right now :(

P.S. Or will not release anything ever :)

novalis wrote:
Any preliminary thoughts on this yet? At this point I don't have any time left for waiting so I will code my own ToC generating function based on the subchannel data, but it would be nice to know if my code will be permanent or just a stand in until StarBurn is fixed...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group