Conform volume = mean_volume???

Questions and answers on how to get the most out of FFAStrans
Post Reply
lue3099
Posts: 14
Joined: Fri Oct 07, 2022 2:29 am

Conform volume = mean_volume???

Post 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 65 times
workflowimg.png
workflowimg.png (110.27 KiB) Viewed 880 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 62 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 65 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 62 times

Regards,
Lue
Attachments
AudioConformInEncode.png
AudioConformInEncode.png (11.78 KiB) Viewed 880 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Conform volume = mean_volume???

Post 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?
emcodem, wrapping since 2009 you got the rhyme?
crispyjones
Posts: 104
Joined: Wed Dec 27, 2017 3:21 am

Re: Conform volume = mean_volume???

Post 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.
Post Reply