Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 861
  • Last Modified:

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"
0
ClintonK
Asked:
ClintonK
  • 4
  • 3
1 Solution
 
gheistCommented:
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now