[FFmpeg-user] Question about ffmpeg -i video-clip.mp3 -lavfi showspectrumpic=s=100x40 out.jpg

Paul B Mahol onemda at gmail.com
Tue May 16 22:45:04 EEST 2017

On 5/16/17, HQ HQ <takatosp1 at 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.

More information about the ffmpeg-user mailing list