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

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 20 01:50:43 EEST 2017


2017-09-20 0:27 GMT+02:00 Iñaki Baz Castillo <ibc at aliax.net>:
> 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?

Can I reproduce this locally without using other software?

Carl Eugen


More information about the ffmpeg-user mailing list