Re: debian and multimedia
On Mon, Sep 25, 2000 at 09:50:10AM -0700, email@example.com wrote:
> > Some specific apps I'm interested in are:
> > [...]
> > * Distributed audio extraction. My family has over 1000 phonograph
> > albumns, over 500 8-track cassettes (don't ask) and around 200 audio CDs.
> > The tetrabyte or so of storage(!) needed for them beside the point, audio
> > encoding and processing could be load-balanced across our network.
On Tue, Sep 26, 2000 at 11:48:40PM -0400, Matt Zimmerman wrote:
> Have you tried the distmp3 package? I have no personal experience with it; I
> only know that it exists.
Rather than write a custom tool for batch encoding mp3's I'd suggest using
a general purpose batch system for your cluster. GNU Queue (non-Posix)
and DQS (no commercial distribution) have been packaged. PBS and GNQS are
also Posix-ish batch systems with free licenses (.. nudge ..).
For example, to use DQS, vorbis, grip, and cdparanoia add something like
the following to .grip:
ripcmdline -d %c %t:[.%b]-%t:[.%e] %f
mp3cmdline %o %f
where vorbqueue is just a wrapper that submits the vorbize and rm .wav
commands to the queue system and immediately returns. As far as your ripper
is concerned the conversion has already taken place and you can start
ripping the next CD right away. If you have multiple machines and a large
shared filespace you can even rip on several machines at once and not worry
about where the encode is done - the only queue limit is the diskspace to
store the unencoded tracks between rip-time and encode-time.
qsub << EOF
/usr/bin/vorbize -w $1 $2