From 6a05f26e4a7726fa719a55b5918b0262b27c02ba Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 14 Jan 2024 20:48:43 +0100 Subject: doc: Simplify streaming commands --- doc/documentation.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') 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 -acodec copy -ar 11025 \ - -f matroska udp://224.0.0.99:5316 + ffmpeg -re -i \ + -acodec copy -f matroska udp://224.0.0.99:5316 \end{verbatim} These commands allow to test the \texttt{soundbox} device setup. -- cgit v1.2.3-70-g09d2