[FFmpeg-trac] #9461(avfilter:new): Showpectrum scale doesn't work anymore
FFmpeg
trac at avcodec.org
Tue Oct 19 14:32:08 EEST 2021
#9461: Showpectrum scale doesn't work anymore
-----------------------------------+--------------------------------------
Reporter: RKleinert | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+--------------------------------------
== Summary of the bug: ==
In https://trac.ffmpeg.org/ticket/8919 I had adressed a bug that would
mess up the scaling of the frequency-axis in showspectrum() and
showspectrumpic() when choosing a starting-frequency that is not zero.
This bug is now supposedly fixed.
Now after the "fix" both functions won't work anymore at all when used
with my prevousily used arguments. Especialy defining an output size
(which is crucial) seems to lead to a never ending loop where ffmepg
doesn't get anywhere. My batch-script doesn't end and no output is
written.
Secondly I noticed, that the argument "legend" doesn't default to 0 (as it
states in the doc) but to 1 - so the legend and axes are always enabled if
not actively disabled.
== How to reproduce: ==
{{{
#!div style="font-size: 80%"
The Sample Code:
ffmpeg -i input.wav -filter_complex
"showspectrumpic=size=700x400:mode=combined:color=rainbow:scale=sqrt:fscale=log:legend=1:start=500:stop=20000"
output.png
leads into an endless loop. Whereas the code without the size-argument:
ffmpeg -i input.wav -filter_complex
"showspectrumpic=mode=combined:color=rainbow:scale=sqrt:fscale=log:legend=1:start=500:stop=20000"
output.png
does the trick (although it takes quite some time to run)
}}}
{{{
ffmpeg version 2021-10-18-git-d04c005021-full
built from gyan.dev
}}}
I supplied the input.wav file which is a test-sample with a 1kHz-Sinewave
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9461>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list