Bug#687594: Please document how to turn off a filter enabled in ~/.mplayer/config

Josh Triplett josh at joshtriplett.org
Sun Sep 16 16:55:05 UTC 2012


On Fri, Sep 14, 2012 at 08:41:40PM +0200, Reimar Döffinger wrote:
> On Thu, Sep 13, 2012 at 07:26:05PM -0700, Josh Triplett wrote:
> > At the moment, I have to do so by editing ~/.mplayer/config, removing
> > af=scaletempo, re-running mplayer, and seeking to that point.  I haven't
> > found any way to disable a filter either from the command line or from
> > the UI.  Ideally, I'd love to have a "disable filters" key;
> 
> Bind a key to "af_clr" (see DOCS/tech/slave.txt - in MPlayer SVN,
> it seems Debian doesn't install that, it might be worth including it
> even though it is mostly targeted at frontend developers).

I tried binding a key to this:

$ cat ~/.mplayer/input.conf
\ af_clr

As far as I can tell, mplayer now recognizes \ as a bound key (since it
doesn't give an error about not having a binding), and recognizes af_clr
as a valid command (since it doesn't give an error about the command),
but nonetheless hitting \ does not seem to turn off scaletempo.

On the other hand, the following works:

$ cat ~/.mplayer/input.conf
\ af_del scaletempo

Also, now that I can bind a key to this, I find myself wishing for an
af_toggle.

> > in the
> > absence of that, I'd love to have a command-line option to disable an
> > audio or video filter, so that I can override the config file rather
> > than editing it.
> 
> -af-clr, and that one is documented in the MPlayer man-page, right
> at the start of the "AUDIO FILTERS" section.
> Disclaimer: I did not test that they actually work, but if not
> that should be a bug.

Handy; now I don't need to edit the config file every time.

- Josh Triplett



More information about the pkg-multimedia-maintainers mailing list