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 2009-03-23, 06:47 AM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
TLH Shn Decoding Question + Torrent Question

Hi. New to this board. Two questions.

When decoding shn files in TLH, I repreatedly get an error message saying, "file is possibly truncated or corrupt." These files pass checksum without error, and the files and .wavs play fine. This occurs for shns that I create using mkwACT or shns received from others.

And what do I need to do to be able to d/l some of the great music in the d/l forum. I am not familiar with bit torrent.

Thanks.
Reply With Quote Reply with Nested Quotes
  #2  
Old 2009-03-23, 09:54 AM
U2Lynne's Avatar
U2Lynne U2Lynne is offline
TTD Staff
474.39 GB/2.01 TB/4.34
 
Join Date: Oct 2004
Location: California
Re: TLH Shn Decoding Question + Torrent Question

Take a look at our FAQ, in particular this section - BitTorrent Help
__________________
Five's Checksums Demystified - everything and anything you want to know about checksums
On a Mac? Get XLD to rip your CDs. Please see this guide - X Lossless Decoder (XLD): How to create flawless CD rips on Mac OS X


Reply With Quote Reply with Nested Quotes
  #3  
Old 2009-03-23, 11:17 AM
roann's Avatar
roann roann is offline
TTD Staff
1.24 TB/594.30 GB/0.47
 
Join Date: Nov 2004
Location: Planet Earth
Re: TLH Shn Decoding Question + Torrent Question

Quote:
Originally Posted by EasilyFound View Post
... When decoding shn files in TLH, I repreatedly get an error message saying, "file is possibly truncated or corrupt." These files pass checksum without error, and the files and .wavs play fine. This occurs for shns that I create using mkwACT or shns received from others. ...
If you get this error message

a) and the files pass checksum verification without error the checksum file was created after the file corruption took place (the md5 algorithm does not check whether the data stored in the file is valid; that's one reason why instead of a md5 a st5 checksum file should be created for .shn files).

b) usually there will be no decoded data on your drive. So how can you tell that the .wav files play fine?
Reply With Quote Reply with Nested Quotes
  #4  
Old 2009-03-23, 05:05 PM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

I say that they play fine b/c I don't notice any obvious defect in the sound when they are played in shn or as .wav files. I made many of these files myself from cassette tapes, and the digital version sounds the same as the cassette version. So they don't sound "corrupted" compared to the source, and I don't know what it means for a file to be truncated.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2009-03-23, 05:07 PM
U2Lynne's Avatar
U2Lynne U2Lynne is offline
TTD Staff
474.39 GB/2.01 TB/4.34
 
Join Date: Oct 2004
Location: California
Re: TLH Shn Decoding Question + Torrent Question

Wait a sec..... you took these wav files you made yourself and converted them to shn, and then tried to convert them back to wav and you got the errors?
__________________
Five's Checksums Demystified - everything and anything you want to know about checksums
On a Mac? Get XLD to rip your CDs. Please see this guide - X Lossless Decoder (XLD): How to create flawless CD rips on Mac OS X


Reply With Quote Reply with Nested Quotes
  #6  
Old 2009-03-23, 05:09 PM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

Yes. I get that error message while decoding shns I made myself as well as shns received from others in trading.

They will decode in mkwACT w/out giving me any kind of error message.

Last edited by EasilyFound; 2009-03-23 at 05:19 PM.
Reply With Quote Reply with Nested Quotes
  #7  
Old 2009-03-23, 05:36 PM
roann's Avatar
roann roann is offline
TTD Staff
1.24 TB/594.30 GB/0.47
 
Join Date: Nov 2004
Location: Planet Earth
Re: TLH Shn Decoding Question + Torrent Question

Quote:
Originally Posted by EasilyFound View Post
Yes. I get that error message while decoding shns I made myself as well as shns received from others in trading.

They will decode in mkwACT w/out giving me any kind of error message.
What version of mkwACT, what version of TLH do you use? Does this error happen with files you create now or does it happen with shn files created some time ago?
Reply With Quote Reply with Nested Quotes
  #8  
Old 2009-03-23, 06:12 PM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

I think I found out the answer. It seems to happen only with files created a while ago, and not with shn files created now with TLH. Seems that the md5 checksum file created by TLH has the following information in the beginning of the file:

"; wholefile md5 checksum file generated by Trader's Little Helper
; generated on March 23, 2009, at 6:57 pm"

followed by a blank line before you get to the data for the shn file (I don't know the technical name).

md5 checksum files created with some other program do not necessarily have the same information at the top. I guess TLH is programmed to look for that information, and if it doesn't find it, assumes that the file is corrupted or truncated.

When I tried to verify an md5 checksum in mkwACT, I got an error message that the md5 contains checksums for two files that are missing. I'm assuming it is referring to the two lines above. If I delete them from the md5 file, and then verify in mkwACT, it will verify w/out an error message?

Does that make sense? Got to run and make dinner for my kids. Will check back later.
Reply With Quote Reply with Nested Quotes
  #9  
Old 2009-03-24, 03:11 AM
roann's Avatar
roann roann is offline
TTD Staff
1.24 TB/594.30 GB/0.47
 
Join Date: Nov 2004
Location: Planet Earth
Re: TLH Shn Decoding Question + Torrent Question

Quote:
Originally Posted by EasilyFound View Post
I think I found out the answer. It seems to happen only with files created a while ago, and not with shn files created now with TLH. ...
So most likely the shn files became corrupt, or the md5 checksums were created after the corruption took place.

Quote:
Originally Posted by EasilyFound View Post
... Seems that the md5 checksum file created by TLH has the following information in the beginning of the file:

"; wholefile md5 checksum file generated by Trader's Little Helper
; generated on March 23, 2009, at 6:57 pm"

followed by a blank line before you get to the data for the shn file (I don't know the technical name). ...
This info header is just a comment (each line beginning with a semi-colon is considered to be a comment that can be ignored when verifying). If you do not want to have it in a checksum file created by TLH please do as follows: Open TLH, go to Options > Preferences ... > Create checksum file, uncheck the box in the Info at beginning of a checksum file section and press the Apply button. From now on there won't be any leading comment when you create a md5/ffp/st5 checksum file using TLH.

Quote:
Originally Posted by EasilyFound View Post
... md5 checksum files created with some other program do not necessarily have the same information at the top. I guess TLH is programmed to look for that information, and if it doesn't find it, assumes that the file is corrupted or truncated. ...
No, TLH is not programmed to look for that information, it completely ignores it (the verifcation process works independent from any comments found in the checksum file).

Quote:
Originally Posted by EasilyFound View Post
... When I tried to verify an md5 checksum in mkwACT, I got an error message that the md5 contains checksums for two files that are missing. I'm assuming it is referring to the two lines above. If I delete them from the md5 file, and then verify in mkwACT, it will verify w/out an error message? ...
mkwACT is one of the few programs that do not "understand" comment lines. That's why you're getting an error message. Just delete the first three lines (two comment lines and an empty line) of the checksum file.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2009-03-24, 06:23 AM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

Thanks for the info. What does it mean for a file to be truncated?
Reply With Quote Reply with Nested Quotes
  #11  
Old 2009-03-24, 06:52 AM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

Any idea what the error message could mean if I don't hear any difference in the audio of the decoded shn file and the original .wav?
Reply With Quote Reply with Nested Quotes
  #12  
Old 2009-03-24, 07:18 AM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

OK. I'm getting the error message during decoding even with a shn file that I made just now. I had a .wav file that I converted to shn. TLH told me that it was created without any errors. The md5 checksum file verified. When I decoded that shn file, I get the error message that I have been getting whenever I decode using TLH.

Next, I used the same .wav file and encoded to shn a second time, and verified the second shn file using the md5 checksum file from the first conversion, and the checksum from the first shn file matched the second shn file. And when I decode this second shn, I get the same error message: "file is possibly truncated or corrupt."

So I'm stumped.

Since I don't detect any flaw in the audio when it is played back, TLH either is telling me that there is the "possibility" of error, but there is no error, or there is some other kind of error that does not result in any discernable flaw in the audio.


FWIW, the version of mkwACT that I have is version 2.1, February 1999.
Reply With Quote Reply with Nested Quotes
  #13  
Old 2009-03-24, 08:31 AM
roann's Avatar
roann roann is offline
TTD Staff
1.24 TB/594.30 GB/0.47
 
Join Date: Nov 2004
Location: Planet Earth
Re: TLH Shn Decoding Question + Torrent Question

Quote:
Originally Posted by EasilyFound View Post
OK. I'm getting the error message during decoding even with a shn file that I made just now. I had a .wav file that I converted to shn. TLH told me that it was created without any errors. The md5 checksum file verified. ...
Same on my side ...

Quote:
Originally Posted by EasilyFound View Post
... When I decoded that shn file, I get the error message that I have been getting whenever I decode using TLH. ...
No problem at all on my side. Again my question: what version of *TLH* do you use? If it's not v2.4.1 build 160 please upgrade (see TLH homepage).

Quote:
Originally Posted by EasilyFound View Post
... Next, I used the same .wav file and encoded to shn a second time, and verified the second shn file using the md5 checksum file from the first conversion, and the checksum from the first shn file matched the second shn file. ...
So at least the encoding process seems to work ...

Quote:
Originally Posted by EasilyFound View Post
... And when I decode this second shn, I get the same error message: "file is possibly truncated or corrupt."

So I'm stumped. ...
(1) Please try the same with target format *flac*. Still an error when decoding?
(2) Did you replace any of the files in the subdirectory CmdlineApps of TLH's installation folder with another version?

Quote:
Originally Posted by EasilyFound View Post
... Since I don't detect any flaw in the audio when it is played back, TLH either is telling me that there is the "possibility" of error, but there is no error, or there is some other kind of error that does not result in any discernable flaw in the audio. ...
An error in the shn data does not necessarily mean that you will hear any flaw. And btw, "truncated" tells you that the audio part of the file is shorter than it should be, i.e. audio data is missing (or the file header is corrupt).

Quote:
Originally Posted by EasilyFound View Post
... FWIW, the version of mkwACT that I have is version 2.1, February 1999.
There *never* was a version 2.1 of mkwACT. Don't know exactly but the last release was 0.96 or 0.97.
Reply With Quote Reply with Nested Quotes
  #14  
Old 2009-03-24, 05:13 PM
EasilyFound EasilyFound is offline
0.00 KB/0.00 KB/---
 
Join Date: Mar 2009
Re: TLH Shn Decoding Question + Torrent Question

Problem solved. I had an old version of TLH. I upgraded to the most current version and shn files decode without errors. Upgrade is great, btw, compared to the version I had been using. Thanks for your patience and information.
Reply With Quote Reply with Nested Quotes
Reply

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

Similar Threads
Thread Forum Replies Last Post
U-torrent question - drkhollow Technobabble 3 2009-03-02 02:22 PM
Question about a torrent I would like to post... - superhokie Technobabble 2 2007-06-26 09:34 PM
torrent question - vhrothfan Technobabble 7 2007-02-04 05:22 PM
torrent upload question - rhundley Technobabble 3 2005-11-04 06:44 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 04:22 AM.


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