#!/bin/bash echo "*******************************" echo "Begin render wavform"; echo "*******************************" cd /home/user/path/to/mp3/ for i in *.mp3; do ffmpeg -y -i "$i" -filter_complex "compand,showwavespic=s=1200x120:colors=b2b2b2ff:" -frames:v 1 "${i%.mp3}.wavform.png"; sleep 1; done echo "end" exit
Programming is like sex: One mistake and you have to support it for the rest of your life.
MP3 waveform using ffmpeg sample script
A quick and dirty script that can generate wavforms, from a folder containing mp3 files, using ffmpeg
Subscribe to:
Post Comments (Atom)
Me and ChatGPT
ME: Write a blog post. The tone of this blog post must be lighthearted, humorous and not be subject to lawsuits. Topic: The fast pace of AI ...
-
ME: Write a blog post. The tone of this blog post must be lighthearted, humorous and not be subject to lawsuits. Topic: The fast pace of AI ...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.