summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-05 22:03:23 +0100
committerxengineering <me@xengineering.eu>2024-01-05 22:03:23 +0100
commit3b7c474bebcdc79ec354859366673b441c8f90e1 (patch)
treeb6bc897794af9058c41861e8736e220faa3b74c8
parentcad96e8944a86df30376564dca15661ddef590a4 (diff)
downloadsoundbox-3b7c474bebcdc79ec354859366673b441c8f90e1.tar
soundbox-3b7c474bebcdc79ec354859366673b441c8f90e1.tar.zst
soundbox-3b7c474bebcdc79ec354859366673b441c8f90e1.zip
doc: Fix missing `-re` flag for ffmpeg streaming
This flag makes sure the file is streamed in native frame rate and not e.g. way faster. This is the expected behaviour.
-rw-r--r--doc/documentation.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 967b89d..27fdb76 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -79,7 +79,7 @@ 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 -i '/path/to/file.mp3' -acodec libmp3lame -ar 11025 \
+ ffmpeg -re -i '/path/to/file.mp3' -acodec libmp3lame -ar 11025 \
-f rtp rtp://<soundbox-ip>:5316
\end{verbatim}