I only recently checked but L-SMASH applies dynamic range compression by default float "drc_scale" (default 1.0). A value of drc_scale=0 should be added to the script with the "Apply DynamicRange Compression" checkbox is left unchecked.
Source: https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/issues/5
This differs from FFAudioSource and NicAudio which default to drc_scale=0 and DRC=0 respectively in their documentation.
https://github.com/FFMS/ffms2/blob/master/doc/ffms2-avisynth.md
http://avisynth.nl/index.php/NicAudio
Please this is a important BUG
I think need someone will continues developer Megui or Zathor will delay until i don't know how long :))
Megui is a great program, but there is no developer, no development to make changes, add needed features, add improvements. It's like Megui has settled permanently in 2021 or thereabouts.
So Zathor is no longer? I thought he came back a year ago.
At least I don't know.
But as you can see - here only three of us publish new components of the program and update it ourselves, but the overall development of Megui is in a very long hibernation. Because the update from Megui developer is once or at most twice in one year.
And @Ho Quoc Viet (@kedautinh12) with his archived versions is fantastic. I am very grateful to @Ho Quoc Viet for updating the Megui archives with the new components and I am downloading them. ;)
Last edit: seagate 2024-01-03
Audio encoding appears to be handled by this file but I'm not sure if there are other places
https://sourceforge.net/p/megui/code/HEAD/tree/megui/trunk/packages/audio/AudioEncoderInterface.cs
The DRC checkbox state is only used for NicAudio while FFAudioSource and L-SMASH will always use their defaults. So L-SMASH will always apply DRC and FFAudioSource will never apply DRC.
Unless this is changed, it's better to use either FFAudioSource or NicAudio if the source file has DRC (aka Dolby audio formats). Another option is to manually edit our avs files to dub the audio and video together; that way we have full control over the audio decoding parameters of L-SMASH / FFAudioSource / NicAudio.
Last edit: ravewulf 2023-12-03
ravewulf you are right about use FFAudioSource with 0 like default. and:
WARNING: the sintax in last L-SMASH-Works-r1156.0.0.0 have a important change:
the recommended parameter for LWLibavAudioSource/LSMASHAudioSource(..., drc_scale=0,...) not work now, must be:
(..., ff_options = "drc_scale=0", ...)
The last L-SMASH-Works return to the sintax with only (..., drc_scale=0,...).
The new MeGUI-6666 (only 64 bits) include that parameter automatically. Use it because Kurt-noise want upgrade it.
Then this problem is only for the old MeGUI 32 bits without maintenance by the moment.