[plug] Split a 1.3GB file in half

Mike Holland myk.list at westnet.com.au
Thu Sep 29 18:37:00 WST 2005


Matthew Lambie wrote:
> I thought it was the other way around: that WAV files don't have headers
> and are just 'raw" audio, and that MP3 files did have headers. I know
> "catting" two MP3s together "works" but leaves a little "blip".

mpeg files are a sequence of frames/packets. There are frame headers but
no file header. An encoder may put a special frame at the start, but
that isn't part of the MPEG-1 standard, so isnt needed.
Most players (afaik) will skip junk at the beginning of a file, and look 
for a frame start code.

If you have a WAV file with no header, you need to know the sample rate, 
etc.

> I was thinking that dd might be the way to go, like how people use it to
> bust a backup into CD-R sized pieces.

dd is a bit of a relic from the tape-reel days, but it still works.

>>See the head(1) and tail(1) man pages, especially the -c option.




More information about the plug mailing list