The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2005-03-05, 05:54 PM
psyde
0.00 KB/0.00 KB/---
 
Smile Sector Bound Errors and Burning lossless files

Hi everyone,

I just read Raindawg's guide on Shntool. I followed the instructions and created a batch file that would test for sector bound errors (don't know much about them) and ran a test which found that my files have these errors. I would like to store these lossless files on DVDs and will eventually burn them as wave files on CD-Rs for personal use. Do I need to correct these errors before burning them on DVDs or CDRs?If so, do I use the fix mode without the arguments to repair the files? Please excuse my lack of knowledge, as I am not too comfortable with Shntool at this time.

Thank in advance,
Psyde
Edit/Delete Message Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-03-05, 06:40 PM
dadgad's Avatar
dadgad dadgad is offline
GL - elitist - hoarder -
27.95 GB/50.69 GB/1.81
 
Join Date: Nov 2004
Location: Pair-A-Dice
Re: Sector Bound Errors and Burning lossless files

The answer is "yes"

the command is:
shntool fix *.file extension(.wav, .flac or .shn)
__________________
Quote:
Originally Posted by dadgad
You bet


You have your way. I have my way. As for the right way, the correct way, and the only way, it does not exist.
(F. Nietzsche)
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-03-05, 10:11 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: Sector Bound Errors and Burning lossless files

Quote:
Originally Posted by dadgad
The answer is "yes"
Not quite. You only 'have' to fix them before burning them to an audio CD. If you archive them on DVD in the meantime you don't have to fix them because the sector boundary issue only applies to audio CDs.

But if you fix them before you archive them on DVD they will be fixed and you can pass them on fixed.

A couple of things need to be considered before you decide. Are there SBEs on the last track only? Are the files listed in the etree database? Etc.

I use fix mode with the -s r argument, which tells shntool to round to the nearest sector boundary. The default is to move backwards. It doesn't make a big difference really, but with -s r the files change a bit less in size.

And it's not sufficient just to run shntool over all the files. If the show you have is divided into multiples sets, for instance, you should fix each set of files separately. If you don't, there is a chance that a little snippet of one set will end up at the beginning or end of the other set. The size would be miniscule but it could be audible and in any event is technically an error.

Give us some more info and we could help you decide when and how to fix them.
Reply With Quote Reply with Nested Quotes
  #4  
Old 2005-03-06, 11:38 AM
psyde
0.00 KB/0.00 KB/---
 
Re: Sector Bound Errors and Burning lossless files

Thanks for your reply and offer for additional help Uhclem! My primary concern is learning how to archive the lossless files on DVDs or CDs for future use and trading. I may make a few audio discs here and there so I'll eventually need to correct these errors anyways. Many of the shn files that I currently have are on more than one disc. Based on your post, it sounds like I need to run each disc or set independently through as opposed to just running the whole performance.

I just ran the len command for a performance with 3 discs and found that all the files have a sector bound error under the CD-R column. So in this case, I believe that I would have to run the fix command with your suggested arguments 3 times, once for each disc. Afterwards, I would burn the audio disc using EAC/NERO. Is this correct?

Thanks,
Psyde

I don't know if this is helpful, but I found the shn entry on db.etree.org for the performance in question: here
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-03-06, 11:54 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Sector Bound Errors and Burning lossless files

Quote:
Originally Posted by psyde
I just ran the len command for a performance with 3 discs and found that all the files have a sector bound error under the CD-R column. So in this case, I believe that I would have to run the fix command with your suggested arguments 3 times, once for each disc. Afterwards, I would burn the audio disc using EAC/NERO. Is this correct?
This is how I would do it. Make a note in the .txt file that you corrected the SBEs using SHNtool and add this to the lineage. Post here if you're not sure how to notate that properly.

For archiving, just burn a data disc using nero. If you want to burn audio cdrs in addition, I recommend EAC over Nero.
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-03-06, 12:48 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: Sector Bound Errors and Burning lossless files

I'm not trying to make this more confusing, but it's not as simple as just fixing each disc separately, or fixing the entire show all at once. You should look at it from the perspective of musical sets. By musical sets I mean sets of music as played by the band, and you should look at fixing each set regardless of whether a particular set spreads over more than one disc.

So the first thing you look at is whether the show you have was played as a single set or as multiple sets by the band. You are almost certainly not going to want to fix an entire disc as a disc if there was a set break in the middle of that disc. Instead you will probably want to fix all the files of the first set as a set.

Also load up the last song of a disk and the first song of the next disc together in your computer's audio player and listen to the transition. Is it seamless? If the audio between two discs is actually seemless then that's a good reason to fix those files together because you want to preserve the seamless transition. If you were to fix your files on a per disc basis, you would end up introducing silent padding that will ruin the transition. You won't hear this if you burn the tracks to their respective discs, but the reason that this is undesirable is that you can never tell in the future how someone else might burn the tracks to a disc. CDs are getting longer all the time, and what was a good layout for the old 74 min discs may suck on 80 min discs, and be even more useless if 90 min discs catch on. Don't introduce a problem into your files that you or someone else will regret later when longer discs become the norm.

Confused? Well let's look at the show in question:

Disc 1 63:52.80
01 Intro 05:31.78
02 Bartender 08:10.92
03 When the World Ends 05:27.93
04 Busted Stuff 04:45.04
05 Two Step 09:18.04
06 Everyday 06:20.89
07 Grace Is Gone 06:48.74
08 Grey Street 04:22.85
09 Best of What's Around 06:09.04
10 Tripping Billies 06:56.80

Disc 2 66:25.45
01 The Stone 07:52.88
02 Gravedigger 05:14.02
03 Stay or Leave 05:34.52
04 Warehouse 09:44.97
05 Where Are You Going 05:05.50
06 Tim Solo 07:23.31
07 The Maker 06:21.22
08 Crush 10:02.57
09 Don't Drink the Water 09:06.46

Disc 3 69:21.95
01 Exodus > 03:22:01
02 Cry Freedom 06:39.50
03 Lie In Our Graves 10:52.22
04 Pay For What You Get 05:53.58
05 Tim Solo 07:11.31
06 Jimi Thing > 06:11.40
07 What Will Become Of Me 02:44.12
08 #41 06:43.05
09 Ants Marching 07:59.50
10 Nancies Intro 03:38.18
11 Dancing Nancies 08:07.08


I can't tell from this if there was a set break. Maybe there was a set break at the end of disk 1, maybe not. So load up Tripping Billies and The Stone in your audio player, skip forward to near the very end of Tripping Billies and listen to the transition. If it's seamless, then make a note of that. Do the same with Don't Drink The Water and Exodus. If the transition there is seamless you will want to fix those tracks together. I.e. if both transitions are seamless then fix the whole show together. If there is a fade out/fade in or some other obvious cut between each disc, then fix them per disc. If there is a cut at the end of disc 1, but discs 2 & 3 are seamless, fix disc one separately then fix discs 2 & 3 together. I hope this makes sense.

If you happen to know that there was a set break between, let's say, Gravedigger and Stay Or Leave, and the transition between discs 1 & 2 is seemless, then you would fix disc 1 AND the first two tracks of disc 2 all together.

Also, I do the same thing with encores. If the show has an encore I listen to the transition between the last song before the encore and the encore. If it is seamless then I fix the encore along with the tracks before it. But if it is not seamless, I fix it separately, which sometimes means just padding the end if it needs it and the encore is just one track.

One last thing I would say is it is better to err on the side of fixing the whole show at once than on fixing it it in parts, if you are unsure about what you are doing. If you fix it all at once the worst that can happen is that miniscule portions of one track will end up tacked on to the beginning or ending of an adjacent track. Although this is not technically perfect, it is essentially inaudible and is 'good enough' for most people (although maybe not for trading purposes). Whereas if you fix each disk separately but one or more discs were seamless, that seamlessness will be lost and if the tracks are ever burned to CD in a different layout than that proposed, a pop may well be audible between the tracks that were originally listed on separate discs. That's why you hear people say to fix the whole show at once. But being the anally retentive perfectionist that I am I never just run shntool over the entire show w/o considering set changes and encores.

Last edited by uhclem; 2005-03-06 at 12:53 PM. Reason: typos
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-03-06, 01:15 PM
psyde
0.00 KB/0.00 KB/---
 
Re: Sector Bound Errors and Burning lossless files

Thank you everyone for your comprehensive answers. Uhclem, I will probably have to reread your post again when I try fixing the files, but you were very clear in your explanation and I understood what you mean by "set" now. The examples were very helpful indeed.

Thanks!
Psyde
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-03-06, 05:17 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Sector Bound Errors and Burning lossless files

way to go uhclem you're absolutely right.
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-03-07, 07:38 AM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: Sector Bound Errors and Burning lossless files

uhclem is right, but just to add a simple rule of thumb...you shoud always fix groups of files that run together seamlessly as one cluster, with a fadeout or silence at the end. Therefore the last track will get padded with addtional silence and it won't be audible. On compilation sets where every tracks fades to silence, you really need to pad each track individually.
__________________
Through the clouds,
Throught the lies,
We'll never see,
What's never been,
At the ending of life and the coming of death,
Pass not through its gates but into the dark.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-04-14, 05:43 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Sector Bound Errors and Burning lossless files

How do you fix an SBE if it's only on the last track? I don't happen to have any silence lying around to use as a dummy last track. Isn't there a command that will just pad the end of it so you don't have to have a second track for the fixing?
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-04-14, 06:08 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Sector Bound Errors and Burning lossless files

yeah, this is the command (courtesy of uhclem):

Code:
shntool pad -postpad -o flac [filename]
I haven't tried it yet.

The other way is to decompress to WAV, then recompress the single track to FLAC using FLAC frontend with "align on sector boundaries" enabled, then it will pad the track. Do a shntool len check when you're done to verify that everything is kosher.
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-04-14, 07:41 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Sector Bound Errors and Burning lossless files

__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-04-14, 07:52 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Sector Bound Errors and Burning lossless files

Aw geez... now in order to make shntool keep it in flac level 8 I have to find that post with that info on it, which now that I think about it I have no idea what level this was encoded at to begin with...

Is there a way to see at what level the flac encoding is was done? I think this came up before, but I have no idea what thread it was in... I'm going bonkers with this stuff. Bonkers I tell ya, BONKERS!!!
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #14  
Old 2005-04-14, 08:18 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Sector Bound Errors and Burning lossless files

Quote:
Originally Posted by feralicious
Aw geez... now in order to make shntool keep it in flac level 8 I have to find that post with that info on it, which now that I think about it I have no idea what level this was encoded at to begin with...

Is there a way to see at what level the flac encoding is was done? I think this came up before, but I have no idea what thread it was in... I'm going bonkers with this stuff. Bonkers I tell ya, BONKERS!!!
Here you go!

http://www.thetradersden.org/forums/...9&postcount=33
Reply With Quote Reply with Nested Quotes
  #15  
Old 2005-04-14, 09:04 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Sector Bound Errors and Burning lossless files

Quote:
Originally Posted by pmonk66
Thanks hon!

Hm, I'm not convinced that post is in English! I may just go the flac > wav > flac w/sector boundaries aligned since it's just for the last track and it's okay to do it for that.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Burning ISO files to DVD - DMBKMF Technobabble 2 2009-04-13 08:33 AM
Why not trade mpeg4 lossless files? - Wsucks Technobabble 4 2007-06-20 08:09 AM
Software to check group of WAV files for errors? - led20719 Technobabble 1 2007-02-03 09:26 PM
Burning Lossless Files to CD-A; Why the f@$k do SHNs take so damn long? - rabble Technobabble 35 2005-05-02 12:29 PM
A question about speed correction of lossless files - starman714 Technobabble 21 2005-02-18 04:59 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 07:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket