Icecast video

To stream audio or video to Icecast using VLC you need to first ensure you have the right module installed. If you are using Linux you will need to download the latest source code and install VLC with the shout module.

To install this module in Linux you will need to configure VLC with the --enable--shout parameter. If you are using Linux you will need to double check the shout module is installed before you progress. To do this type the following into a terminal:. This means you have the right module available for streaming to an Icecast Server.

If you don't have this module you are going to have to read up on how to install it. To work around this, you may need to re-compile VLC but before doing so edit the file shout. This file is located here:. To check if the Shout Module is installed on Microsoft Windows you will need to open the Preferences window from the Settings menu:.

Notably, there will be an item labled Shoutcast.

Subscribe to RSS

If you don't see this then the Shoutcast module is not installed. If it is not installed then try downloading the latest installer and install VLC again. If you do see it then you should be able to stream to Icecast. Clicking on the Shoutcast icon should show you something like this:. We will look at streaming archived files to an Icecast Server. To do this you need access to an Icecast Server or someone needs to create you an account and give you the access details.

You need to know the following details about the Icecast Server :. You can stream audio or video with VLC to Icecast. However this has variable results depending on what operating system you are using.

For now we will look at streaming an audio file. Now from the File menu choose Open File. This will open a file browser so you can browse click the Browse button through your harddisk and choose an audio file to stream.

icecast video

For the purpose of this excercise choose an MP3 audo file, and then press the Open button at the bottom right.This tutorial explains how to create IceCast streaming server free.

In this post, I will talk about how you can setup and get running your own IceCast server and offer live streaming. If you have a little technical knowledge then you will understand this very quickly.

Here it will talk about a couple of tools which will help you create your own radio server and then you can live stream on it.

The Best IceCast Tutorial Ever

For example, if you want to create the radio server on your home and office network then you can do that. You may try other streaming tools for the same thing but IceCast is standard internet radio. You can think of it as a protocol, specifically designed for internet radio streaming.

Here using it, you can serve songs on your radio server and you can also opt for live recording in the order you want to broadcast some message.

You can engage some other people and talk to them and all this will be served live over the radio. Internet Radio is kind of a thing these days as it has always been and if you want to create your own radio then here this post will demonstrate that in full details.

You can create a public server and serve live streaming URLs and URLs for online playlists so other users can stream music using them. For sending audio and live recordings, and music playlists to the IceCast server that you create, I will mention a handy software for that as well. You just have to connect to your server and then send content that you want to broadcast. If you have a Windows or Linux server then you can easily create a IceCast server on it.

For this post, I will be running the IceCast server on Windows machine. To do this, we will use two different free tools. So, first we will install and configure the server and I have divided the whole process in two parts. After downloading the IceCast server executable, simply install that. After it installs successfully, you will have to configure.

It comes with an XML file in which you can configure a lot of parameters. From admin password to the name of your server, you can tweak almost anything. So, after you install it, launch the configuration file in notepad or in any text editor and then change password fields and some others if you know then. However if you wanna then you can go with default configuration as well.

Now, launch the server. Run IceCast console from the Start menu and then allow any Firewall warnings if it gives any. When you see status of the server as up, enter localhost in the address bar of the browser.

The main interface will show up. You sign in your admin panel to see status of the server. It shows the stream URL there as well and all the broadcasting stream will appear there when you send them. Now, at this point we are done with the IceCast server part. The server is up and running. Only thing we have to do now is to send some music stream to the server.

And you can also send live recording to the server, You will speak in the mic and it will stream live, thus serving the purpose of the radio.Right click on the "Scenes" table and then click on "Add scene".

This enables you to add devices to your scene for the stream. In the "Sources" table, right click and add the capture device of your preference and click "OK".

icecast video

The streaming server will require streaming credentials from your OBS by default. These are provided as well: find them in your control panel or in the welcome email you received when the account was activated. For example, if you need to stream at 1mb bitrate, you would need a 3mb upload speed from your provider just to leave some headroom and make sure everything goes smoothly. A kbps total bitrate will deliver a high quality stream again, depending on your internet connection and the viewers internet connection and is a maximum recommendation for streaming purposes.

Encoder should be x A kbps audio bitrate will deliver a high quality audio stream. All rights reserved. Sales: Contact Us Login Support. Stream with OBS Tutorial. Click Apply to get to the next step. Did you know we sell streaming services? Radio Streaming Services. Video Streaming Services. Resources Knowledge Base.Streaming live video to Icecast can be tricky, there are not many source clients out there that are able to handle video fine, especially when you do not want to just stream prepared playlists but actual live content.

A very good program for video source composition and live streaming is OBS, the Open Broadcaster Studio, which a lot of streamers are using to broadcast to Twitch or other streaming sites. A little known fact though is, that you can stream with it to an Icecast server. Technically it is not really streaming, as far as OBS is concerned, as what we are going to use for this is the OBS recording functionality.

It allows to use FFmpeg to transcode and process the recoding and given that ffmpeg has an Icecast stream output, this means we can use that to send our stream to Icecast! I assumed you already have installed and done a basic configuration of your Icecast server. To be able to stream video, we need to adapt the config a little bit, so that the Icecast buffer for our video stream will be large enough to hold enough data.


This can be done either globally for all mountpoints, which is appropriate if you only plan to stream video with this Icecast instance. To change it globally, in the limits section adjust the queue-size and burst-size. The burst size indicates the amount of data that is sent to a viewer client at once, when it connects.

The queue size is the size of the whole queue of data Icecast uses internally per stream, therefore it needs to be larger than the burst size! Alternatively, if you do not only stream video or have mountpoints with very varying bitrates, you can set those options per mount:.

For type you need to select the custom FFmpeg output. The URL is in the form of:. The username unless you configured it otherwiseneeds to be set to source. For example, if your Icecast runs on localhost, has the default settings, source password hackme and you want to stream on the mount example. Now you need to select the container format. There are a lot of options, note that depending on what you choose, it might not work. Some container formats require special handling to be streamable, others like mp4 or mov are not live-streamable at all, some require special other settings to work fine.

For simplicitly of this example, I will be using MPEG-TS, note that this is not officially supported by Icecast but works mostly fine as it does not require any special handling by Icecast and works fine with Icecasts default handling for unsupported containers. Officially supported containers in Icecast are currently Ogg and WebM. Now a very important part, the muxer options.

Those options are passed to FFmpeg and you need to setup the Icecast output module here.Recent studies indicate that online audio and video streaming and other multimedia resources are becoming more popular than conventional TV and radio by making use of different tools such as IcecastShoutcastLiquidsoapetc.

In the past, conventional TV and radio stations broadcasted their content over the internet as an alternative source for consumers and in some cases as a means to reach people living abroad. This change in consumer behavior provides more opportunities for smaller companies that provide online audio and video streams to promote their content over the internet and reach a greater audience.

Streaming live convent over the internet requires much more extra care than just providing web page content since a downtime in the service can significantly affect the image of the company and cause it to lose content consumers and advertisers. There are several services on the internet that provide services to reliably stream audio and video content over the internet.

However these paid services can be very expensive due to the importance of the availability of the service. Any streaming service requires 3 components in order to work: a streaming server, a stream source and a client.

The following are the steps to set-up a streaming server in an Ubuntu server. First we need to install the Icecast streaming server, so we execute the following code as root.

Then we need to edit the Icecast configuration file which can be done with your favorite editor, in this case to open with VIM execute. In the XML file you will find several options that can be configured depending on the resources available on your system and network. More details about these settings can be found on the Icecast website. Change the following lines to indicate the port you want to use to access the stream server, in this case I have changed the default which is to 80 so I do not need to specify the port when accessing through the web browser i.

Finally define one or more mountpoints to be used to access the streamed content. You can set up a fallback mountpoint in case a source is not available.

Here is an example of a mountpoint, username and password that will override the default source username and password defined. Now we need to install the source, in this case we are going to use liquidsoap. You can easily install liquidsoap by executing the following line. However if you want to get full support for mp3 streaming, it is recommended to build liquidsoap from the source by downloading liquidsoap-full-xxx. Instructions on how to install from the source are very straightforward and can be found on the project website.

After installing liquidsoap, we need to tell it what to play, so we need to write a script that makes use of the Liquidsoap API. Liquidsoap will automatically read any file with extension. The scripting language is very straightforward, single and playlist commands are used to create sources. The Playlist command in this case will read all the files on the indicated folder, however if a specific file is specified it will read the audio files listed on that file.

The liveset variable takes external sources to pass it to the stream which can be used to broadcast live streams. Next we use the fallback and switch commands to program the radio to play the different playlists according to a specific calendar and play a default playlist in case anything goes wrong, in this case we are using tech as the default playlist.

By using the playlist. Making stream sources safe can consume several resources during startup but will ensure the reliability of the stream. We include jingles played randomly by using the random command. Finally we output the whole radio source to the Icecast server in mp3 format by using the command output.This includes:.

It handles the socket connection, the timing of the data, and prevents bad data from getting to the Icecast server. IceS is a program that sends audio data to an icecast server to broadcast to clients. IceS can either read audio data from disk, such as from Ogg Vorbis files, or sample live audio from a sound card and encode it on the fly. As already mentioned, Spotify and co. Go to the Icecast Documentation Page and follow the instructions for your Icecast version there.

Please read the next question for more advise. You should start with the default config and only change the passwords. Most problems occur when over-configuring Icecast. Icecast used to have a graphical user interface on Windows, but that was deprecated in 2. The black window with text you see is the command line running the Icecast server, just keep that window open. We do not have service capabilities in Icecast anymore, currently.

Please see this Wiki page for instruction how to set up Icecast as a service using a third party service manager.

If you are a Windows user, make sure you started the Icecast server and then click on the shortcut in the Startmenu, it will open the Icecats status page in your browser.

Most mordern audio players should be able to play Icecast streams without problems, depending on the format you are streaming in. We maintain a list of Icecast-compatible audio players here. Projects by Xiph. Org Xiph. This includes: Icecast, a program that streams audio and video data to listeners libshout, a library for communicating with Icecast servers IceS, a program that sends audio data to Icecast servers What is Icecast, the program?

What is libshout? What is IceS? Setup What platforms are supported? Icecast is being developed on Linux and Windows, and is being tested with major Unices.

How do I set up Icecast? How do I get started with the Icecast configuration? What happened to the Windows GUI? I only see a black window with some text. How can I run Icecast as a Service on Windows? Administration How can I view the stream status page?

icecast video

Interoperability What can I use to listen to an Icecast stream?FFmpeg is a very versatile command-line tool to decode, capture, encode or modify audio and video media. It supports being a source for several streaming servers including Icecast. This configuration is a Linux example and must be adapted for your hardware and operating system.

The value of the -g parameter sets the maximum period betwoon two key frames. However periodic key frames are necessary to bootstrap the video decoder when a client connects to the stream after the beginning. A higher value of the -g parameter will save bandwidth and increase latency.

However, a value too high will have little benefits for the bandwidth while causing very high latency. It is advised to use a 5 to 10 seconds GOP period. WebM streams are made of clusters, each one containing a number of frames of every track video, audio, subtitles….

As of writing this, Firefox and Chrome will fail to play a stream when the first cluster received after connecting to a stream contains no key frame. FFmpeg creates small clusters by default, so the probability of a cluster containing a key frame is low, thus the browser will often fail to open the stream.

One could increase the number of key frames, but that would cause high bandwidth usage and low quality video. The trick is making FFmpeg generate larger clusters with an adequate maximum period between key frames so that each cluster contains at least one key frame. From XiphWiki. Jump to: navigationsearch. This page is about 3rd-party software, for which Xiph. Org does not provide any support. Category : Icecast. Navigation menu Personal tools Log in.

Namespaces Page Discussion. Views Read View source View history. Navigation Main Page. Video Daala Dirac Theora.

Container Ogg Skeleton. Streaming Icecast.

icecast video

This page was last edited on 12 Novemberat Content is available under CC BY 3.


Leave a Reply

Your email address will not be published. Required fields are marked *