summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-14 20:50:59 +0100
committerxengineering <me@xengineering.eu>2024-01-14 20:50:59 +0100
commit36341f1e9856e17ad00e3741bb5bc1224aadc225 (patch)
tree4b230910f1e8b14e3a0d666f32b01a056f37c7c8
parent6a05f26e4a7726fa719a55b5918b0262b27c02ba (diff)
downloadsoundbox-36341f1e9856e17ad00e3741bb5bc1224aadc225.tar
soundbox-36341f1e9856e17ad00e3741bb5bc1224aadc225.tar.zst
soundbox-36341f1e9856e17ad00e3741bb5bc1224aadc225.zip
doc: Always use MP3 as audio codec
While transcoding to a lossy formate like MP3 is not recommended [1] forquality reasons it has the advantage that alway UPD / Matroska / MP3 is used for soundbox. That way the stream can be stopped and started at any time without re-launching ffplay on the soundbox device. This could make the SSH connection to the soundbox not longer needed. [1]: https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio#WhenshouldItranscodeaudio
-rw-r--r--doc/documentation.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 230f25c..f099b30 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -81,7 +81,7 @@ Alternatively a MP3 file can be sent like this:
\begin{verbatim}
ffmpeg -re -i <file-path> \
- -acodec copy -f matroska udp://224.0.0.99:5316
+ -acodec libmp3lame -f matroska udp://224.0.0.99:5316
\end{verbatim}
These commands allow to test the \texttt{soundbox} device setup.