1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00
Go to file
Moritz Grimm 46e72506b5 No need to further maintain argc/argv here ...
... but keep it in cmdline.c (for now) to "follow the pattern".
2020-01-27 23:57:32 +01:00
.circleci Get AM_ICONV from gettext 2020-01-27 16:30:24 +01:00
build-aux Untangle compatibility code 2015-02-27 22:42:51 +01:00
compat Add script to generate coverage reports using lcov. 2015-05-12 12:06:49 +02:00
doc Modernize stream format options 2020-01-24 23:27:02 +01:00
examples Modernize stream format options 2020-01-24 23:27:02 +01:00
m4 Depend on TagLib unconditionally 2016-04-22 15:56:30 +02:00
src No need to further maintain argc/argv here ... 2020-01-27 23:57:32 +01:00
tests More format-related updates 2020-01-25 01:18:12 +01:00
.gitignore Add check unit testing framework w/ 2 dummy tests 2015-05-06 23:45:52 +02:00
.travis.yml After hitting the Coverity quota once, switch branches 2017-09-28 12:15:20 +02:00
autogen.sh Update to automake 1.15 2020-01-19 00:26:46 +01:00
ChangeLog Stop tracking history in ChangeLog, that's what Git is for 2015-01-07 23:42:24 +01:00
configure.ac Bump to 1.0.0 2020-01-15 23:31:10 +01:00
COPYING Update GPLv2 text from https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt 2015-03-24 22:32:14 +01:00
gen-coverage-report.sh Support configure args in gen-coverage-report.sh 2020-01-22 22:55:27 +01:00
INSTALL Add INSTALL file for those not familiar with the configure+make dance. From 2007-02-24 20:58:18 +00:00
Makefile.am Remove obsolete VA_COPY check 2016-09-29 13:13:32 +02:00
NEWS Brag about recent changes 2020-01-25 01:30:34 +01:00
README.md Modern README.md 2020-01-27 23:43:21 +01:00

About

Ezstream is a command line source client for media streams, primarily for Icecast servers.

It allows the creation of media streams based on input from files or standard input that is piped through an optional external de- and encoder. As every part of this chain is highly configurable, ezstream can be useful in a large number of streaming setups.

It uses the libshout library to communicate with streaming servers and currently supports Ogg, MP3, WebM, and Matroska streams using the HTTP, ICY, and RoarAudio protocols. It uses TagLib to read and manage metadata in numerous media files.

Ezstream is free software and licensed under the GNU General Public License. See the COPYING file for details.

Prerequisites

Ezstream depends on:

Ezstream optionally uses:

Installation

The ezstream software uses the GNU auto-tools to configure, build, and install on a variety of systems. Several (additional) configuration options are available.

Run ./configure --help to get an overview.

The compilation and installation process then boils down to the usual

    $ ./configure --help | less         # Skim over the available options
    $ ./configure [options] && make && [sudo] make install
                                        # Configure, build and install
                                        # [as root] the software

If this procedure is unfamiliar to you, please consult the INSTALL file for more detailed instructions.

On systems where the libshout installation does not include the required shout.pc file for pkg-config(1), the non-standard shout-config utility is available. However, the ezstream build system does not support the latter.

If this is an issue, configure ezstream with

    $ ./configure \
        LIBSHOUT_CPPFLAGS="$(shout-config --cppflags)" \
        LIBSHOUT_CFLAGS="$(shout-config --cflags-only)" \
        LIBSHOUT_LIBS="$(shout-config --libs)"

If needed, verbose configuration error messages can be found in the config.log file.

When working on a fresh checkout from source control, the autogen.sh script must be run first. It requires automake, autoconf, libtool, and gettext.

Usage

Once ezstream is installed successfully, type man ezstream on the command line for a comprehensive manual. This distribution package also comes with example configuration files that can be used as a guide to configure ezstream.

As ezstream is a source client, a media streaming server like Icecast must be available to distribute the stream to listening clients. See (https://www.icecast.org/) for more information and resources.

External Decoders/Encoders

Ezstream should be able to work with any media decoder and encoder that fulfills the following requirements:

  1. Must be an executable that can be run from the command line without the need for a graphical display or terminal
  2. Decoding software must be able to either
    1. write raw audio data to standard output, or
    2. write a properly encoded stream ready for distribution to standard output
  3. Encoding software must be able to read raw audio data from standard input

The following incomplete list of programs shows a few that are known to work. These are also used in the example configuration files:

Development