2015-05-21 17:32:55 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2009-08-30 16:34:03 -04:00
|
|
|
<!--
|
2015-05-21 17:32:55 -04:00
|
|
|
EXAMPLE: Ogg Vorbis playlist stream with reencoding for use with
|
|
|
|
ezstream-file.sh(1)
|
|
|
|
|
|
|
|
This example streams a playlist generated by ezstream-file.sh(1) and
|
|
|
|
reencodes to Ogg Vorbis.
|
|
|
|
-->
|
2009-08-30 16:34:03 -04:00
|
|
|
|
|
|
|
<ezstream>
|
2015-05-21 17:32:55 -04:00
|
|
|
|
2017-11-17 19:54:14 -05:00
|
|
|
<servers>
|
|
|
|
<server>
|
|
|
|
<hostname>127.0.0.1</hostname>
|
|
|
|
<port>8000</port>
|
|
|
|
<password>hackme</password>
|
|
|
|
</server>
|
|
|
|
</servers>
|
2015-05-21 17:32:55 -04:00
|
|
|
|
2017-11-17 19:54:14 -05:00
|
|
|
<streams>
|
|
|
|
<stream>
|
|
|
|
<mountpoint>/stream.ogg</mountpoint>
|
2020-01-24 17:27:02 -05:00
|
|
|
<format>Ogg</format>
|
2017-11-17 19:54:14 -05:00
|
|
|
<encoder>OggEnc-Q1.5</encoder>
|
|
|
|
</stream>
|
|
|
|
</streams>
|
2015-05-21 17:32:55 -04:00
|
|
|
|
2017-11-23 12:34:57 -05:00
|
|
|
<intakes>
|
|
|
|
<intake>
|
|
|
|
<filename>%FILENAME%</filename>
|
|
|
|
</intake>
|
|
|
|
</intakes>
|
2015-05-21 17:32:55 -04:00
|
|
|
|
|
|
|
<decoders>
|
|
|
|
<decoder>
|
|
|
|
<name>OggDec</name>
|
|
|
|
<program>oggdec -R -b 16 -e 1 -s 1 -o - @T@</program>
|
|
|
|
<file_ext>.ogg</file_ext>
|
|
|
|
<file_ext>.oga</file_ext>
|
|
|
|
</decoder>
|
|
|
|
|
|
|
|
<decoder>
|
|
|
|
<name>MadPlay</name>
|
|
|
|
<program>madplay -b 16 -R 44100 -S -o raw:- @T@</program>
|
|
|
|
<file_ext>.mp3</file_ext>
|
|
|
|
</decoder>
|
|
|
|
|
|
|
|
<decoder>
|
|
|
|
<name>Flac</name>
|
|
|
|
<program>flac -s -d --force-raw-format --sign=signed --endian=little -o - @T@</program>
|
|
|
|
<file_ext>.flac</file_ext>
|
|
|
|
</decoder>
|
2021-02-09 05:29:48 -05:00
|
|
|
|
|
|
|
<decoder>
|
|
|
|
<name>AAC</name>
|
|
|
|
<program>faad -d -f 2 -w @T@</program>
|
|
|
|
<file_ext>.m4a</file_ext>
|
|
|
|
</decoder>
|
2015-05-21 17:32:55 -04:00
|
|
|
</decoders>
|
|
|
|
|
|
|
|
<encoders>
|
|
|
|
<encoder>
|
|
|
|
<name>OggEnc-Q1.5</name>
|
2020-01-24 17:27:02 -05:00
|
|
|
<format>Ogg</format>
|
2015-05-21 17:32:55 -04:00
|
|
|
<program>oggenc -r -B 16 -C 2 -R 44100 --raw-endianness 0 -q 1.5 -t @M@ -</program>
|
|
|
|
</encoder>
|
|
|
|
|
2021-02-09 05:29:48 -05:00
|
|
|
<encoder>
|
|
|
|
<name>Opus-VBR96</name>
|
|
|
|
<format>Ogg</format>
|
|
|
|
<program>opusenc --vbr --bitrate 96 --title @t@ --artist @a@ --raw --raw-rate 44100 - -</program>
|
|
|
|
</encoder>
|
|
|
|
|
2015-05-21 17:32:55 -04:00
|
|
|
<encoder>
|
|
|
|
<name>Lame-CBR128</name>
|
|
|
|
<format>MP3</format>
|
|
|
|
<program>lame --preset cbr 128 -r -s 44.1 --bitwidth 16 - -</program>
|
|
|
|
</encoder>
|
|
|
|
</encoders>
|
|
|
|
|
2009-08-30 16:34:03 -04:00
|
|
|
</ezstream>
|