[Linux-disciples] Concatenating sound files with mplayer
Stephen R Laniel
steve at laniels.org
Mon Apr 25 22:35:11 EDT 2005
On Mon, Apr 25, 2005 at 09:12:45PM -0400, Adam Rosi-Kessel wrote:
> I don't think that will work if the WAV files have headers, which most do
> (other than "raw waves").
Looks like mplayer generates raw WAVs by default if you do
-ao pcm; see man mplayer(1):
pcm
Raw PCM/wave file writer audio output. Writes the sound to
./audiodump.wav.
> I think you can do sox infile1.wav infile2.wav infile3.wav outfile.wav
> and that should work.
It didn't, unfortunately. Looks like sox doesn't actually
make concatenation easy. See, e.g.,
http://www.boutell.com/scripts/catwav.html
Presumably the easiest approach is to manually output raw
WAVs using mplayer, cat them together, then use mplayer to
reformat them using whatever your chosen codec is.
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050425/7ed6169c/attachment.pgp
More information about the Linux-disciples
mailing list