diff mbox series

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

Message ID 1588166755-85064-1-git-send-email-leozhang@qiyi.com
State New
Headers show
Series Patch set to delay output live stream | expand


Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

leozhang April 29, 2020, 1:25 p.m. UTC
Signed-off-by: leozhang <leozhang@qiyi.com>
 doc/muxers.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series


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
+Add 20 seconds delay to streaming rtmp.
+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
+@end example
+@end itemize
 @section tee