Here are a few quickie scripts I've written which I find make
my life a little easier when dealing with audio/visual archiving:
- lamecd.pl
- I use this on my OS X machine when I want to encode MP3s using
LAME rather than the iTunes encoder. It takes care of the ID3 tags,
including things like track numbers. It's not perfect -- it tends to
run into trouble with some characters in track names -- but either I'll
get around to fixing that or someone else will and then they'll send
me the fix. Very simple to use: insert a CD, let iTunes do the CDDB
lookup, then:
cd /Volumes/Some\ Album
lamecd.pl "Artist Name" "Album Name" ~/directory-to-stash-mp3s
- wvcrrec.pl
- This one I use on my DVB-enabled Linux box. It takes the place
of "vcr" when using WebVCR+. You'll need to have some basic idea of
how the latter works to use it, and you'll need to modify the
%nets and %pids hashes to suit your location.
- batch-encode-setup.pl
- Requires Term::ReadLine. Use this to set up job control files
for batch-encode.pl (below). You'll want to modify the @h_* arrays
at the top to set up your own preferred default history content for
each question it asks.
- batch-encode.pl
- Requires mencoder and optionally wine plus PVAstrumento and dvb-mplex.
This uses the job control files created by batch-encode-setup.pl to do batched
encodes. I use these two for transcoding MPEG-2 streams captured by my
DVB-T card to MPEG-4 AVIs. There may be assumptions in this thing that
don't hold true for anyone else -- read through it and understand what
it's doing before using it.
- batch-dvd-encode.pl
- Requires a DVD-enabled version of mencoder. Similar to batch-encode.pl
(actually, it's a fork of the same script from before I added the
PVAstrumento support). Enter DVD title numbers as the input filenames
for batch-encode-setup.pl, then give the generated job control file to
this script and it'll rip and transcode all the titles you've selected.
It's mostly useful for TV-show compilation DVDs -- you can pop in a DVD
of AbFab and come back in the morning to a nice set of AVIs.