Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st June 2024, 19:46   #561  |  Link
hypnotize666
Registered User
 
Join Date: Mar 2023
Posts: 10
Qaac Aac lc sbr He 192 Normalize

I found it a bit fishy but I still tried with this command: stdout.wav -normalize | qaac -v 192 --he --ignorelength -o %_.m4a - but the strange thing is that by clicking on the menu at the end it does not mark a .m4a type file but rather an .aac type file as I wasn't sure I tried 2 ways but without success 2: stdout.wav -normalize | qaac -v 192 --ignorelength -o %_2fre.aac -

Last edited by hypnotize666; 21st June 2024 at 19:58.
hypnotize666 is offline   Reply With Quote
Old 22nd June 2024, 09:35   #562  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by hypnotize666 View Post
... but why in the log does it indicate a nero direct show codec error?
Because eac3to need Nero 7 installed to decode AAC, NeroAacDec is not enough. Decode it before to wav with ffmpeg (A/V Recode) and after normalize and recode to AAC.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 22nd June 2024, 09:41   #563  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by hypnotize666 View Post
I found it a bit fishy but I still tried with this command: stdout.wav -normalize | qaac -v 192 --he --ignorelength -o %_.m4a - but the strange thing is that by clicking on the menu at the end it does not mark a .m4a type file but rather an .aac type file as I wasn't sure I tried 2 ways but without success 2: stdout.wav -normalize | qaac -v 192 --ignorelength -o %_2fre.aac -
What menu?
Without success?

Both commands works fine for me (of course over a source than can be decoded by eac3to), the first create a file_.m4a (aac HE in mp4 container) and the second a file_2fre.aac LC
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 22nd June 2024 at 09:43.
tebasuna51 is offline   Reply With Quote
Old 23rd June 2024, 19:06   #564  |  Link
mannequin80
Registered User
 
Join Date: Sep 2023
Location: NYC
Posts: 4
Quote:
Originally Posted by tebasuna51 View Post
Well, I prefer some clip than don't listen the dialogs, with the 0.707 coeficient the volume of center channel is preserved, with low coeficients means attenuate the dialogs.
is there a universal way to enhance the dialogue (center channel) without applying additional filters (like dynaudnorm)?

Last edited by mannequin80; 23rd June 2024 at 19:11.
mannequin80 is offline   Reply With Quote
Old 24th June 2024, 09:54   #565  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
@mannequin80
Read the thread convert 5.1 to stereo

Players can be instructed to enhance the FC in the downmix, for instance with mpc-hc:
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 24th June 2024, 22:02   #566  |  Link
mannequin80
Registered User
 
Join Date: Sep 2023
Location: NYC
Posts: 4
Quote:
Originally Posted by tebasuna51 View Post
@mannequin80
Read the thread convert 5.1 to stereo
i'd love to keep it at 5.1 and make it playable across various devices with good sounding dialogue while maintaining the dynamic range as much possible and not using any hardware methods like DRC or Night Mode. after looking at multiple methods, i can't find a better solution than "volume=x.xdB (if needed), dynaudnorm=p=0.9:m=2:g=31:f=300". there's no easily detectable volume pumping even in complicated scenes BUT the drawback of this method is the loud parts (like music, etc) become even louder so it's difficult to preserve the balance. wondering about any additional tweaks to try.
mannequin80 is offline   Reply With Quote
Old 26th June 2024, 23:39   #567  |  Link
DanDare1983
Registered User
 
Join Date: Jan 2020
Posts: 98
Do you have to -keepdialnorm when extracting atmos? I remember using the old eac3to and it would automatically remove dialnorm as it was supposed to help in some way. I'm using -keepdialnorm from now on as I think it's the best thing to do especially as dgdemux and makemkv keeps dialnorm too.
DanDare1983 is offline   Reply With Quote
Old 27th June 2024, 08:57   #568  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by DanDare1983 View Post
Do you have to -keepdialnorm when extracting atmos? I remember using the old eac3to and it would automatically remove dialnorm as it was supposed to help in some way. I'm using -keepdialnorm from now on as I think it's the best thing to do especially as dgdemux and makemkv keeps dialnorm too.
Just a few days before:

Quote:
Originally Posted by tebasuna51 View Post
The data are preserved (same size and MediaInfo show both like JOC) but with Dialnorm changed (if show -31 dB maybe it is changed) seems not compliant.

Extracted with -keepDialnorm my Denon player show DD Atmos and decoded with Dolby Reference Player seems fine.

Without -keepDialnorm (or converted to mkv from m2ts with MkvToolnix) my Denon player show DD+ and decoded with Dolby Reference Player we obtain only silence.

Like I say MediaInfo show JOC for both and Cavernize decode both with the same output (seems more permissive).
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 2nd August 2024, 13:44   #569  |  Link
spinkeln
Registered User
 
Join Date: Jul 2024
Posts: 1
Deleted

Last edited by spinkeln; 9th August 2024 at 11:22. Reason: Will be moved to it's on thread
spinkeln is offline   Reply With Quote
Old 5th September 2024, 07:31   #570  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,173
Quote:
Originally Posted by DanDare1983 View Post
Do you have to -keepdialnorm when extracting atmos?
Using eac3to v3.52, I've discovered that using -keepdialnorm wasn't necessary as eac3to indicates, when it starts to operate on the source, that it is "Keeping dialnorm."

The job that was doing was extracting the thd and ac3 streams from a mkv file so that I can THD merge the two.
MrVideo is offline   Reply With Quote
Old 5th September 2024, 08:08   #571  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,173
Is it possible with (Us)Eac3to to create an eac3 file with an empty core, like what can be done with a THD stream within a MKV file?
MrVideo is offline   Reply With Quote
Old 5th September 2024, 09:14   #572  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by MrVideo View Post
Using eac3to v3.52, I've discovered that using -keepdialnorm wasn't necessary as eac3to indicates, when it starts to operate on the source, that it is "Keeping dialnorm."
It is not necesary if you have the -keepdialnorm in the eac3to.ini file.

Quote:
Originally Posted by MrVideo View Post
Is it possible with (Us)Eac3to to create an eac3 file with an empty core, like what can be done with a THD stream within a MKV file?
UsEac3to can create eac3 files using ffmpeg (only to 5.1 and without ac3 core, only eac3 frames) but I can't understand the relation with THD.

To create a THD track BD compliant need a ac3 file, not eac3.
To create a eac3 track BD compliant you can't use ffmpeg (maybe Dolby Encoder Engine).
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 6th September 2024, 03:53   #573  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,173
Quote:
Originally Posted by tebasuna51 View Post
It is not necesary if you have the -keepdialnorm in the eac3to.ini file.
It is there, but I never put it there. Must be part if the distro.
Quote:
UsEac3to can create eac3 files using ffmpeg (only to 5.1 and without ac3 core, only eac3 frames) but I can't understand the relation with THD.
THD was only mentioned as an example.
MrVideo is offline   Reply With Quote
Old 6th September 2024, 08:20   #574  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by MrVideo View Post
Must be part if the distro.
Yes, it is. I don't like that option and I delete that option from the .ini file.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 6th September 2024, 22:23   #575  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,173
Quote:
Originally Posted by tebasuna51 View Post
Yes, it is. I don't like that option and I delete that option from the .ini file.
Why don't you like the option?
MrVideo is offline   Reply With Quote
Old 7th September 2024, 10:27   #576  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
The Dialog Normalization different than -31 dB force to compliant decoders to attenuate the E-AC3 tracks all the sound.
Thats is a problem to recode, or listen, compared with others codecs.

For instance, with old DVD's with AC3 and DTS tracks all the people prefer the DTS track because sound high, normally 4 dB high with standard DN at -27 dB, than the same AC3 track.
The DTS encoder is not better, at same bitrate, than the AC3 only it is decoded without attenuation.
The same source encoded with GUIDE: How To Properly Encode Dolby Digital Audio (AC3) recomendations sound with less volume than encoded with AAC, DTS,...

The same for the Dolby recomendation about Dynamic Range Compression, when we need recode a E-AC3 track we need force decoders (ffmpeg, avs decoders) to use drc=0.
When ffmpeg encode AC3 or EAC3 by default always use DN -31 dB and DRC=none to offer the same behaviour than others codecs.

If all the audio was encoded with Dolby defaults DN/DRC all can be ok, but if you listen Dolby compliants tracks and TV comercials or CD audio (Loudness war) or the same track encoded with other codec, you need modify the volume button every time.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 7th September 2024 at 10:34.
tebasuna51 is offline   Reply With Quote
Old 8th September 2024, 08:13   #577  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,173
Thanks for the info. I certainly do not want DRC. I'll remove the keepdialnorm option from the ini.
MrVideo is offline   Reply With Quote
Old 8th September 2024, 10:06   #578  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,248
With regard to Dolby audio streams, is Dialnorm applied to all the available channels or just the centre channel?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 8th September 2024, 22:11   #579  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,079
Quote:
Originally Posted by SeeMoreDigital View Post
With regard to Dolby audio streams, is Dialnorm applied to all the available channels or just the centre channel?
To all. Just a part of GUIDE: How To Properly Encode Dolby Digital Audio (AC3):
Quote:
The decoder will perform an attenuation of (31 + dialnorm) dB to the program material when played back. So, in this case, the decoder will attenuate by (31 + -18) = 13 dB. This will bring the average sound level of the material to (-17.6 - 13) = -30.6 dBFS. The program is now played back at approximately -31 dBFS, the reference level.

-31 dBFS is a lower average volume level than what is typical from other sources. It will be noticeable that you will have to turn the volume up on your system when playing a DVD versus playing broadcast, tape, or other non-Dolby Digital program material.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 9th September 2024, 09:27   #580  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,248
Quote:
Originally Posted by tebasuna51 View Post
Thanks
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.