[FFmpeg-trac] #9392(avfilter:new): Wrong amplitude in showwavespic filter

FFmpeg trac at avcodec.org
Thu Aug 26 08:28:53 EEST 2021


#9392: Wrong amplitude in showwavespic filter
-------------------------------------+-------------------------------------
             Reporter:  Michael      |                     Type:  defect
  Koch                               |
               Status:  new          |                 Priority:  normal
            Component:  avfilter     |                  Version:  git-
                                     |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9392>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list