diff options
author | xengineering <me@xengineering.eu> | 2024-01-30 20:33:12 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-30 20:33:12 +0100 |
commit | a4906e5da055d9f47b98e16a72b804bbfc6eb3e1 (patch) | |
tree | 3b3d08af014852fa02bc34d33ca59143c9f15b95 | |
parent | 718422591a603223ff64f7d056d4b2f986109530 (diff) | |
download | soundbox-a4906e5da055d9f47b98e16a72b804bbfc6eb3e1.tar soundbox-a4906e5da055d9f47b98e16a72b804bbfc6eb3e1.tar.zst soundbox-a4906e5da055d9f47b98e16a72b804bbfc6eb3e1.zip |
doc: Reformulate variadic command definition
The new format is closer to e.g. 'man 1 printf'.
-rw-r--r-- | doc/documentation.tex | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex index b4aeb78..8bc3112 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -84,14 +84,12 @@ seconds a new discovery packet is emitted by soundbox. Thus it can take up to Audio can be streamed to \texttt{soundbox} devices with the \texttt{ffmpeg} command. Audio files or internet stream addresses can be passed as input. Since -\texttt{ffmpeg} supports multiple outputs, multiple \texttt{soundbox} devices -can be targeted with their IP addresses. +\texttt{ffmpeg} supports multiple outputs, the part enclosed in square brackets +can be repeated multiple times with different \texttt{soundbox} device IP +addresses. \begin{verbatim} -ffmpeg -re -i <input> \ - -acodec flac -f ogg tcp://<ip-1>:5316 \ - -acodec flac -f ogg tcp://<ip-2>:5316 \ - ... +ffmpeg -re -i <input> [-acodec flac -f ogg tcp://<ip>:5316]... \end{verbatim} More details about FFmpeg streaming can be read from the FFmpeg streaming |