Re:Ffmpeg 5.0
by gilmore606 on Monday January 17, 2022 @08:56PM
(#29974018)
On a current project I needed to get RMS volume of the mids of an audio file in 1-second isolated segments. I wrote a bunch of code to do just that...and was floored when my partner pointed out to me that ffmpeg could give me that exact data on the commandline.
[ Parent
| on HN ]
Any pointers? Would love to see that command
Re:Ffmpeg 5.0
by gilmore606 on Tuesday January 18, 2022 @12:08AM
(#29975364)
ffmpeg -i in.mp3 -af anequalizer=c0 f=70 w=100 g=-24 t=0|c1 f=70 w=100 g=-24 t=0, anequalizer=c0 f=4000 w=7500 g=-24 t=0|c1 f=4000 w=7500 g=-24 t=0 astats=metadata=1:reset=48,ametadata=print:key=lavfi.astats.Overall.RMS_level:file=log.txt -f null -