Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Maximum Decibel Level in Video File

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Maximum Decibel Level in Video File

Postby chris85 » Mon Apr 03, 2017 3:48 pm

I'm using:

Code: Select all
ffmpeg -i /var/www/CDNFiles/Video_1Web.mp4 -af "volumedetect" -f null /dev/null/ 2>&1


and getting back:

frame=19323 fps=1143 q=0.0 Lsize=N/A time=00:12:52.92 bitrate=N/A
video:1812kB audio:144184kB subtitle:0 global headers:0kB muxing overhead -100.000015%
n_samples: 73822208
[Parsed_volumedetect_0 @ 0x7f77e0] mean_volume: -22.6 dB
[Parsed_volumedetect_0 @ 0x7f77e0] max_volume: 0.0 dB
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_0db: 8169
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_1db: 388
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_2db: 531
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_3db: 2389
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_4db: 5039
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_5db: 12128
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_6db: 24978
[Parsed_volumedetect_0 @ 0x7f77e0] histogram_7db: 48077


However the "max_volume" is higher than 0.0 dBs. We have about 100 video files we are trying to analyze and we know one of them is considerably higher than the others but many of them bring back 0.0 max_volume ratings. I'm thinking the max_volume, stops at 0. Is this correct, and if so is there a way to detect positive decibel levels?

Thanks.
chris85
 
Posts: 1
Joined: Mon Apr 03, 2017 3:43 pm

Return to ffmpeg

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 4 guests