Käyttämällä Arch Linuxissa komentoa
ffmpeg -i Djonkana.mp3 -af volumedetect -f null -y nul &> tulos1.txt
saadaan mm. että "max_volume: -1.6 dB".
Tämä ymmärtääkseni kertoo, että kyseisessä biisissä maksimivolyymi
jää 1.6 dB alle 90 dB:n eli äänen särkymisrajan.
Ehkä joku osaa selittää alla olevat tulokset vielä tarkemmin?
Alla komennon tulos kokonaisuudessaan.
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mp3 @ 0x55e973968a80] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/jorma/Desktop/Djonkana.mp3':
Metadata:
title : Djonkana
artist : Boubacar Traoré
genre : Other
Duration: 00:04:02.90, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Audio: mp3, 22050 Hz, stereo, fltp, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'nul':
Metadata:
title : Djonkana
artist : Boubacar Traoré
genre : Other
encoder : Lavf58.76.100
Stream #0:0: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
Metadata:
encoder : Lavc58.134.100 pcm_s16le
size=N/A time=00:00:00.00 bitrate=N/A speed=N/A
size=N/A time=00:04:02.83 bitrate=N/A speed=1.21e+03x
video:0kB audio:20918kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[Parsed_volumedetect_0 @ 0x55e97397eb40] n_samples: 10710144
[Parsed_volumedetect_0 @ 0x55e97397eb40] mean_volume: -19.9 dB
[Parsed_volumedetect_0 @ 0x55e97397eb40] max_volume: -1.6 dB
[Parsed_volumedetect_0 @ 0x55e97397eb40] histogram_1db: 11
[Parsed_volumedetect_0 @ 0x55e97397eb40] histogram_2db: 195
[Parsed_volumedetect_0 @ 0x55e97397eb40] histogram_3db: 852
[Parsed_volumedetect_0 @ 0x55e97397eb40] histogram_4db: 3301
[Parsed_volumedetect_0 @ 0x55e97397eb40] histogram_5db: 8584