[FFmpeg-devel] [PATCH] avfilter/alimiter: Add "flush_buffer" option to flush the remaining valid data to the output
Paul B Mahol
onemda at gmail.com
Mon Apr 4 18:49:46 EEST 2022
On Sun, Mar 27, 2022 at 11:41 PM Marton Balint <cus at passwd.hu> wrote:
>
>
> On Sat, 26 Mar 2022, Wang Cao wrote:
>
> > The change in the commit will add some samples to the end of the audio
> > stream. The intention is to add a "zero_delay" option eventually to not
> > have the delay in the begining the output from alimiter due to
> > lookahead.
>
> I was very much suprised to see that the alimiter filter actually delays
> the audio - as in extra samples are inserted in the beginning and some
> samples are cut in the end. This trashes A-V sync, so it is a bug IMHO.
>
> So unless somebody has some valid usecase for the legacy way of operation
> I'd just simply change it to be "zero delay" without any additional user
> option, in a single patch.
>
This is done by this patch in very complicated way and also it really
should be optional.
Something like in af_ladspa is more reasonable.
>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-devel
mailing list