Question about ffmpeg -i video-clip.mp3 -lavfi showspectrumpic=s=100x40 out.jpg
Hi I have a quick question about ffmpeg. I want to extract spectrum from audio through commend ffmpeg -i video-clip.mp3 -lavfi showspectrumpic=s=100x40 out.jpg. I hope the output only include the spectrum, but the out.jpg also includes the labels and the legend, which I don't want. Could you please kindly enough show me how can I change my commend to get the pure spectrum? Thanks, Haoqi
On 5/16/17, HQ HQ <takatosp1@msn.com> wrote:
Hi
I have a quick question about ffmpeg.
I want to extract spectrum from audio through commend ffmpeg -i video-clip.mp3 -lavfi showspectrumpic=s=100x40 out.jpg. I hope the output only include the spectrum, but the out.jpg also includes the labels and the legend, which I don't want. Could you please kindly enough show me how can I change my commend to get the pure spectrum?
Read documentation, you need to add option legend=0.
participants (2)
-
HQ HQ -
Paul B Mahol