diff --git a/examples/ezstream_reencoding_example_mp3.xml b/examples/ezstream_reencoding_example_mp3.xml index 8a1c9d9..75f0eb7 100644 --- a/examples/ezstream_reencoding_example_mp3.xml +++ b/examples/ezstream_reencoding_example_mp3.xml @@ -29,9 +29,9 @@ http://www.oddsock.org RockNRoll This is a stream description - 56 - 1 - 220500 + 128 + 2 + 44100 @@ -48,7 +48,14 @@ the appropriate command line parameters of the encoders in the elements. - New encdec sections can be added for new input/output formats. + New sections can be added for new input/output formats. + + Distorted audio, or audio playing at the wrong speed/pitch may be + caused by conflicting sample rates in the various and + sections, byte order (endianness) issues and mono input + files. See the documentation on the various de-/encoders for + the options that need to be used to create a consistent stream of + raw samples. --> @@ -63,8 +70,9 @@ --> MP3 .mp3 - madplay -o raw:- "@T@" - lame -r -x -b 56 -s 44.1 --resample 22.05 -a - - + + madplay -b 16 -R 44100 -S -o raw:- "@T@" + lame --preset cbr 128 -r -x -s 44.1 --bitwidth 16 - - VORBIS .ogg - oggdec -R -o - "@T@" - oggenc -r -q 1.5 --resample=44100 -t "@M@" - + 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@" - diff --git a/examples/ezstream_reencoding_example_theora.xml b/examples/ezstream_reencoding_example_theora.xml index d0b1bc3..d089316 100644 --- a/examples/ezstream_reencoding_example_theora.xml +++ b/examples/ezstream_reencoding_example_theora.xml @@ -49,7 +49,14 @@ the appropriate command line parameters of the encoders in the elements. - New encdec sections can be added for new input/output formats. + New sections can be added for new input/output formats. + + Distorted audio, or audio playing at the wrong speed/pitch may be + caused by conflicting sample rates in the various and + sections, byte order (endianness) issues and mono input + files. See the documentation on the various de-/encoders for + the options that need to be used to create a consistent stream of + raw samples. --> @@ -64,8 +71,9 @@ --> MP3 .mp3 - madplay -o raw:- "@T@" - lame -r -x -b 56 -s 44.1 --resample 22.05 -a - - + + madplay -b 16 -R 44100 -S -o raw:- "@T@" + lame --preset cbr 128 -r -x -s 44.1 --bitwidth 16 - - VORBIS .ogg - oggdec -R -o - "@T@" - oggenc -r -q 1.5 --resample=44100 -t "@M@" - + 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@" -