Yes, my initial suspicion is buffer size, but it appears you can't set buffer size with the alsa device.
It looks like there may be a compile-time constant MAX_BUFFER_SIZE but I don't want to have to compile ffmpeg. On Wed, Sep 8, 2021 at 12:01 PM Michael Koch <astroelectro...@t-online.de> wrote: > Am 08.09.2021 um 11:44 schrieb Arif Driessen: > > about 3 seconds latency. > > > > I have also experimented with these flags: -thread_queue_size, -fflags > > nobuffer, -flags low_delay ,-strict experimental, -re, -deadline realtime > > > > Any ideas? > > I had a similar problem with the "dshow" input device and solved it by > setting -audio_buffer_size to a small value. However I don't know if > this is applicable to your pulse or alsa devices. > > Michael > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".