mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Add a video streaming example
This commit is contained in:
parent
c304dfe48a
commit
d71886a0e6
@ -4,7 +4,8 @@ examplesdir = @EXAMPLES_DIR@
|
||||
dist_examples_DATA = \
|
||||
ezstream-file_template.xml \
|
||||
ezstream-full.xml \
|
||||
ezstream-minimal.xml
|
||||
ezstream-minimal.xml \
|
||||
ezstream-video.xml
|
||||
dist_examples_SCRIPTS = meta.sh play.sh playlist-logger.sh
|
||||
|
||||
CLEANFILES = core *.core *~ .*~
|
||||
|
42
examples/ezstream-video.xml
Normal file
42
examples/ezstream-video.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
EXAMPLE: A valid configuration for video streaming with Ogg Theora
|
||||
-->
|
||||
|
||||
<ezstream>
|
||||
|
||||
<server>
|
||||
<hostname>127.0.0.1</hostname>
|
||||
<password>hackme</password>
|
||||
</server>
|
||||
|
||||
<stream>
|
||||
<mountpoint>/video.ogg</mountpoint>
|
||||
<format>Theora</format>
|
||||
<encoder>PassThrough</encoder>
|
||||
</stream>
|
||||
|
||||
<media>
|
||||
<filename>playlist.m3u</filename>
|
||||
</media>
|
||||
|
||||
<decoders>
|
||||
<decoder>
|
||||
<name>Theora-192x128</name>
|
||||
<!-- Reencode into Ogg Theora directly -->
|
||||
<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>
|
||||
|
||||
<encoders>
|
||||
<encoder>
|
||||
<name>PassThrough</name>
|
||||
<format>Theora</format>
|
||||
<!-- Do not set an encoder program to pass through data as-is -->
|
||||
</encoder>
|
||||
</encoders>
|
||||
|
||||
</ezstream>
|
Loading…
Reference in New Issue
Block a user