Neo Jiun Siang - R&D
2006-Feb-07 03:58 UTC
[Icecast] guideline for plug-in to icecast2 server
hi actually im trying to add feature to ices2 to able to stream mix file format such as ogg and mp3 in the same playlist.m3u without extra decoding and encoding that function like ezstream. the reason i dont want to use ezstream as source client becoz after going thru decoding and encoding, the audio quality drops. Therefore im trying to find out is there any easy way out to add plug-in to ices2 such as it has the feature of ices0 too please adivse thank you -----Original Message----- From: Geoff Shang [mailto:geoff@hitsandpieces.net] Sent: Monday, February 06, 2006 5:27 PM To: Neo Jiun Siang - R&D Cc: icecast@xiph.org; njsalan@hotmail.com Subject: Re: [Icecast] guideline for plug-in to icecast2 server Neo Jiun Siang - R&D wrote:> i would like to find out is that any ways to add plugin to icecast2 > and ice2 to stream mp3 .Is there a list of gulidline for adding feature > to present icecast2 and ices2. i will a appretiated for the help from > icecast memeber and developer thank youI'm not sure exactly what you're asking. Ices2 only streams in Ogg Vorbis, and won't ever stream in MP3. There are other programs which can do this, depending on whether you want to stream live content or MP3 files. Perhaps we could help you further if you tell us *exactly* what you want to do, including which operating systems are involved. Chances are that something has already been written that will do what you want, or at least something that will make your job easier. Cheers, Geoff. .
Neo Jiun Siang - R&D wrote:> actually im trying to add feature to ices2 to able to stream mix > file format such as ogg and mp3 in the same playlist.m3u without > extra decoding and encoding that function like ezstream. the reason > i dont want to use ezstream as source client becoz after going thru > decoding and encoding, the audio quality drops. Therefore im trying > to find out is there any easy way out to add plug-in to ices2 such > as it has the feature of ices0 too please adivse thank youWhat you want to do can't be done. You can't have Ogg Vorbis and MP3 audio in the same stream. The reason is simple. Once you start listening to a stream, the decoder for that format is launched and decodes the stream. there is no opportunity for the opening of another decoder to decode another codec. You could end the current stream and start another, but the player would have to know what to do when the first stream ended so it could pick up the second one. And since some players are not intelligent enough to look at the MIME type, not all players would cope with just being put on repeat. I guess it could be done if someone decided to implement MP3 in Ogg, but I doubt that anyone's interested in doing that. And then you'd need a player which would be able to play it. If you don't want to reencode at all, rerip your audio as all one format or the other and use either Ices or EZStream to send it. Otherwise you'll have to reencode on the fly. Sorry, but they are your only two options as far as I can see it. Geoff.