View Single Post
  #105  
Old 2005-04-16, 06:52 PM
Five's Avatar
Five Five is offline
 
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