[NTLUG:Discuss] playing streaming audio

Kyle_Davenport@compusa.com Kyle_Davenport at compusa.com
Tue Oct 7 16:42:42 CDT 2003


the mod_mp3 mailing list has talked about this.  mod_mp3 is a streaming mp3
server module for apache.  works great for me, but of course you can't
rewind and forward a stream.  How is the player/server supposed to know how
far forward or backward to go?   I have a simple suggestion.  xmms uses the
file size, so just make an empty 60 minute mp3 file.  You may want to start
with a real mp3 file header and append empty space to it, so xmms doesn't
get confused.  I just tried it now and wrote additional mp3 data into it as
xmms was playing, and had no problem forwarding or rewinding.  If you go
past the end of real data, xmms will just start at the beginning again.
You can use mp3info to mess with the file attributes too.

Kyle

From: Jack Snodgrass <jack+ntlug at mylinuxguy.net>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
   I am using XMMS to access a mp3 file that is actively growing.
I am recording audio from my line-in input and going direct to .mp3
using notlame to encode it. I encode it in 60 minute samples.

   XMMS doesn't 're-read' the .mp3 file as it grows so it has some
issues when you get to the 'what XMMS thinks is the end, but it's not'
posistion in the .mp3 file. XMMS keeps playing, but you can't rewind or
advance past the false end.

   Does anyone know of a better player to play 'dynamic/streaming' mp3
files?
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<






More information about the Discuss mailing list