Hi,
        I was wondering if there is anyone who can help me
with streaming a wave file into Lame. I have been
experimenting with the distmp3 Perl scripts, which
allow encoding on a remote machine. They recommend
using 8hz-mp3 as it is the only one that can identify
the wav header, why is this?

You can run distmp3 with Lame with the following
drawbacks.

Lame does not identify the fifo stream as being a wav
file, it cannot find it's place in the file.

If you run lame with -x for byte swapping it will
encode the PCM stream, but it will also treat the wav
header as part of the audio data.

Looking at the 8hz source I think I see how it handles
a wav file it opens an array and reads the wav header
in, extracts the necessary information and carries on.

I can't work out how lame uses the wav header, but it
seems that rather than just pulling the data in, it's
trying to perform some kind of jump?

For the record I'm playing with 3.13 because I could
see no reference in the changelog of there being any
additions to lame for streaming, apart from the
examples for raw pcm data

Herbie

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to