Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.17k stars 525 forks source link

A few sequences are REALLY loud #1200

Open DARwins1 opened 3 years ago

DARwins1 commented 3 years ago

Describe the bug Some sequences in the campaign are extraordinarily loud. Most notably the transport sequence during Alpha 3 and the NEXUS transition in Gamma 8.

To Reproduce Steps to reproduce the behavior:

  1. Play the sequences for either of the missions listed above.
  2. Notice how ear-piercingly loud they are (much louder than the ones that play before or after them).

Expected behavior These sequences should be not as loud.

Your System:

Additional context There may be additional sequences that are too loud (or too quiet), but these are the most noticeable ones.

bjorn-ali-goransson commented 3 years ago

@AlexTheDacian do you have time and will to investigate??

Lupus-Mechanicus commented 3 years ago

Yes, the Alpha 3 [first transport mission] sequence is quite loud. Even in the upscaled stuff by Phase II. We will need to lower the volume of that by 10~15%. As for the NEXUS transition, that could need the same.

drewdunk10 commented 3 years ago

Yes, the Alpha 3 [first transport mission] sequence is quite loud. Even in the upscaled stuff by Phase II. We will need to lower the volume of that by 10~15%. As for the NEXUS transition, that could need the same.

@AlexTheDacian Is this still an issue? If so, could lowering the volume of these sequences be done from the source code? I'm looking to help resolve some of the open issues. Thanks.

bjorn-ali-goransson commented 3 years ago

It would be awesome if someone (you @drewdunk10 ?) would have time to do this.

How about using ffmpeg with the following command? https://trac.ffmpeg.org/wiki/AudioVolume

BTW, are you on Discord? That's where most of our informal discussion happens.

bjorn-ali-goransson commented 3 years ago

Also, check out the audio normalization filters for ffmpeg: https://superuser.com/questions/323119/how-can-i-normalize-audio-using-ffmpeg

Lupus-Mechanicus commented 3 years ago

I can grab and lower the volume on those particular videos but someone must re-upload them back to the SourceForge DB. @past-due , I can do this tonight, can you update the sequences.wz after I send you the fixed .ogg/.ogv files?

Edit: @drewdunk10 , the sequences volume can't be lowered through the source code, from my knowledge, they must be extracted from the sequences.wz archive and separately lowered. If you want to give it a go, you are very so much welcomed to do it! We could always use more hands on deck. :smile:

drewdunk10 commented 3 years ago

@AlexTheDacian @bjorn-ali-goransson I'd love to give it a try, if possible 😃.

I've downloaded the the sequences.wz archive and can see that the inflight sequence for Alpha 3 is extremely loud. From my understanding, I would need to normalize each version (higher, standard, German, and low qualities) and upload them somewhere, correct?

I'll checkout ffmpeg today and join the discord in case I have any more questions 👍

past-due commented 3 years ago

I see two options here:

bjorn-ali-goransson commented 3 years ago

It's better to have tuned originals rather than working around adjusting of volume.

I agree that manual adjustment is less risky than automatic normalization.

Perhaps @drewdunk10 can demux all videos, and then listen to them one by one, and make an assessment with regards to volume. ie. 100% = normal volume, maybe some are 90% (and need to be higher), and the loud ones are perhaps at 120%.

After that we can discuss what clips to apply the volume change to.

In my opinion, to make "blind assessments" (by first decoupling the audio from the video) will be easier to reason about.

Then we bind together/re-mux the audio+video and upload the new versions.

drewdunk10 commented 3 years ago

@bjorn-ali-goransson I can do that. Any suggestions for what to use to demux/re-mux .ogg videos? Also, could I have the link for the discord channel?

Thank you all for the suggestions.

bjorn-ali-goransson commented 3 years ago

Go to wz2100.net and to the page footer.

I believe u can use ffmpeg for this too.

highlander1599 commented 3 years ago

Here you are https://discordapp.com/invite/ZvRVQ8g

drewdunk10 commented 3 years ago

Issue being addressed at: https://github.com/drewdunk10/warzone2100-audio-adjustment