diff --git a/examples/Makefile.am b/examples/Makefile.am index 46c4b27..0bf241d 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -2,6 +2,7 @@ AUTOMAKE_OPTIONS = 1.9 foreign examplesdir = @EXAMPLES_DIR@ dist_examples_DATA = \ + ezstream-file_template.xml \ ezstream_mp3.xml ezstream_reencode_mp3.xml \ ezstream_reencode_theora.xml ezstream_reencode_vorbis.xml \ ezstream_stdin_vorbis.xml ezstream_vorbis.xml \ diff --git a/examples/ezstream-file_template.xml b/examples/ezstream-file_template.xml new file mode 100644 index 0000000..c9d11a7 --- /dev/null +++ b/examples/ezstream-file_template.xml @@ -0,0 +1,53 @@ + + + http://localhost:8000/vorbis.ogg + hackme + + VORBIS + + %FILENAME% + + My Stream + http://www.oddsock.org + RockNRoll + This is a stream description + 88 + 1.5 + 2 + 44100 + + 1 + + FLAC + .flac + flac -s -d --force-raw-format --sign=signed --endian=little -o - "@T@" + + + MP3 + .mp3 + madplay -b 16 -R 44100 -S -o raw:- "@T@" + lame --preset cbr 128 -r -s 44.1 --bitwidth 16 - - + + + VORBIS + .ogg + oggdec -R -b 16 -e 0 -s 1 -o - "@T@" + oggenc -r -B 16 -C 2 -R 44100 --raw-endianness 0 -q 1.5 -t "@M@" - + + +