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-04-20, 12:08 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Experts! Here's a puzzle for you... or maybe just a question from me.

Okay, so I have a show that is just one shn file and the md5 of the wav. Nothing else came with it. So here's what I did:

1 - decompressed to wav with MKWAct to check the md5, it's fine.

2 - tried to convert wav to flac in Flac Frontend, at 99% got an error:
ERROR: got partial sample

checked the st5 for it and the wav and shn anyway to see what it came up as:
Quote:
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.shn
b3699efe442c91bd5e3ba80d4da42184 [shntool] Prince + Carlos - Santana Medley.flac
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.wav
3 - tried to convert shn to flac in foobar, no errors reported:
INFO (foo_flaccer) : Encoding finished successfully
checked st5:
Quote:
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.shn
a9158820ac7cc6437541c118f97c35c1 [shntool] Prince + Carlos - Santana Medley.flac
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.wav
as you can see, the flac has a different st5 than the other flac I made, but still doesn't match the shn and wav.

4 - tried to convert wav to flac in foobar, no errors reported:
INFO (foo_flaccer) : Encoding finished successfully
checked st5:
Quote:
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.shn
a9158820ac7cc6437541c118f97c35c1 [shntool] Prince + Carlos - Santana Medley.flac
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.wav
same as the other foobar conversion.

Checked for SBE and there is one. Plus another error:
Quote:
length expanded size cdr WAVE problems filename
10:05.23 106776594 -b- -- -a-xx Prince + Carlos - Santana Medley.shn
10:05.23 101.83 MB (total for 1 file, 0.7737 overall compression ratio)
length expanded size cdr WAVE problems filename
10:05.23 106776592 -b- -- ---xx Prince + Carlos - Santana Medley.flac
10:05.23 101.83 MB (total for 1 file, 0.7115 overall compression ratio)
length expanded size cdr WAVE problems filename
10:05.23 106776594 -b- -- -a--- Prince + Carlos - Santana Medley.wav
10:05.23 101.83 MB (total for 1 file, 1.0000 overall compression ratio)
Looked up what the a meant:
'a' audio data is not block-[a]ligned
But I still don't know what that means. Is that what's screwing up my flac? Why is the shn okay? How do I get rid of the a?

Okay so now I'm tying to figure out how to fix just one track. I lost the shntool command for it and I'm searching, but in the meantime I have step #5

5 - tried converting to flac using Batchenc:
ERROR: got partial sample (same as Flac Frontend)
checked st5:
Quote:
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.shn
b3699efe442c91bd5e3ba80d4da42184 [shntool] Prince + Carlos - Santana Medley.flac
6faa4359559caa616d64bfaae1d06053 [shntool] Prince + Carlos - Santana Medley.wav
flac has same hash as the one generated with Flac Frontend.

So this makes me wonder how good the conversion process is in foobar? I'm using foobar2000 0.8.3, configured per Five's guide, except I've now changed the encoding level to 5.


So how 'bout them apples? And how the hell do I fix just one track? TLH is supposed to do it but it doesn't. Okay fixed just the one track using Batchenc. Now I'll try the flac conversion again....


Okay SBE is fine now, no errors at all.

Flac encoding in Flac frontend fine and st5 matches wav
Quote:
ce7928e216e2ed535f2f84a46aa2670a [shntool] Prince + Carlos - Santana Medley-fixed.flac
ce7928e216e2ed535f2f84a46aa2670a [shntool] Prince + Carlos - Santana Medley-fixed.wav
All is well in Hooville again.

My questions are now:

What's up with foobar not giving any indication of an error?

And what is that "a" error and how does it occur and why did it only affect the flac conversion, yet the shn file I had was okay?
__________________
feralicious goodies
Don't get even.
Get odd.

....

Last edited by feralicious; 2005-04-20 at 02:04 AM.
Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-04-20, 12:15 AM
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: Experts! Here's a puzzle for you... or maybe just a quesion from me.

And that is why I get nothing else done around here.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-04-20, 03:10 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Experts! Here's a puzzle for you... or maybe just a question from me.



I'll have to do some playing around with the different encoders and compare .st5s in an attempt to figure out wtf is going on here. I'll try to find some time to do this in the next couple days. I've never got the "a" error and the description is a little cryptic... I bet uhclem knows what that means.
__________________
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
  #4  
Old 2005-04-20, 07:21 AM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

I want that shn file.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-04-20, 02:03 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: Experts! Here's a puzzle for you... or maybe just a question from me.

Quote:
Originally Posted by ssamadhi97
I want that shn file.
All you ever want me for is my shn files.

Okay, I'll send it to you... check your pms.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-04-20, 03:34 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

Quote:
Originally Posted by feralicious
All you ever want me for is my shn files.
Please insert Doorcock's sexual come-on here > ______________________
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-04-20, 03:44 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

Playback and record software must process a multiple of nBlockAlign bytes of data at a time. Data written
and read from a device must always start at the beginning of a block. For example, it is illegal to start
playback of PCM data in the middle of a sample (that is, on a non-block-aligned boundary).

The blockSize specifies the size in bytes of the block to which you would align the sound data. A blockSize of zero indicates that the sound data does not need to be block-aligned. Applications that don't care about block alignment should set the blockSize and offset to zero when creating Audio IFF files. Applications that write block-aligned sound data should set blockSize to the appropriate block size. Applications that modify an existing Audio IFF file should try to preserve alignment of the sound data, although this is not required. If an application does not preserve alignment, it should set the blockSize and offset to zero. If an application needs to realign sound data to a different sized block, it should update blockSize and offset accordingly.

Last edited by pmonk; 2005-04-20 at 03:54 PM.
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-04-20, 03:55 PM
dorrcoq's Avatar
dorrcoq dorrcoq is offline
Champion of the Silent
TTD VIP
727.47 GB/6.74 TB/9.49
 
Join Date: Nov 2004
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

does Nina every download anything WITHOUT problems?
__________________
DON'T MESSAGE ME FOR RE-SEEDS. I DO NOT DO THEM!
Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-04-20, 03:57 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

My understanding is a wave file are made up of "chunks" of date aligned in fixed-size blocks to ensure real time recording and playback of audio.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-04-20, 04:02 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

I spoke about this with feralicious in a pm but I might as well add my 2 cents here, just so that people know this isn't a problem or flaw with FLAC. pmonk has already posted more about the subject than I know, and I expect ssamadhi to have something interesting to say about it when he's finished tinkering with the shn file.

But basically flac produced a different fingerprint because it realigned the data during conversion. However, when decompressing to wav, shorten didn't bother to fix it, so the fingerprint didn't change. That's the reason for the difference.

Now I'll leave it to ssamadhi to tell us how this shn file got that way in the first place.
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-04-20, 04:50 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

Not having looked at the shn yet, I'd suspect that part of the last sample in the track has been eaten by the truncat
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-04-20, 07:18 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: Experts! Here's a puzzle for you... or maybe just a question from me.

Quote:
Originally Posted by dorrcoq
does Nina every download anything WITHOUT problems?
Hey those are other people's problems that I end up fixing!

And what are you doing in this thread anyway? It clearly said it was for "Experts".
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-04-20, 08:04 PM
h_vargas
0.00 KB/0.00 KB/---
 
Re: Experts! Here's a puzzle for you... or maybe just a question from me.

it's the curse of FLAC Past. (just a small joke.)

sorry i can't be of more help on this one...
Reply With Quote Reply with Nested Quotes
Reply

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

Similar Threads
Thread Forum Replies Last Post
utorrent puzzle checking torrents - lbrow65 Technobabble 0 2007-10-06 08:27 PM
MP3 Question for mods or torrent experts - Tide Technobabble 4 2005-03-07 07:58 AM


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 11:48 PM.


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