[Icecast] IceCast and ICES
José Luis Artuch
artuch at speedy.com.ar
Thu Nov 28 19:51:42 UTC 2019
Hi Pete,
El jue, 28-11-2019 a las 09:51 -0500, Rondejavu escribió:
> I am starting IceCast first. The log indicates that everything is
> working. Maybe I need to change something in my HTML code?
>
> audio controls
> Source src=“ipaddress:port/stream”
> /audio
>
> -Pete
>
Not change your HTML code, in fact, it is already working ok. You must
solve the problem on the source side.
As Paul said, try some audio format supported by Ices2, such as ogg,
opus ...
The log of *Ices2* should be similar to:
[2019-11-24 23:04:10] INFO ices-core/main IceS 2.0.2 started...
[2019-11-24 23:04:10] INFO input-alsa/alsa_open_module Opened audio
device default
[2019-11-24 23:04:10] INFO input-alsa/alsa_open_module using 2
channel(s), 44100 Hz, buffer 341 ms
[2019-11-24 23:04:10] INFO input-alsa/alsa_open_module Starting
metadata update thread
[2019-11-24 23:04:10] INFO signals/signal_usr1_handler Metadata update
requested
[2019-11-24 23:04:10] DBUG metadata/metadata_thread_signal reading
metadata from "/etc/ices2/metadata"
[2019-11-24 23:04:10] INFO encode/encode_initialise Encoder
initialising in VBR mode: 2 channel(s), 44100 Hz, quality
[2019-11-24 23:04:11] INFO metadata/metadata_thread_signal tag 1 is
TITLE=
[2019-11-24 23:04:11] INFO metadata/metadata_thread_signal tag 2 is
ARTIST=
[2019-11-24 23:04:11] INFO metadata/metadata_thread_signal tag 3 is
ALBUM=
[2019-11-24 23:04:11] INFO metadata/metadata_thread_signal tag 4 is
CONTACT=
[2019-11-24 23:04:11] INFO metadata/metadata_thread_signal Updating
metadata
[2019-11-24 23:04:11] INFO stream/ices_instance_stream Connected to
server: localhost:6666/entzun.opus
[2019-11-24 23:04:11] DBUG encode/encode_clear Clearing encoder engine
[2019-11-24 23:04:11] INFO encode/encode_initialise Encoder
initialising in VBR mode: 2 channel(s), 44100 Hz, quality
Best regards.
José Luis
> > On Nov 27, 2019, at 7:08 PM, Jos� Luis Artuch <artuch at speedy.com.ar
> > > wrote:
> >
> > Hi Rondejavu,
> > > El mié, 27-11-2019 a las 15:57 -0500, Rondejavu escribió:
> > > I’ve successfully implemented IceCast on a Raspberry Pi and can
> > > access the stream ONLY if I use an ffmpeg statement to start the
> > > stream. Unfortunately, the stream is choppy and the sound quality
> > > is
> > > poor. I’ve tried using ICES, but I don’t get any sound.
> > >
> > > Terminal command that works:
> > > ffmpeg -ac 2 -f alsa -i hw:0,0 -acodec mp3 -ab 48k -ac 2
> > > -content_type audio/mpeg -f mp3
> > > icecast://source:password@ipaddress:port/stream
> > >
> > > ICES terminal command that doesn’t work:
> > > ices2 /home/pi/ices-2.0.2/conf/ices-alsa.xml
> > >
> > > What am I missing? Thanks for any help/suggestions.
> > Take a look at the logs, at ices-alsa.xml and also start Icecast2
> > firstly.
> > Regards.
> > José Luis
> > > _______________________________________________
> > > Icecast mailing list
> > > Icecast at xiph.org
> > > http://lists.xiph.org/mailman/listinfo/icecast
More information about the Icecast
mailing list