#9392 closed defect (fixed)
Wrong amplitude in showwavespic filter
Reported by: | Michael Koch | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
In the showwavespic filter, the option filter=average shows a larger amplitude than filter=peak. That can't be right. The average can never be larger than the peak.
Can be reproduced by comparing the output images:
ffmpeg -f lavfi -i sine=100:b=2 -t 0.2 -y sine.wav
ffmpeg -i sine.wav -lavfi "showwavespic=filter=average" -y average.png
ffmpeg -i sine.wav -lavfi "showwavespic=filter=peak" -y peak.png
Change History (4)
follow-up: 4 comment:1 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | invalid → fixed |
---|
It seems it was fixed here:
http://ffmpeg.org/pipermail/ffmpeg-cvslog/2021-August/128581.html
comment:4 by , 3 years ago
Replying to richardpl.
It seems your closing of this ticket as “invalid” was very wrong. Please be more careful.
please explain how the average can be larger than the peak