Opened 7 years ago

Closed 7 years ago

#6012 closed defect (fixed)

Audio artifact on some values of filter_size when resampling

Reported by: Muhammad Faiz Owned by:
Priority: normal Component: swresample
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Some values of filter_size generate audio artifact when resampling.

How to reproduce:

% ffplay -f lavfi "aevalsrc='sin(10000*t*t)':s=44100, aresample=osr=48000:filter_size=1020"

some values of filter_size:
44100 -> 48000: from 1017 to 1022
48000 -> 44100: from 907 to 910

Change History (2)

comment:1 by Muhammad Faiz, 7 years ago

These values depend on nb samples per frame.
This bug also affect default filter_size (32), for example: on 44100 Hz to 48000 Hz, nb_samples from 34 to 39 generate it.

% ffplay -f lavfi "aevalsrc='sin(10000*t*t)':s=44100:n=34, aresample=osr=48000"

comment:2 by Muhammad Faiz, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.