Page 1 of 1

Conform volume = mean_volume???

Posted: Mon Nov 07, 2022 6:44 am
by lue3099
Hello :D

I am currently having an issue understanding audio conform setting within the encode processor.

Using the current workflow:
audio_conform.json
(10.71 KiB) Downloaded 173 times
workflowimg.png
workflowimg.png (110.27 KiB) Viewed 1774 times

I have a watch folder that watches a s3-to-smb share that initiates a copy from s3 compatible storage to job workfolder, does a volume analysis to table & creates a report file, does an encode with a volume conform to -24, does another volume analysis and appends to the report and then pushes back to s3 compatibile storage.
Report thats made by workflow:
testfile-1-3-0-2.txt
(105 Bytes) Downloaded 183 times
Heres the issue I'm facing:
When I run the command:

Code: Select all

ffmpeg <path> -map 0 -filter:a volumedetect -f null /dev/null
on the output file I get the following output:
volumedetect.txt
(4.99 KiB) Downloaded 144 times
Which at at the bottom shows: "mean_volume: -31.5 dB"

However, the report that I attached and linked above, show that the channels are all conformed to -24... How is that?
Should "mean_volume" be -24dB if I have conformed volume to -24?
Or do I not understand what conform volume means?


This is the type of file I am running through this workflow:
OriginalInfo.txt
(3.51 KiB) Downloaded 173 times

Regards,
Lue

Re: Conform volume = mean_volume???

Posted: Mon Nov 07, 2022 9:54 am
by emcodem
Hi lue,

from my understanding we analyze the ebur128 program loudness into your variable loudness_pre. If you set Conform volume to -24, the encoder will calculate the difference between the current r128 loudness and -24 and raise/lower the volume accordingly.
Not sure how much the output of volumedetect filter would be influenced by an r128 correction.

What exactly is your goal? Are you not working against r128 specs?

Re: Conform volume = mean_volume???

Posted: Tue Nov 08, 2022 9:16 pm
by crispyjones
I suspect the volumedetect computes mean volume differently than ebu 128. I ran an EBU test file through your workflow and it definitely normalized to the level in the encode block. This is a pretty good free plugin (I used it in audacity) so you can see levels measured to EBU specs https://www.tbproaudio.de/products/dpmeter.