mpv-player / mpv-player/mpv

[Meta] Playback bugs when changing speed

Open
#13,694 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv has a variety of subtle issues with when playback speed is changed, including A/V desync, seeking-like behavior, audio and/or video stuttering, etc.

Apparently, this may be a bit complicated to fix in a way that solves all of the issues simultaneously without other side effects, which will take some time, so I am creating this meta issue to track further progress here

Ideally, changing playback speed

  • should be instantaneous and take effect immediately on both the video and audio streams
  • should keep audio and video in sync at all times
  • should not trigger a seek or cause seeking-like behavior
  • should not introduce gaps or cause stuttering in video or audio
  • should report correct values for time-pos and audio-pts at all times

See also

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 file, test, or entry point is identified, so start by reviewing related issues #13513, #13613, and #13622, along with pull request #13614. Done would require playback-speed changes to apply immediately without desynchronization, seeking-like behavior, stuttering, gaps, or incorrect time-pos and audio-pts values.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.