Re: [FFmpeg-devel] [RFC][PATCH] avformat/fifo: add timeshift option to delay output

2020-05-08 Thread Tao Zhang
I have tested with below commands, It works fine. Thanks Marton. ffmpeg -i input_rtmp_addr -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size 600 -fifo_format flv output_rtmp_addr ffmpeg -stream_loop -1 -re -i input_file -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size 600

[FFmpeg-devel] [RFC][PATCH] avformat/fifo: add timeshift option to delay output

2020-05-07 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/fifo.c | 59 +- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/libavformat/fifo.c b/libavformat/fifo.c index d11dc6626c..17748e94ce 100644 --- a/libavformat/fifo.c +++ b/libavformat/fif