https://superuser.com/questions/1539444/how-to-make-ffmpeg-write-silence-when-the-input-stops
[md]
If you're encountering a problem like this, it's most likely that your Icecast `source_timeout` i
详情回复
发表于 2023-2-24 16:06
If you're encountering a problem like this, it's most likely that your Icecast source_timeout is set too low. Try setting it to something unreasonably high or set it to -1 and it won't timeout at all.
This will ensure that ffmpeg will never timeout and the connection will remain open, thus eliminating the need for sending silence to mimic data being sent in the first place.