Page 1 of 1

Audio compression in SMPlayer

PostPosted: Sat Sep 15, 2018 10:25 pm
by kujaw
Is there any easy way to use a compressor in SMPlayer? Any plugin, or maybe I've overlooked something in Preferences?

Re: Audio compression in SMPlayer

PostPosted: Thu Sep 27, 2018 7:08 pm
by d579
no, not in menu

It's not really smplayers fault. MPV changed dynamic range compressor to a really crap version last year.
https://forum.smplayer.info/viewtopic.p ... DRC#p16797
It's not even worth using and people would just complain it's broken.

here is how to add it.
Adavanced> MPlayer/mpv>Options
--af-add=lavfi=[acompressor]


I tried to get acompressor working as in the link

Edit smplayer.ini, look for [filter_options] and add something like this:
acompressor="level_in=0.5:threshold=0.005:ratio=2"

but I never acheived anything worth using.
acompressor="level_in=0.3:threshold=0.004:ratio=4"
that was the best result I could get before I gave up but the hold and release are wrong and it's very noticeable.
It's extremely frustrating.

Re: Audio compression in SMPlayer

PostPosted: Fri Sep 28, 2018 10:03 am
by kujaw
Thank you for your response, it's unfortunate that there's no well working compressor in mpv.
For the moment, I found an app, PulseEffects, which is exactly what I wanted, but systemwide. Just for others struggling with the issue.

Re: Audio compression in SMPlayer

PostPosted: Fri Oct 05, 2018 4:49 am
by d579
Thanks for pointing out pulse effects. Needed a reboot.

Compressed it till the level is almost flat. Perfect.

Re: Audio compression in SMPlayer

PostPosted: Wed Oct 10, 2018 3:51 pm
by d579
update

pulse effects wasn't stable on my system. It was really nice to set compression and see the resulting output too :/

I switched back to https://github.com/gotbletu/shownotes/b ... ression.md

Ubuntu and others really needs an option for system wide drc built in. It took years for colour temp. Maybe there will be drc in another 10 years :(