[icecast] Transcoding ogg with curl, oggdec, ices2: problem after fallback due to oggdec
giles at xiph.org
Wed Feb 4 10:09:21 PST 2004
On Sun, Feb 01, 2004 at 07:20:40PM +0100, root wrote:
> I have more info about that problem...
> curl | oggdec | ices will never work to my opinion with fallback setup on source
> because when transfering listeners to fallback, no ogg headers are sent, so
> whatever we do, oggdec will not be happy with the data received...
I took a look at this. It is true that oggdec does not support chained ogg vorbis steams, so it's
basically not going to work with streamed situations in general. Now, if you comment out the check
for the chain boundary on line 246, it will work in this applications AS LONG AS THE AUDIO
PARAMETERS DON'T CHANGE. The issue is not that "no ogg headers are sent" it's that if the new set
of vorbis headers for the fallback stream specify a change in audio parameters (since oggdec does
samplerate conversion, this just means number of channels) there's no way to pass that information
on with the pcm stream to ices.
So basically you want to be rebroadcasting the ogg stream, not re-encoding it.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast