[FFmpeg-user] Set Connection Timeout in FFplay for viewing RTMP Livestream
Ravi Joshi
ravi.joshi53 at yahoo.com
Tue Oct 1 19:19:52 EEST 2024
Hello everyone,Good day.
I'm using FFplay to stream an RTMP stream. However, sometimes when the RTMP server is still starting up, FFplay displays an error and exits. Therefore, I tried setting upi the -timeout parameter, but it didn’t resolve the issue. Additionally, the FFplay documentation mentions a timeout option, but I’m unsure how to configure it correctly. You can find the details in section 3.24 of the FFmpeg documentation at the following link: https://www.ffmpeg.org/ffmpeg-protocols.html#rtmp
BTW, here’s the command I’m using:$ ffplay -f live_flv -fflags nobuffer -flags low_delay -strict experimental -vf 'setpts=N/30/TB' -noframedrop -i rtmp://localhost:1935/live
I also found a related question (unfortunately without an answer) at the following link: https://ffmpeg.org/pipermail/ffmpeg-user/2018-March/039108.html
Back to the topic, how to set the connection timeout in FFplay for viewing RTMP Livestream?
Thanks in advance for your help!
More information about the ffmpeg-user
mailing list