Date: Sat, 16 May 1998 23:52:43 -0700 From: grady@scam.XCF.Berkeley.EDU To: The Hermit Hacker <scrappy@hub.org> Cc: multimedia@FreeBSD.ORG Subject: Re: new audio mpeg encoder Message-ID: <199805170651.XAA12980@hub.freebsd.org> In-Reply-To: Your message of Sat, 16 May 1998 23:30:11 -0400 (EDT) <Pine.BSF.3.96.980516232942.7413B-100000@d117-h041.rh.rit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I used tosha to grab the track, which produces a wave file, no? But I get
> > told:
>
> No.
>
> >From the tosha(1) manpage:
> The output data is in linear PCM format, headerless (raw),
> 44.1 kHz, signed 16 bit stereo. If you need a different
> format, use sox(1) to convert it.
Specifically, you might want a script such as:
#!/bin/csh
tosha -t 1-100
foreach f (*.pcm)
set g=$f:r
set w=$g.wav
set m=$g.mp3
echo Converting $f to $w
sox -t raw -r 44100 -s -w -c 2 $f $w
rm $f
8hz-mp3 $w $m
rm $w
end
If you're low on disk space, you'll probably want to grab the tracks
one at a time, instead of all at once. The changes are left as an
exercise for the reader.
Steven
--
"_My_ side of the woods abounds in natural scenic splendor. _Your_
side wallows in decay and filth. My territory is infinitely superior
to yours."
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805170651.XAA12980>
