[FFmpeg-devel] [PATCH 3/3] doc/muxers: add command example how to delay output live stream

leozhang leozhang at qiyi.com
Wed Apr 29 16:25:55 EEST 2020


Signed-off-by: leozhang <leozhang at qiyi.com>
---
 doc/muxers.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 5140c00..c4dbf7d 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -2294,6 +2294,17 @@ ffmpeg -re -i ... -c:v libx264 -c:a aac -f fifo -fifo_format flv -map 0:v -map 0
 
 @end itemize
 
+ at itemize
+
+ at item
+Add 20 seconds delay to streaming rtmp.
+ at example
+ffmpeg -i your_input_stream_address -c copy -map 0:a -map 0:v -f fifo -paced 1 -queue_size 6000000
+ -output_delay 20000000 -fifo_format flv rtmp://example.com/live/delayed_stream_name
+ at end example
+
+ at end itemize
+
 @anchor{tee}
 @section tee
 
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list