[FFmpeg-devel] [PATCH 2/3] avfilter: add audio upsample filter

Nicolas George george at nsup.org
Thu Apr 25 22:13:49 EEST 2019


Paul B Mahol (12019-04-25):
> Not really, it works with 2x/3x/4x/5x.. sample rate or 1/2 / 1/3 / 1/4 / 1/5
> o sample rate in other direction.

I do not think so: the algorithm can work for absolutely any ratio. The
effect on the spectrum will not be as clean if the ratio is not an
integer, but that is another problem.

> It can not be done in aresample filter because of limitations of query_formats
> code in libavfilter

Please elaborate.

>		      and doing it anyway for aresample filter would
> cause many regressions.

I do not think so. Please elaborate.


More information about the ffmpeg-devel mailing list