[FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream
leozhang
leozhang at qiyi.com
Wed Apr 29 16:24:22 EEST 2020
In some applications, it is required to add delay to live streaming.
For example, you can add 20 seconds to rtmp stream with below command:
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
leozhang (3):
avformat/fifo: add option to delay output
avformat/fifo: add option to write packets in paced way
doc/muxers: add command example how to delay output live stream
doc/muxers.texi | 17 +++++++++++++++++
libavformat/fifo.c | 26 ++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
--
1.8.3.1
More information about the ffmpeg-devel
mailing list