Link to home
Start Free TrialLog in
Avatar of ClintonK
ClintonKFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Cannot start Icecast2 on Ubuntu 14.04

I have a clean Ubuntu 14.04 build and have installed icecast2 using apt-get. I have taken the defaults through the install config and then attempted to run "icecast2 -c /etc/icecast2/icecast.xml" to start it. I get the error "Server startup failed. Exiting"
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ClintonK

ASKER

Thanks. I can now start Icecast!
Now to my reason for installing Icecast....
I have an IP camera with video output on http://192.168.1.5/video1.mjpg or alternatively rtsp://192.168.1.5/live1.sdp

How can I configure Icecast to stream this ?
We met on the same question.... VLC-OK?
We did indeed and I think I must be missing the point entirely. I'm expecting three components in this solution....
IP Camera ----> Icecast2 -----> Webpage

When you talk about VLC I don't understand how this fits into the solution. Perhaps I'm assuming Icecast does more that it does? I'm expecting it to take input from the camera, recode it and send it back out in a different format. Maybe I've completely misunderstood what Icecast does because I can't even get near the solution I'm looking for.
IP camera -> VLC/VLC-CLI/ffmpeg/mpalyer -> icecast -> link in webpage to m3u

where VLC plays http:/rtsp: URL of video stream to shoutcast output plugin.
In VLC:
Media/Stream
"network"
Stream/Stream
New destination: IceCast

Then use common sense to guess m3u file associated with stream and put a link to that in a webpage
This starts Icecast successfully. The confusing thing is that the documentation on the Icecast web site doesn't mention this. However, this is the answer to my question. Thanks
You can run VLC CLI in "screen" session (it is not mentioned how, but could save you frim involving desktop etc)