mpv-player / mpv-player/mpv

Add option to disable audio filters on custom playback speeds

Open
#18,037 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

Sometimes we use audio filters for simple things like normalization, like:
af=lavfi=[loudnorm=I=-16:TP=-3:LRA=10]

On certain tracks, those filters can be applied in real time at custom playback speeds without causing any issue. But there are cases, specially for multichannel audio inputs, where trying to apply those filters at faster speeds will cause multiple problems, like stutters, buffering, de-synchronization, etc.

I can't confirm if the issue is global across different platforms because I only use Windows, and I acknowledge it may be a key factor.

I use a lua script to store the current applied filters and disabling them when playback speed is changed, and restore when back to 1x. I wanted to suggest this be a standard MPV behavior, either by default or through the passing of a custom argument in the conf file.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by locating mpv's audio-filter handling and custom playback-speed handling, then trace how configuration options are defined; done should mean a configurable way to disable filters at affected speeds and restore them at normal speed without the reported stuttering, buffering, or synchronization problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.