On Tue, 16 Dec 2003 13:30:46 +1300
Paul William <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I have 2 mp3s that I want to join. The first is only a few seconds in
> length, the other is a few minutes in length and is VBR (Variable bit
> rate) encoded . 
> 
> Do you know of any command line tools that can do this. I dont want to
> first convert them to wav because re-encoding is luckily to decrease
> the  Doing a cat 2.mp3 >> 1.mp3 does not work. 


sorry that does not make much sense.

cat'ing the two files together will not work because each file has a
header, and you cannot just plomk two files together with the second header
in the middle. Also the different bit rates (ie one vbr, the other not)
might also cause problems.

There are plenty of wav joining tools, so converting back to wav,
joining, and then re-encoding seems like an option. You have dismissed
that, probably for good reason, but unfortunately your reasons seem to
have become jumbled somewhere between brain and keyboard. 

You coud try finding out what the mp3 format says about headers, strip
the header off both files to leave the plain encoded file, cat them together
and write a new header at the start of the file (actually probably the
other way round, make the header and then cat in the two files after the
header)


> 
> Google hasn't turned up much except windoze shareware.
> 
> Cheers
> Paul
> 
> -- 
> 
>  .''`.     Paul William
> : :'  :    Debian admin and user
> `. `'`
>   `-  Debian - when you have better things to do than fixing a system
> 

--
Nick Rout
Barrister & Solicitor
Christchurch, NZ
Ph +64 3 3798966
Fax + 64 3 3798853
http://www.rout.co.nz
[EMAIL PROTECTED]

Reply via email to