[FFmpeg-devel] [PATCH] avfilter: Add delay filter

Marton Balint cus at passwd.hu
Sat Jan 26 12:19:06 EET 2019

On Sat, 26 Jan 2019, Meredydd Luff wrote:

> So far, we have an audio delay filter (adelay), but no video delay.
> This patch adds one.
> (NB the difference with tpad - tpad does not alter the pts of the
> passed-through frames, which causes A/V sync badness with large delays
> [at least when running live]. delay uses a circular buffer of frames,
> and emits each delayed frame with the pts of the frame that replaced
> it in the buffer.)

Why do you need an internal queue for this? If I am getting this right, 
you inject blank frames and then pass the input as is.

A possible real world use case would be useful for me to better understand 
what you want to do.


More information about the ffmpeg-devel mailing list