shntool

Begonnen von grimes, 27. November 2008, 16:58:20

Vorheriges Thema - Nächstes Thema

grimes

shntool ist ein Kommandozeilen-Tool welches folgende Features bereitstellt:

Zitatshntool is a multi-purpose WAVE data processing and reporting utility that supports various lossless file formats with helper programs. These include SHN (via shorten), FLAC (via flac), AIFF (via sox), APE (via mac), OFR (via OptimFROG), LPAC (via lpac), and WV (via WavPack). It features len, fix, md5, pad, join, split, cat, cmp, cue, conv, info, and strip modes.
Zitatlen Displays length, size and properties of PCM WAVE data
fix Fixes sector-boundary problems with CD-quality PCM WAVE data
hash Computes the MD5 or SHA1 fingerprint of PCM WAVE data
pad Pads CD(hyquality files not aligned on sector boundaries with silence
join Joins PCM WAVE data from multiple files into one
split Splits PCM WAVE data from one file into multiple files
cat Writes PCM WAVE data from one or more files to the terminal
cmp Compares PCM WAVE data in two files
cue Generates a CUE sheet or split points from a set of files
conv Converts files from one format to another
info Displays detailed information about PCM WAVE data
strip Strips extra RIFF chunks and/or writes canonical headers
gen Generates CD-quality PCM WAVE data files containing silence
trim Trims PCM WAVE silence from the ends of files

Besonders möchte ich euch auf das Feature "trim" aufmerksam machen.
Beim Konvertieren von SHN nach FLAC mit foobar2000's Converter ist mir aufgefallen, daß die erzeugten FLAC's am Anfang und am Ende der Datei "Pausen" enthalten.
Dies ist besonders störend, wenn 2 Stücke ineinander übergehen.
"trim" entfernt diese "Pausen".
Die Kommandozeilensyntax lautet:
shntool trim -o flac *.flac
(Für andere verlustfreie Formate ist die Syntax entsprechend anzupassen)

Passabel einsetzbar zur Generierung von Hashcodes (mit hash)

Download: http://www.etree.org/shnutils/shntool/