#8911 closed defect (wontfix)
improve showspectrumpic height option documentation
Reported by: | semiaddict | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | documentation |
Version: | git-master | Keywords: | showspectrumpic |
Cc: | info@semiaddict.com | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
When using the showspectrumpic filter with a value for the stop option along with a size, the resulting image seems to always stop at a much lower frequency than the one specified.
The legend on the top right corner (Zoom: ...) is, however, correct.
This doesn't seem to be the case if the size option is not specified, and the issue seems to occur whether or not the legend option is active.
How to reproduce:
ffmpeg -i http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 -filter_complex showspectrumpic=stop=5000:size=1024x768:legend=1 output.png
ffmpeg version 4.3
built on commit a3a6b56
This was tested on multiple files including http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Attachments (4)
Change History (11)
by , 3 years ago
Attachment: | showspectrumpic_no-size_no-stop.jpg added |
---|
by , 3 years ago
Attachment: | showspectrumpic_no-size_stop-5000.jpg added |
---|
showspectrumpic without size and stop = 5000
by , 3 years ago
Attachment: | showspectrumpic_size_no-stop.jpg added |
---|
showspectrumpic size = 1024x768 and without stop
by , 3 years ago
Attachment: | showspectrumpic_size_stop-5000.jpg added |
---|
showspectrumpic size = 1024x768 and stop = 5000
comment:1 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Height must be always power of 2.
comment:2 by , 3 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Summary: | showspectrumpic innacurate zoom of resulting image with stop and size options → improve showspectrumpic height option documentation |
Type: | defect → task |
Hello richardpl,
Thank you for your reply.
Could we then state that the height should always be a power of 2 in the documentation, as I believe it is not stated anywhere.
Is that also the case for the width?
Best,
semiaddict
comment:3 by , 3 years ago
Cc: | added |
---|
comment:4 by , 3 years ago
Component: | avfilter → documentation |
---|---|
Keywords: | stop zoom removed |
Priority: | normal → minor |
Type: | task → defect |
follow-up: 6 comment:5 by , 3 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Wait for non-power of 2 fft support in this filter, than any height will be supported.
comment:6 by , 3 years ago
Replying to richardpl:
Wait for non-power of 2 fft support in this filter, than any height will be supported.
Hello @richardpl,
Is there another ticket that deals with this or is it already being worked on?
Thank you.
showspectrumpic without size and without stop