Solved

Cannot start Icecast2 on Ubuntu 14.04

Posted on 2015-01-06
7
686 Views
Last Modified: 2015-01-11
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"
0
Comment
Question by:ClintonK
  • 4
  • 3
7 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40536249
You need to run "service icecast2 restart" and the likes. Probably system-supplied icecast script is already started.
0
 

Author Comment

by:ClintonK
ID: 40536849
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
 
LVL 62

Expert Comment

by:gheist
ID: 40536874
We met on the same question.... VLC-OK?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:ClintonK
ID: 40536884
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
 
LVL 62

Expert Comment

by:gheist
ID: 40536904
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
 

Author Closing Comment

by:ClintonK
ID: 40543417
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
 
LVL 62

Expert Comment

by:gheist
ID: 40543422
You can run VLC CLI in "screen" session (it is not mentioned how, but could save you frim involving desktop etc)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now