mpv-player / mpv-player/mpv

audio stops playing for 3-5s when using seek backward (#LEFT seek -5) with external audio track (.mka)

Open
#14,729 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv Information
mpv v0.38.0-711-g67e087dc Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Aug 20 2024 00:11:31
libplacebo version: v7.349.0 (v7.349.0-5-g82bf46a-dirty)
FFmpeg version: N-116752-g507c2a577
FFmpeg library versions:
   libavcodec      61.11.100
   libavdevice     61.2.100
   libavfilter     10.2.102
   libavformat     61.5.101
   libavutil       59.34.100
   libswresample   5.2.100
   libswscale      8.2.100
Other Information
Windows version: Windows 10 22H2 Build 19045.4170)
GPU model, driver and version: intel HD Graphics 4600, driver: 20.19.15.5171
Source of mpv: https://sourceforge.net/projects/mpv-player-windows/files/
Introduced in version: v38.0
Reproduction Steps

watch video (in my case 40-50min video 1080p) with an external .mka audio track and seek backward (one time or multiple times) with default keybind #LEFT seek -5 # seek 5 seconds backward

Expected Behavior

seek works smooth like with an internal (inside the .mkv) audio track

Actual Behavior

when using seek backward. The audio will stop for 3-5 seconds (sometimes even more) and then it will play again

Log File

gpu-debug
output.txt
normal logfile
v.38.0
output.txt
v0.38.0-711-g67e087dc
output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:
  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

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

Start by reproducing the 3–5 second audio pause when seeking backward with an external .mka track, using the reported Windows and mpv versions. Compare the attached normal and GPU-debug logs with equivalent playback using an internal audio track. Done means backward seeking resumes audio without the reported delay under the same conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.