Vouk:
Output is def over-normalized in Voukoder. I can supply A/B comparisons if nec, but have you not also noticed this. Take in AC3 source file, re-encode as AC3 or EAC3 or DTS or TrueHD and we have noticably louder output in Voukoder encoded files. Not sure why that would be. However if you use SurCode in Premiere, which I would consider a standard, I notice it uses different channel levels for its outputs for AC3 and EAC3. Can you check on this and see if you agree with me.
Over-normalized (loud) sound output in AC3, EAC3 etc and DTS
-
-
- Offizieller Beitrag
I'm not at home so I can't try it out yet.
Maybe it has to do with how premiere decompresses the audio signal from ac-3 to float values. I feed them straight away to FFmpeg.
Need to investigate this more.
Edit: It has one parameter "Clipping true/false". Currently it is set to false always (as I don't want to cut any peaks - that what expect it is used for).
-
Vouk
6. Februar 2020 um 10:52 Hat das Label In Bearbeitung hinzugefügt. -
Def not clipping (ie all audio sources themselves at <0dB max peaks).
-
- Offizieller Beitrag
Is it maybe an AC-3 encoder setting that defines what a max. peak of float 1.0 means? AC-3 has quite a lot of settings: https://www.ffmpeg.org/ffmpeg-codecs.…d-ac3_005ffixed
-
I have found the sound "over loudened" in all outputs I have tried e.g. EAC3 and DTS too. And TrueHD too.
-
- Offizieller Beitrag
I will deal with this on the weekend.
Edit: Or even before the weekend ...
- Created an audio file with Audacity. First tone is 100%, second is 50% and third is 25% (First two mono tracks)
- Adobe AAC created this stereo track. Amplitudes look okay
- Voukoder (Connector 1.2.0, Voukoder 3) with AC-3 also created same looking results.
Can you try to reproduce?
-
would you believe me that playing back the file made in vouk, it is much louder?
But when bringing the same file back into premiere the peaks and waveforms look exactly the same and the playback within premiere of the encoded file is NOT louder?
I know this sounds goofy but it's true.
https://i.imgur.com/rkXSovx.png -
would it have anything to do with dialnorm or bsid( whatever that is)
The original is on left and the vouk encode on right. The original is dialnorm -27dB and vouk is -31dB. The original bsid is 16 and vouk encode is 8.
https://i.imgur.com/Kw0MPqK.png -
- Offizieller Beitrag
So from the encoder and decoder point of view everything looks alright. So no bug in premiere and/or voukoder.
Ergo: It has to do with how the player plays it and thus it should be the metadata in the encoder settings: https://www.ffmpeg.org/ffmpeg-codecs.html#AC_002d3-Metadata
Zitat-dialnorm value
Dialogue Normalization. Indicates how far the average dialogue level of the program is below digital 100% full scale (0 dBFS). This parameter determines a level shift during audio reproduction that sets the average volume of the dialogue to a preset level. The goal is to match volume level between program sources. A value of -31dB will result in no volume level change, relative to the source volume, during audio reproduction. Valid values are whole numbers in the range -31 to -1, with -31 being the default.
Sounds very much like it could be the cause.
Maybe you can try?
-
you can try yourself, encode at dialnorm -31 or -1. I play back in MPC64 or bitstream to my receiver. Whatever dialnorm value you set in Voukoder it doesn't change the playback volume strangely. So it must be some other bit of metadata.
-
I get about ~7db louder mix (in playback) with Vouk encodes.
-
-
- Offizieller Beitrag
I have to say that I am not an expert in encoder configuration options. I try my best but what I currently do is compare this on a technical, programmers level.
But what I've also found is:
- Premiere renders a mono audio track of 100% amplitude to only 70%
- Stereo is 100%
I really don't understand this. Why does mono get rendered to 70% only?
scarbrtj What do you use? Stereo or 5.1?
-
I am using AC3 renders almost exclusively, and 5.1 the majority of time. It will be a 5.1 source that's AC3, or EAC3, and I will render it as EAC3 or AC3 using Vouk. Usually 5.1 sources rendered as 5.1, but sometimes 2.0 sources rendered as 2.0 AC3 or EAC3. Either way, playback is louder than the original. Playback will be either in MPC in Windows, or direct bitstream by a client (usually a Roku or a Shield or occasionally a Windows PC) into an AC3 or EAC3 capable audio receiver or TV. As we have show previously though, the actual "data" of the rendered track is perfect and matches the original in every way. It's some sort of "metadata" that is telling the playback device(s) to boost the audio up. And as I have stated previously, the SurCode software puts out AC3 and EAC3 renders that when played back match the original's loudness characteristics. In Premiere, you generally have to output only in MP4 containers using SurCode.
The mono issue is weird but I have not done much mono work and have no complaints there (for now lol).
EDIT: will also add our default -4.5/-6 dB levels for channels in options do not match the default values in SurCode. -
- Offizieller Beitrag
Ok, didn't test 5.1 so far. But will do now.
-
- Offizieller Beitrag
-
Vouk
12. Februar 2020 um 12:03 Hat das Label von In Bearbeitung auf Kein Bug geändert. -
I agree with that
Will you be working on having Voukoder write different metadata settingsI am not sure this is "essential" but, technically, this is a "non-conforming" output it seems
-
- Offizieller Beitrag
Actually this depends on the implementation of FFmpeg's "ac3" encoder - I'm just using it. Maybe you can ask them for the right combination and values of options?
-
Vouk
22. Februar 2022 um 21:05 Hat das Thema aus dem Forum Bug reports nach Closed verschoben.