Downsampling streaming MP3s in Windows...

C

Clark Case

I've been playing around with Edna, which is a Python streaming MP3
server. My setup is a WindowsXP box with Python 2.3. I'd like to
downsample my high bitrate files, and based on some suggestions I
found on the Edna mailing list, I replaced the line where the MP3 was
being opened with the following line:

f = win32pipe.popen('c:\lame\lame --mp3input -f -b 64 "' + fullpath +
'" -', 'r')

where "fullpath" contains the path to the MP3 file. When try to listen
to the results through WinAmp, the stream seems to buffer up, but then
I get a few seconds of choppy noise and then nothing.

Do I need to somehow buffer the pipe on the server side? Any
suggestions would be appreciated.

Thanks,
Clark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top