this post was submitted on 03 Jul 2023
49 points (93.0% liked)

Selfhosted

39917 readers
262 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I keep getting my ears blown out because of sonarr downloading quiet rips. How can I fix this? Plex doesn't seem to have any settings to do it.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago (1 children)

While I can't offer a solution, it's not that the rips are quiet. It's most likely it's multi-channel audio and your player/headphones is doing a bad job of downmixing it to stereo. It is probably easier to just make sure you are grabbing releases with 2.0 tracks from the beginning.

[–] [email protected] 1 points 1 year ago

Yeah that's why I end up playing back video content with MPV (in my case using the jellyfin-mpv-shim). I've bound a couple of hotkeys to enable a custom 5.1->2.0 downmix, and another to enable dynaudnorm (basically dynamic compression) so that, when I'm not using headphones, I have a hope in hell of hearing the dialog without loud scenes waking up the neighbors.

[–] [email protected] 11 points 1 year ago (2 children)

Look up ReplayGain. It analyzes and then adds metadata about the peak gains of each file, to the file, without the need to re-encode anything. Foobar2k natively supports it. Hopefully Plex also has support for ReplayGain.

[–] NoisyOne57 8 points 1 year ago

VLC also supports ReplayGain information, and you can set default ReplayGain value on Android, and likely on the desktop one as well.

However to create ReplayGain you need Musicbrainz Picard or the ReplayGain Scanner function of FB2K.

[–] Kethal 4 points 1 year ago* (last edited 1 year ago)

This is the first thing I thought of. ReplayGain has been how this has been done for decades. It doesn't need to reencode the file, which will reduce quality, and there are programs that will scan folders to calculate the gain for each file. Other options suggested that reencode seem unnecessary and inferior.

[–] tomkatt 7 points 1 year ago* (last edited 1 year ago)

If you have Plex pass there’s a built in auto leveling setting, but it’s not available on the free version.

Alternately foobar2000 or other tools can apply replaygain but you’ll need a renderer that will actually use it. I use Asset UPnP.

[–] crossover 6 points 1 year ago* (last edited 1 year ago)

Is this for movies and tv shows? I fix it at the output level and leave my rips unchanged. Check your TV or AVR for a “night mode” or “dialogue enhancement” or use the “reduce loud sounds” system setting if you’re playing back an AppleTV.

If the issue is specifically quiet dialogue and loud action scenes, get a dedicated center channel and boost its volume by a few dB.

[–] [email protected] 5 points 1 year ago (1 children)

Tdarr is probably your best bet. Its main focus is video but it used ffmeg as the backend, so anything it supports is supported in Tdarr (theoretically)

https://home.tdarr.io/

You may need to configure ffmeg arguments in the tdarr step chain if there isn't a default step you can use.

[–] [email protected] 0 points 1 year ago

This, I use tdarr with the "migz convert audio" and "downmix & dynamic range compression" plugins to make sure all my videos have stereo audio channels which gives me a far more consistent experience across my devices

[–] DominicHillsun 3 points 1 year ago

You could use FFMPEG to reencode the audio to a suitable audio levels without touching the video. I am unfamiliar with PLEX player though.

[–] Doomsider -1 points 1 year ago

This guy talks about this issue and offers some solutions

https://youtu.be/Ob0g6ZYNXfQ