mpv-player / mpv-player/mpv

Seeking at the very end of a video will freeze the video

Open
#14,981 1 comment 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 Information
mpv 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jan  1 1980 00:00:00
libplacebo version: v7.349.0
FFmpeg version: 6.1.2
FFmpeg library versions:
   libavcodec      60.31.102
   libavdevice     60.3.100
   libavfilter     9.12.100
   libavformat     60.16.100
   libavutil       58.29.100
   libswresample   4.12.100
   libswscale      7.5.100
Important Information
- Platform version: NixOS unstable
- GPU model, driver and version: Mesa 24.2.2, Intel(R) UHD Graphics 620 (KBL GT2)
- Source: nixpkgs nixos-unstable
- Introduced in version: ? (it's existed for years, but I only got to reporting now)
Reproduction Steps
  1. Grab sample file
  2. mpv --no-config --start=28:57 --pause repro.mkv
  3. Press → key, & then unpause
Expected Behavior

The video should keep playing, regardless of whether I seeked very close to the end or not.

Actual Behavior

Audio keeps playing, but video freezes.

Log File

output.txt

Sample Files

yt-dlp -f 399+251 Fs2drSTqd-0 -o repro.mkv

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

Reproduce the freeze with mpv --no-config --start=28:57 --pause repro.mkv, then inspect output.txt alongside the attached sample generated by the listed yt-dlp command. Compare playback after seeking near the end with normal playback; done means video continues playing after unpausing while audio remains synchronized.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.