summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-14 20:48:43 +0100
committerxengineering <me@xengineering.eu>2024-01-14 20:48:43 +0100
commit6a05f26e4a7726fa719a55b5918b0262b27c02ba (patch)
tree807a003be955f09403e4a141941dde0c867f729a
parent8a47aec3581f0272677ffbbbc9d488c50fbd973d (diff)
downloadsoundbox-6a05f26e4a7726fa719a55b5918b0262b27c02ba.tar
soundbox-6a05f26e4a7726fa719a55b5918b0262b27c02ba.tar.zst
soundbox-6a05f26e4a7726fa719a55b5918b0262b27c02ba.zip
doc: Simplify streaming commands
-rw-r--r--doc/documentation.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index a74403d..230f25c 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -72,16 +72,16 @@ As soon as the soundbox is listening the stream can be send from another
computer in the same network with this command:
\begin{verbatim}
- ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw \
- -f matroska udp://224.0.0.99:5316
+ ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" \
+ -acodec libmp3lame -f matroska udp://224.0.0.99:5316
\end{verbatim}
It will send a simple sine wave with 400~Hz to the soundbox device.
Alternatively a MP3 file can be sent like this:
\begin{verbatim}
- ffmpeg -re -i <file-path> -acodec copy -ar 11025 \
- -f matroska udp://224.0.0.99:5316
+ ffmpeg -re -i <file-path> \
+ -acodec copy -f matroska udp://224.0.0.99:5316
\end{verbatim}
These commands allow to test the \texttt{soundbox} device setup.