ffmpegHow to detect audio volume level
ffmpeg -hide_banner -i in.mp3 -filter:a volumedetect -f null /dev/nullctrl + c| -i in.mp3input MP3 file | -filter:aapplies specified audio filter | 
| volumedetectdetect  | -f null /dev/nullused to hide errors | 
Usage example
ffmpeg -hide_banner -i in.mp3 -filter:a volumedetect -f null /dev/nulloutput
...
[Parsed_volumedetect...] mean_volume: -24.1 dB
[Parsed_volumedetect...] max_volume: -10.7 dB
...Related
More of Ffmpeg
- How to reduce background audio noise using arnndn (neural network models)
- How to reduce background audio noise using afftdn
- List all supported codecs
- How to list supported pixel formats
- How to convert AV1 to H.264
- How to add multi-line text to video using drawtext filter
- Replace audio track in the video file
- How to use filter_complex to apply filters to videos
- Create video from a single image (loop image in video)
- Scaling video with zscale filter example
See more codes...