On 17 May 2010, at 21:07, Geoff Shang wrote:> On Mon, 17 May 2010, Jamie Bullock wrote: > >> I'm write an icecast source client and I'd like to support streaming of AAC encoded files. >> >> Can anyone tell me if and how this can be achieved with libshout2/icecast? > > I can't tel you as I don't know, but Ices0 can do AAC (IIRC) so you could look there.AFAICT, ices re-encodes the audio to MP3 before streaming. So we have AAC -> PCM -> MP3. Seems a bit of a waste of CPU -- I wonder if it is possible to stream AAC 'directly'? Jamie
Le lundi 17 mai 2010 23:36:53, Jamie Bullock a ?crit :> On 17 May 2010, at 21:07, Geoff Shang wrote: > > On Mon, 17 May 2010, Jamie Bullock wrote: > > > > > >> I'm write an icecast source client and I'd like to support streaming of > >> AAC encoded files. > >> > >> > >> > >> Can anyone tell me if and how this can be achieved with > >> libshout2/icecast? > > > > > > > > I can't tel you as I don't know, but Ices0 can do AAC (IIRC) so you could > > look there. > > AFAICT, ices re-encodes the audio to MP3 before streaming. So we have AAC > -> PCM -> MP3. Seems a bit of a waste of CPU -- > > I wonder if it is possible to stream AAC 'directlyNo it is not because libshout cannot send a custom mime-type (content-type) header. Romain
On Mon, 17 May 2010, Jamie Bullock wrote:> AFAICT, ices re-encodes the audio to MP3 before streaming.Oh duh! AAC input, not output. Ignore me. Geoff.
On 17 May 2010, at 22:42, Romain Beauxis <toots at rastageeks.org> wrote:> Le lundi 17 mai 2010 23:36:53, Jamie Bullock a ?crit : >> On 17 May 2010, at 21:07, Geoff Shang wrote: >>> On Mon, 17 May 2010, Jamie Bullock wrote: >>> >>> >>>> I'm write an icecast source client and I'd like to support >>>> streaming of >>>> AAC encoded files. >>>> >>>> >>>> >>>> Can anyone tell me if and how this can be achieved with >>>> libshout2/icecast? >>> >>> >>> >>> I can't tel you as I don't know, but Ices0 can do AAC (IIRC) so >>> you could >>> look there. >> >> AFAICT, ices re-encodes the audio to MP3 before streaming. So we >> have AAC >> -> PCM -> MP3. Seems a bit of a waste of CPU -- >> >> I wonder if it is possible to stream AAC 'directly > > No it is not because libshout cannot send a custom mime-type > (content-type) > header. >Ah OK, what should the mime-type be for AAC? I might be able to hack something. Jamie