From 3b7c474bebcdc79ec354859366673b441c8f90e1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 5 Jan 2024 22:03:23 +0100 Subject: 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. --- doc/documentation.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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://:5316 \end{verbatim} -- cgit v1.2.3-70-g09d2