Author Topic: Equalizer for Mplayer?  (Read 1948 times)

jone

  • Newbie
  • *
  • Posts: 3
    • View Profile
Equalizer for Mplayer?
« on: November 02, 2014, 14:46:16 »
Mplayer has command-line equalizer, e. g. '-af equalizer=3:3:2:0:-3:-1:0:0:0:0' It is possible to add graphical settings for this?

bucaneer

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Equalizer for Mplayer?
« Reply #1 on: November 17, 2014, 00:37:03 »
It just so happens that gmusicbrowser stores the equalizer settings for the Gstreamer backend in a format that is exactly the same as Mplayer's. That makes it very easy to have the Gstreamer equalizer apply to Mplayer as well. Just insert this line in gmusicbrowser_mplayer.pm, at line 77:
Code: [Select]
push @cmd_and_args, '-af','equalizer='.$::Options{gst_equalizer} if $::Options{gst_use_equalizer};
Of course, this is only a workaround and has its limitations: you can't adjust the equalizer in realtime during playback, and in fact the equalizer controls will only be adjustable when you have the Gstreamer backend selected. But after you've adjusted the settings to your liking, you can just switch to Mplayer backend, keep the "Use equalizer" checkbox ticked and the equalizer will work.

jone

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Equalizer for Mplayer?
« Reply #2 on: November 25, 2014, 22:23:43 »
Thanks. I just copied this settings from other player :)