[FFmpeg-user] Waveform turns out grey

Paul B Mahol onemda at gmail.com
Thu May 11 19:47:23 EEST 2023

On Thu, May 11, 2023 at 2:44 PM Alexander Bieliaev via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:

> I'm using this command to create a waveform:
>  -i "input.wav" -filter_complex
> "compand,showwavespic=s=905x56:colors=white" -frames:v 1 "waveform.png" -y
> Most of the time it works just fine, but sometimes (especially when the
> audio is long) it turns out grey (like the one attached) and I don't know
> why.
> Any idea on how to fix it?

What is duration of input audio and how many channels it have?

> [image: image.png]
> --
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> Please note that any views or opinions presented in this email are solely
> those of the author and do not necessarily represent those of the company.
> Finally, the recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused
> by any virus transmitted by this email.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list