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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

HQ HQ
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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Question about ffmpeg -i video-clip.mp3 -lavfi showspectrumpic=s=100x40 out.jpg

Paul B Mahol
On 5/16/17, HQ HQ <[hidden email]> 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.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".