mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
83d1d17be1
The correct way is to just not configure an encoder for a stream, which is what the documentation already states. Encoder sections now require a program name to be set or the configuration will not load. Fixes a segfault in ezstream.c, as reported by Tom McCallum via Github.
44 lines
955 B
XML
44 lines
955 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
EXAMPLE: A valid configuration for video streaming with Ogg Theora
|
|
-->
|
|
|
|
<ezstream>
|
|
|
|
<servers>
|
|
<server>
|
|
<hostname>127.0.0.1</hostname>
|
|
<password>hackme</password>
|
|
</server>
|
|
</servers>
|
|
|
|
<streams>
|
|
<stream>
|
|
<mountpoint>/video.ogg</mountpoint>
|
|
<format>Theora</format>
|
|
<!-- No encoder configured (see below). -->
|
|
</stream>
|
|
</streams>
|
|
|
|
<intakes>
|
|
<intake>
|
|
<filename>playlist.m3u</filename>
|
|
</intake>
|
|
</intakes>
|
|
|
|
<decoders>
|
|
<decoder>
|
|
<name>Theora-192x128</name>
|
|
<!--
|
|
Reencodes into Ogg Theora directly. The stream should be configured
|
|
without an encoder, so that the decoder output is passed through as-is.
|
|
-->
|
|
<program>ffmpeg2theora -x 192 -y 128 -a 0 -v 4 --title @M@ -o - @T@</program>
|
|
<file_ext>.avi</file_ext>
|
|
<file_ext>.mpg</file_ext>
|
|
</decoder>
|
|
</decoders>
|
|
|
|
</ezstream>
|