Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: batch SHN -> FLAC? (Read 2615 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

batch SHN -> FLAC?

Short question: where's the Linux tool to convert SHN files directly to FLAC, skipping any intervening (WAV) data creation?

Longer, detailed grovel: OK, maybe I bet on the wrong horse, but I've got 500GB of my CDs on HD, in Shorten (.shn) format  . I want to transcode them to FLAC, on my Linux/i386. There are no metadata fields, just about 100 directories, each with about 20 "CD" subdirs, each with about a dozen SHN files, named 0...N (eg "12"). I have a MySQL database filled with the metadata, keyed to the path, so I just need a Linux tool that can convert the SHN files to FLAC, regardless of metadata. The server is a measly P3/550MHz/512MB with 4 160GB 5400RPM EIDE drives, running Debian 3.0r1 (and some "unstable" packages). I can write a script to walk the directories, but I don't want to use the existing Linux "shorten" and "flac" tools. If I can skip the SHN->WAV and WAV->FLAC conversions, and go straight from SHN->FLAC in one conversion, I'll save about 50% of the time, which will be considerable to R/W 500GB even at the EIDE bus bandwidth of about 4MBps (probably about 2 days solid). I wish Linux "sox" would do this, but it supports neither FLAC nor SHN. Where's the transcoder?

batch SHN -> FLAC?

Reply #1
Shntool is just what you're looking for.