mpv-player / mpv-player/mpv

Forwarding gets stuck at the end of some wmv files

Open
#17,929 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv Information
mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0
FFmpeg version: 7.1.2-0+deb13u1 (runtime 7.1.4-0+deb13u1)
FFmpeg library versions:
   libavcodec      61.19.101
   libavdevice     61.3.100
   libavfilter     10.4.100 (runtime 10.5.100)
   libavformat     61.7.100 (runtime 61.7.102)
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100

also tested:
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.360.1
FFmpeg version: 8.0.1-3+b1 (runtime 8.1-3+b1)
FFmpeg library versions:
   libavcodec      62.11.100 (runtime 62.28.100)
   libavdevice     62.1.100 (runtime 62.3.100)
   libavfilter     11.4.100 (runtime 11.14.100)
   libavformat     62.3.100 (runtime 62.12.100)
   libavutil       60.8.100 (runtime 60.26.100)
   libswresample   6.1.100 (runtime 6.3.100)
   libswscale      9.1.100 (runtime 9.5.100)
Other Information
- Linux version: Debian 13 (trixie, current stable)
- Kernel Version: Linux debian-fia 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64 GNU/Linux
- GPU Model: 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15d8] (rev d1)
- Mesa/GPU Driver Version: OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.7-2
- Window Manager and Version: KWin version: 6.3.6
- Source of mpv: debian
- Latest known working version: none
- Issue started after the following happened:
Reproduction Steps

Reproducible with --no-config
Run mpv on the file and hold up or right key.

Expected Behavior

mpv goes to the end then exits

Actual Behavior

mpv gets stuck an instant before the end until the key is released
(how long before the end seems to depend on the file, the repro file gets <1s which would not be much problem but I've seen >2s which gets annoying)

Log File

out.txt

Sample Files

1416529-sd_640_360_30fps.zip

(from https://disk.sample.cat/samples/wmv/1416529-sd_640_360_30fps.wmv) (12s length)

I tried converting a bigbuckbunny to wmv (ffmpeg -i BigBuckBunny_320x180.mp4 -vcodec msmpeg4v3 out.wmv, msmpeg4v3 from what mpv says about the above sample file) and it didn't show the problem so it doesn't happen with all wmv.

I don't remember having this issue with non-wmv files.

I carefully read all instruction and confirm that I did the following:
  • I tested and confirmed that the issue exists with the latest release version or newer.
  • 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 issue with mpv --no-config, the attached 12-second WMV sample, and the right or up key; compare the behavior with the attached out.txt log. Start by tracing end-of-file seeking and playback termination for this WMV file, then verify the fix against the sample and a WMV file that does not reproduce the problem.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.