[FFmpeg-user] How to make ffmpeg keep silence in generated audio files when RTP input is paused

Iñaki Baz Castillo ibc at aliax.net
Wed Sep 20 01:27:39 EEST 2017


On Wed, Sep 20, 2017 at 12:18 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> Yes, -async 1 allows "silence" (in the sense that it inserts silence
> in the output file while no RTP packets are received). However the
> ffmpeg command exists by itself after 10 seconds without receiving RTP
> packets, so -async 1 is not enough for me.

Well, I understand this is 100% related to this:

https://trac.ffmpeg.org/ticket/2415
"RTSP (and SDP) client timeout is hard-coded to 10 seconds"

Is there any workaround for this?


-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the ffmpeg-user mailing list