From 36341f1e9856e17ad00e3741bb5bc1224aadc225 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 14 Jan 2024 20:50:59 +0100 Subject: 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 --- doc/documentation.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ - -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. -- cgit v1.2.3-70-g09d2