Hello,

some soft can write audio to two formats: wav (propably pcm) and ogg. I need play this incerase file with another soft, which can read only VALID (I mean closed or streaming with any cast server) mp3 files.

At this time first:) soft write wav file to a fifo pipe in filesystem, and lame read incerase stream from pipe and write incerase mp3 file. Unfortunaly final soft can read only this part of mp3, which he read in in current time and stop.

Maybe who know how I can prepare this file ? Maybe modify/repair header? Maybe write direct to ogg? I read the lame manual, but i don't find anything about modify header. Maybe I should remove offset or lenght param form metadata but how? Final soft can play mp3 from icecast - maybe this is solution, but how is different between stream mp3 and closed file mp3?

Please help, and sorry for my english

PS. Others players (madplay) if running with about 35 sec (inside buff length?) delay read and play mp3 without stop, madplay can reread on the fly new lenght and continue playing w/o break.