News for hackers. Stuff that matters.
Re:I found an 8 years old bug in Xorg by thenbe on Sunday June 23, 2024 @12:08PM (#40768427)
Picom has an awesome feature [0] that, for the sake of all our eyes, should come by default on every device with a screen. It can continuously adjust the brightness of individual windows by averaging all the pixels in that window. It's great for defending against "flashbangs" (when a new tab burns your eyes with a blank white screen).

0: https://github.com/yshui/picom/blob/ae73f45ad9e313091cdf720d...

Re:I found an 8 years old bug in Xorg by kinow on Sunday June 23, 2024 @12:14PM (#40768474)
Interesting feature! Wish I had that option on my devices, combined also with something similar for sounds.
Re:I found an 8 years old bug in Xorg by celrod on Sunday June 23, 2024 @12:31PM (#40768623)
Yes! It annoys me when a scene with characters shouting is much louder than a scene where characters are talking with hushed voices, as an example.

We know a shout was louder at the source, but the decibel level at our ears is proportional to 1/distance squared, meaning hushed voices aren't necessarily any quieter "in real life". I'd prefer suspenseful and dramatic scenes both play at similar, comfortable levels. I don't want to have to adjust the volume up and down so I can understand one scene and then not have it be disturbingly loud in the next. In practice, I just use subtitles to circumvent the "difficult to understand" problem.

Re:I found an 8 years old bug in Xorg by aeadio on Sunday June 23, 2024 @12:43PM (#40768720)
What you're describing is called dynamic range compression, and mpv can be configured to do this in multiple ways.

Back in the physical media days, it was pretty common for DVD/Bluray players to include this feature. Unfortunately it's not something that streaming app developers thought twice about. Your TV or streaming box also may or may not have the feature.

Re:I found an 8 years old bug in Xorg by technofiend on Sunday June 23, 2024 @03:26PM (#40769923)
It's a problem for me between being half deaf anyway and Google not adjusting source streams to any sort of minimum decibel level. So listening to the local Pacifica station with no adjustment is about half the loudness of the local NPR station. Pleas to correct the audio level have fallen (heh) on deaf ears, so my donations and my listening has moved elsewhere. Sorry, local radio. I'd support you if you'd support me.
Re:I found an 8 years old bug in Xorg by yonatan8070 on Sunday June 23, 2024 @01:22PM (#40768996)
Unfortunatly cinemas either don't use MPV or don't use this feature, so while dialog is audible, gunfire is often way too loud for me
Re:I found an 8 years old bug in Xorg by iforgotpassword on Sunday June 23, 2024 @01:59PM (#40769264)
Huh, I actually want this when I'm at the cinema, for immersion. Just not when I'm watching a movie at home at 11pm.
Re:I found an 8 years old bug in Xorg by gertlex on Sunday June 23, 2024 @01:39PM (#40769119)
It's interesting that even podcasts, which you'd think would be more focused on audio considerations, don't do this, either. I'm mostly thinking of Dan Carlin's podcasts, where sometimes he goes a weee bit quiet. (And Shadows of Utopia, which I have to jack up the volume for the entirety of)

(insert caveats about: artistic effect; I have zero audio engineering experience; podcasters definitely do some things in this vein e.g. https://www.reddit.com/r/podcasting/comments/10oqvpm/podcast...)

Re:I found an 8 years old bug in Xorg by 3abiton on Tuesday June 25, 2024 @06:35PM (#40794476)
Doesn't that depends in the sound system setup ie hardware? I tried vehemently to fix it once with JamesDSP with no avail. My understanding then was the need for hardware support like Dolby or something. It was always an issue with music and dialog.
Re:I found an 8 years old bug in Xorg by exe34 on Sunday June 23, 2024 @02:08PM (#40769344)
I'm watching a tv show, and while I'm sure a crying baby is appealing to a parent to the point they'll run at it, I'm now sufficiently annoyed that I'm just skipping past the crying baby storyline.
Re:I found an 8 years old bug in Xorg by cozzyd on Sunday June 23, 2024 @03:08PM (#40769776)
Part of this is psychoacoustics... Our hearing sensitivity is peaked near a crying baby frequency regardless of dBa.
Re:I found an 8 years old bug in Xorg by jokethrowaway on Sunday June 23, 2024 @02:01PM (#40769288)
Poor audio systems are also to blame for this

You want a 3.1 system (at least) and increase the center channel

Re:I found an 8 years old bug in Xorg by Dalewyn on Sunday June 23, 2024 @05:05PM (#40770577)
No: The problem is directors who love mumbling, audio people who have no idea how to record and balance audio properly, and media players that can't or aren't configured to properly downmix audio tracks as appropriate.

It is absolutely possible and honestly standard fare to have properly balanced audio playing on the $1 tin cans found in TVs and laptops.

Re:I found an 8 years old bug in Xorg by aidenn0 on Sunday June 23, 2024 @05:11PM (#40770606)
I have a 3.1 system and it's still terrible on many movies made after 2010ish.

P.S.

Even properly mastered content will not work well in a noisy environment (e.g. a car or if you have a dozen fans going because it's summer). Here's my ffmpeg filter for such situations (including a stereo downmix, for those without a center channel):

   aformat=channel_layouts=stereo, compand=0 0:1 1:-90/-900 -70/-70 -30/-9 0/-3:6:0:0:0
Re:I found an 8 years old bug in Xorg by tiberious726 on Monday June 24, 2024 @02:07PM (#40779020)
No, you'd be surprised at all the random crap they put on the center channel nowadays. You just need an equalizer and use it to boost the frequencies of human speech. A lot of AVRs call this "dialogue enchancer", but you can do it easily in software
Re:I found an 8 years old bug in Xorg by tmtvl on Sunday June 23, 2024 @04:12PM (#40770267)
There is a preset for EasyEffects which can handle that: https://github.com/Digitalone1/EasyEffects-Presets

I haven't tried it for music, but for videos it works pretty well.