Skip to content

Instantly share code, notes, and snippets.

@philhartung
Last active April 21, 2023 21:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philhartung/0486d3df1087975b4222ef6f58502efe to your computer and use it in GitHub Desktop.
Save philhartung/0486d3df1087975b4222ef6f58502efe to your computer and use it in GitHub Desktop.
EBUR128 loudness meter using ffplay, 800x480 resolution for Raspberry Pi touchscreen
#/bin/sh
ffplay -exitonkeydown -exitonmousedown -fs -fflags nobuffer -probesize 32 -analyzeduration 1 -f lavfi -i "amovie=default:f=alsa,asplit=2[sv][eb];\
[sv]showvolume=b=0:o=v:w=480:h=23[sv-v];\
[eb]ebur128=video=1:size=754x480[eb-v][out1];\
[eb-v][sv-v]hstack=2[out0]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment