Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)


What links here:

Music visualizer with ffmpeg

Of course ffmpeg can do everything:

Histogram:

img

ffmpeg -i INPUT.wav -filter_complex
"[0:a]ahistogram=s=hd480:slide=scroll:scale=log,format=yuv420p[v]"
-map "[v]" -map 0:a
-b:a 360k OUTPUT.mp4

Waves:

img

ffmpeg -i INPUT.wav -filter_complex
"[0:a]showwaves=mode=line:s=hd480:colors=White[v]"
-map "[v]" -map 0:a -pix_fmt yuv420p
-b:a 360k -r:a 44100  OUTPUT.mp4

See more examples here: https://lukaprincic.si/development-log/ffmpeg-audio-visualization-tricks