Opened 4 years ago

Closed 4 years ago

#6012 closed defect (fixed)

Audio artifact on some values of filter_size when resampling

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


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 Changed 4 years ago by mfcc64

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 Changed 4 years ago by mfcc64

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.