[FFmpeg-devel] [PATCH] avfilter/af_aresample: switch to activate

Michael Niedermayer michael at niedermayer.cc
Thu May 18 23:54:05 EEST 2023


On Thu, May 18, 2023 at 06:27:00PM +0200, Paul B Mahol wrote:
> With proper EOF reporting support. Attached.

>  af_aresample.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++--------
>  1 file changed, 46 insertions(+), 8 deletions(-)
> 338cf669de11643ba2c601061f210984b526bbbf  0022-avfilter-af_aresample-switch-to-activate.patch
> From ed6be8443c29ce2246eec572b7342cee00e61925 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Wed, 17 May 2023 09:15:51 +0200
> Subject: [PATCH 22/27] avfilter/af_aresample: switch to activate
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/af_aresample.c | 54 ++++++++++++++++++++++++++++++++------
>  1 file changed, 46 insertions(+), 8 deletions(-)
5fc6947a0355c4a155dd969174f9d0ab83e3b755

This seems to cause a infinite loop with:

./ffmpeg -i 1sec.ogg -af asetnsamples=1:p=0,atrim=end_sample=10240,aresample=8000,asetnsamples=1:p=0,aresample=44100 -bitexact -y smpl12.wav

https://samples.ffmpeg.org/ogg/Vorbis/1sec.ogg

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230518/408aa8f2/attachment.sig>


More information about the ffmpeg-devel mailing list