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
  #91  
Old 2005-04-05, 07:16 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: Trader's Little Helper

Great tech support!
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #92  
Old 2005-04-06, 07:04 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: Trader's Little Helper

Quote:
Originally Posted by symon
I just rechecked it.
Still getting the Error: Invalid data box.

I can do an info mode check under Audio file details. Would that give you any clues?
(1) Mode check under "Audio file details" won't help.

(2) You should get an error message box similar to that on the first attached pic (errmsgbox.gif). What's the message for your file?

(3) Close the error message box with "Yes" and take a look at the log window. You should see a line similar to that on the second attached pic ("errmsglog.gif). What's the message for your file?
Attached Images
File Type: gif errmsgbox.gif
( 6.3 KB, 20 views)
 
File Type: gif errmsglog.gif
( 3.0 KB, 16 views)
 

Last edited by roann; 2005-04-06 at 07:10 AM.
Reply With Quote Reply with Nested Quotes
  #93  
Old 2005-04-06, 11:29 AM
symon's Avatar
symon symon is offline
184.53 GB/286.97 GB/1.56
 
Join Date: Nov 2004
Re: Trader's Little Helper

The text you either outlined or highlighted is missing from my messages.
So, no explanation as to what the error is. Just that there is invalid data and that there were errors.
Reply With Quote Reply with Nested Quotes
  #94  
Old 2005-04-07, 02:24 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: Trader's Little Helper

Quote:
Originally Posted by symon
The text you either outlined or highlighted is missing from my messages.
So, no explanation as to what the error is. Just that there is invalid data and that there were errors.
I experienced some odd behaviour of flac.exe / flac frontend some weeks ago. The flac files came from an incomplete show (no one had snatched this; the seeder didn't show up again). I tried to test/decode the files. For two of them flac.exe / flac frontend didn't report anything, and the files were decoded without an error message. The decoded files were *smaller* than the flac files ... is your decoded file smaller than the encoded one?

At the time the actual version of Trader's Little Helper was written I didn't know this could happen, so Trader's Little Helper will show you what flac.exe puts up. The upcoming version will handle this properly.
Reply With Quote Reply with Nested Quotes
  #95  
Old 2005-04-08, 07:21 PM
AAR.oner's Avatar
AAR.oner AAR.oner is offline
TTD Staff
1.11 TB/1.41 TB/1.27
 
Join Date: Feb 2005
Re: Trader's Little Helper

roann--

ran into an error tonight: "Integer Overflow"

when trying to verify an md5 sum...i ran the md5 thru mkw and it verified fine...so i tried to decode w/ TLH and it decoded without any error...

the files i was verifying were from a cassette tape that were transfered to shn, and the seeder left it as a single file for each side...i don't know if this could be the problem...the shn files were ~280MB for Track1 and ~180MB for Track2
__________________
TTD's Gear Lust Forum -- info & reviews on taping gear
The Basics of EQing
Reply With Quote Reply with Nested Quotes
  #96  
Old 2005-04-08, 07:33 PM
AAR.oner's Avatar
AAR.oner AAR.oner is offline
TTD Staff
1.11 TB/1.41 TB/1.27
 
Join Date: Feb 2005
Re: Trader's Little Helper

doh...it seems you already addressed this issue on an earlier page...shoulda paid closer attention!

thanks for TLH, does almost everything i want [except make me dinner] CHEERS!
__________________
TTD's Gear Lust Forum -- info & reviews on taping gear
The Basics of EQing
Reply With Quote Reply with Nested Quotes
  #97  
Old 2005-04-09, 12:57 PM
symon's Avatar
symon symon is offline
184.53 GB/286.97 GB/1.56
 
Join Date: Nov 2004
Re: Trader's Little Helper

Quote:
Originally Posted by roann
is your decoded file smaller than the encoded one?
No. The encoded file is 68.3mb, the decoded file is 113mb.
Reply With Quote Reply with Nested Quotes
  #98  
Old 2005-04-16, 12: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: Trader's Little Helper

Question:

When you fix SBE and keep them in flac, does the track stay at the same encoding level?

Does anyone know the answer for shntool?

It seems to me that it would since I don't believe it has to re-encode, but that's mere speculation on my part.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #99  
Old 2005-04-16, 12:50 PM
symon's Avatar
symon symon is offline
184.53 GB/286.97 GB/1.56
 
Join Date: Nov 2004
Re: Trader's Little Helper

And, while we're on the subject of fixing SBEs.. what is the difference between the different ways of fixing the SBEs - Forwards, backwards, etc. -? The default seems to be backwards. Does it matter?
Reply With Quote Reply with Nested Quotes
  #100  
Old 2005-04-16, 01:52 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Trader's Little Helper

I believe SHNtool (and therefore TLH) will reencode to compression level 5 when fixing SBEs.

Uhclem posted a batch file in the "recipie" thread that reencodes to level 8, but it would be a great feature for TLH if you could set the compression level (0-8) when fixing SBEs. It would also be great if TLH could autodetect when only the last track needs fixing and use the shntool pad -postpad -o flac [filename] command since right now (so far as I know) TLH can't fix a single SBE on the last track of a FLAC/APE/SHN set.

symon: ppl might cut their tracks very close to the first note of a song, so backwards is the safest and most sensible setting (altho somebody might convince me otherwise here). I like fixing SBEs in CEP where I can see exactly where the cue stop is in relation to the beginning of the song and I usually move it backwards.
__________________
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
  #101  
Old 2005-04-16, 02:37 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: Trader's Little Helper

How 'bout if you fix them while they're still shn?

Oh, and are you certain that it's encoding again? Or is it just moving bits of data around without decoding/encoding?
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #102  
Old 2005-04-16, 02:59 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Trader's Little Helper

Quote:
Originally Posted by feralicious
Oh, and are you certain that it's encoding again? Or is it just moving bits of data around without decoding/encoding?
good point... I'm pretty sure it's reencoding Uhclem would know 100% for sure.

Like I said, I normally fix SBEs with CEP so my experience is limited.
__________________
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
  #103  
Old 2005-04-16, 06:00 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: Trader's Little Helper

Quote:
Originally Posted by feralicious
Question:

When you fix SBE and keep them in flac, does the track stay at the same encoding level?

Does anyone know the answer for shntool?

It seems to me that it would since I don't believe it has to re-encode, but that's mere speculation on my part.
The track stays at the same encoding level, no re-encoding, only shifting bytes.

Quote:
Originally Posted by Five
I believe SHNtool (and therefore TLH) will reencode to compression level 5 when fixing SBEs.

... (so far as I know) TLH can't fix a single SBE on the last track of a FLAC/APE/SHN set.
Shntool (and therefore Trader's Little Helper) will not reencode to compression level 5 when fixing SBEs.

Trader's Little Helper can fix a single SBE on the last track of a FLAC/APE/SHN set. You need to enable the "Pad last file with zero-bytes" option for this.
Reply With Quote Reply with Nested Quotes
  #104  
Old 2005-04-16, 06:22 PM
jazzbo jazzbo is offline
18.28 GB/38.30 GB/2.09
 
Join Date: Nov 2004
Re: Trader's Little Helper

Quote:
Originally Posted by roann
The track stays at the same encoding level, no re-encoding, only shifting bytes.

Shntool (and therefore Trader's Little Helper) will not reencode to compression level 5 when fixing SBEs.
I don't see how it's possible, as it is bytes in the uncompressed audio stream, not the compressed side that need to be moved so the data needs to be piped back through flac by shntool in order to make the correction.

I also tested it, and shntool clearly recompresses at level 5 when doing a SBE fix.

First the original files:
Code:
kevin@dizzy:/data2/test$ shntool len *.wav
    length     expanded size   cdr  WAVE problems filename
     6:12.52       65744012    -b-   --   -----   track1.wav
     1:33.32       16479368    -b-   --   -----   track2.wav
     7:46.09       82223380 B                     (totals for 2 files, 1.0000 overall compression ratio)
Compress to flac level 8:
Code:
kevin@dizzy:/data2/test$ flac -8 *.wav

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

options: -P 4096 -b 4608 -m -l 12 -e -q 0 -r 0,6
track1.wav: wrote 32738704 bytes, ratio=0.498
track2.wav: wrote 7648176 bytes, ratio=0.464
Check the level 8 flac files:
Code:
kevin@dizzy:/data2/test$ shntool len *.flac
    length     expanded size   cdr  WAVE problems filename
     6:12.52       65744012    -b-   --   ---xx   track1.flac
     1:33.32       16479368    -b-   --   ---xx   track2.flac
     7:46.09       82223380 B                     (totals for 2 files, 0.4912 overall compression ratio)
Now do a quick fix of the files using shntool's fix mode taking a flac file as input and pushing it back out as a flac.
Code:
kevin@dizzy:/data2/test$ shntool fix -o flac *.flac
shntool [fix]: warning: no shift direction specified - assuming backward shift
track1.flac --> track1-fixed.flac ... done.
track2.flac --> track2-fixed.flac ... done.
Padded 'track2-fixed.flac' with 276 zero-bytes.
Let's check the file sizes and confirm the corrections. As you can see the uncompressed stream for track 1 was reduced in size, but the compressed file is now ~90k larger. That is because of shntool recompressing at level 5 rather than retaining level 8.

Code:
kevin@dizzy:/data2/test$ ls -l *.flac
-rw-r--r--  1 kevin kevin 32829902 2005-04-16 19:09 track1-fixed.flac
-rw-r--r--  1 kevin kevin 32738704 2005-04-16 19:05 track1.flac
-rw-r--r--  1 kevin kevin  7664871 2005-04-16 19:09 track2-fixed.flac
-rw-r--r--  1 kevin kevin  7648176 2005-04-16 19:05 track2.flac
kevin@dizzy:/data2/test$ shntool len *.flac
    length     expanded size   cdr  WAVE problems filename
     6:12.52       65743148    ---   --   ---xx   track1-fixed.flac
     6:12.52       65744012    -b-   --   ---xx   track1.flac
     1:33.32       16480508    ---   --   ---xx   track2-fixed.flac
     1:33.32       16479368    -b-   --   ---xx   track2.flac
    15:32.18      164447036 B                     (totals for 4 files, 0.4918 overall compression ratio)
Reply With Quote Reply with Nested Quotes
  #105  
Old 2005-04-16, 06:52 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Trader's Little Helper

Quote:
Originally Posted by roann
Trader's Little Helper can fix a single SBE on the last track of a FLAC/APE/SHN set. You need to enable the "Pad last file with zero-bytes" option for this.
ahh yes, thanks I should have seen that.

as jazzbo shows, shntool likes to recompress to level 5 which is annoying to most traders who use level 6-8 (6 recommended by etree, 8 recommended by me!). I appreciate all of your time an effort tremendously but if I ever decide to use TLH SBE fix, I would have to write to WAV then recompress to FLAC in a second step or else just go straight to command line...

Quote:
Originally Posted by jazzbo
5 (the default) and yes.

You have to use the cust format in shntool:

For example, here's a SHN file on my harddrive. (Sorry, all of my examples are in a unix shell, but the examples should be applicable to a Windows machine, just follow the instructions in the shntool documention about quoting the curly braces. But the important thing is I marked the file sizes so you can see the higher compression level working.)

/data2/bwq1977feb7$ ls -la bwq1977feb7track01.shn
-rw-r--r-- 1 kevin kevin 3437861 2004-06-27 17:40 bwq1977feb7track01.shn


Now, default FLAC compression from shntool at level 5:

/data2/bwq1977feb7$ shntool conv -o flac bwq1977feb7track01.shn
converting 'bwq1977feb7track01.shn' to 'bwq1977feb7track01.flac' ... done.

/data2/bwq1977feb7$ ls -la bwq1977feb7track01.flac
-rw-r--r-- 1 kevin kevin 3354437 2005-03-27 17:02 bwq1977feb7track01.flac


Now, force level 8 with the cust format:

/data2/bwq1977feb7$ shntool conv -o cust ext=flac8 { flac - -8 -o %f } -d . *track01.shn
converting 'bwq1977feb7track01.shn' to './bwq1977feb7track01.custom' ... done.

/data2/bwq1977feb7$ ls -la bwq1977feb7track01.flac8
-rw-r--r-- 1 kevin kevin 3345563 2005-03-27 17:05 bwq1977feb7track01.flac8


The cust command here is forcing the output extension to be flac8 (just for comparison purposes while I was running the test) and passing STDIN ("-") to be compressed at level 8. I couldn't get it to work without explicitly stating I wanted output in the present path with the -d switch.

Once you get the cust format working on your setup, you can use it for output with any of shntool's modules. You can also use cust to incorporate new compression formats into shntool without the support being waiting for support to be added to shntool.
http://www.thetradersden.org/forums/...7&page=2&pp=15

It would be so great to have this functionality in TLH if you find the time and/or have the inclination.
__________________
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
Reply

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

Tags
tlh, traders little helper

Similar Threads
Thread Forum Replies Last Post
trader's little helper ? - Mills1988 Lossy or Lossless? 4 2008-03-25 10:19 AM
Trader's Little Helper Help? - dannyandamie Technobabble 2 2007-08-26 12:44 PM
TRADER'S LITTLE HELPER ERROR... - Tuttle Technobabble 6 2007-01-16 05:46 PM
Trader's Little Helper errors, need help please: - donovana Technobabble 4 2005-12-22 05:08 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 12:15 PM.


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