WHAT I WANT TO DO : generate a video (animated waveform/spectrum) of an audio.
CONTEXT : web platform (linux web server) were users upload files to a multimedia library (all conversions are automated via command lines).
I KNOW : to use ffmpeg to generate a fixed image with the waveformQUESTION : is there a way via command line to make it like a animated audio reacting spectrum ?HTML Code:-filter_complex "showwavespic=s=963x369:scale=sqrt:colors=#00d7fe"
I SAW : this post https://forum.videohelp.com/threads/393114-Generating-animated-frequency-spectrum-bars...audio-to-video => but the proposed solutions are windows with a user interface. I want a command-line without user interface solution. it could be ffmpeg or other...
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
-
I found https://github.com/adefossez/seewav
It's a python script that combines caoiro (to generate lines) and ffmpeg to output a .mp4Last edited by Jintor_Universe; 28th Oct 2021 at 19:46.
-
-vf showwaves
https://ffmpeg.org/ffmpeg-filters.html#showwaves
eg.
Code:ffmpeg -i input.ext -filter_complex "[0:a]showwaves=s=1920x1080:mode=line:rate=24,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -crf 18 -c:a copy -t 00:01:00 showwaves.mp4
-
cool
I managed to create a .mp4 of both
showwaves => https://www.stubfeed.com/media/ownchunx/15223756184271/15223757187185/showwaves.mp4
python seewav => https://www.stubfeed.com/media/ownchunx/15223756184271/15223757187185/15223757187185_stubwav.mp4
I prefer seewav : more smooth, but that is only an opinion.
cheers
Similar Threads
-
ffmpeg and NVIDIA support under Linux
By jeyjey in forum LinuxReplies: 1Last Post: 19th Mar 2021, 08:47 -
How To Learn File Conversion Using ffmpeg on Linux.
By carlarogers in forum Video ConversionReplies: 1Last Post: 13th Jun 2020, 12:10 -
Help needed using ffmpeg on Linux
By tom0184 in forum Video Streaming DownloadingReplies: 2Last Post: 12th Mar 2020, 11:01 -
How to multiplex avi files on linux/mac/windows? (command line)
By Selur in forum Newbie / General discussionsReplies: 4Last Post: 27th Jan 2018, 08:30 -
which ffmpeg GUI for Linux (Ubuntu Xenial)?
By mrjayviper in forum LinuxReplies: 6Last Post: 7th Nov 2017, 10:07