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"
ClintonKAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
You need to run "service icecast2 restart" and the likes. Probably system-supplied icecast script is already started.
0
 
ClintonKAuthor Commented:
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 ?
0
 
gheistCommented:
We met on the same question.... VLC-OK?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
ClintonKAuthor Commented:
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.
0
 
gheistCommented:
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
0
 
ClintonKAuthor Commented:
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
0
 
gheistCommented:
You can run VLC CLI in "screen" session (it is not mentioned how, but could save you frim involving desktop etc)
0
All Courses

From novice to tech pro — start learning today.