mpv-player / mpv-player/mpv

mpv often skips the last frame in loops.

Open
#7,160 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv version and platform

Gentoo Linux

> mpv --version
mpv ba370e9 Copyright © 2000-2019 mpv/MPlayer/mplayer2 projects
 built on Sun Nov 17 10:06:50 KST 2019
ffmpeg library versions:
   libavutil       56.22.100
   libavcodec      58.35.100
   libavformat     58.20.100
   libswscale      5.3.100
   libavfilter     7.40.101
   libswresample   3.3.100
ffmpeg version: 4.1.3
Reproduction steps

Loop the webm file from Sample files in mpv.

Expected behavior

The last frame should be displayed for a frame duration. If you loop it in a web browser, the last frame can be seen for a frame duration.

Actual behavior

mpv flashes the last frame or skips it entirely instead of showing it for a frame duration.

Log file

log.txt

Sample files

https://0x0.st/z6ji.webm

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 loop using the linked sample webm and inspect log.txt alongside the reported mpv version and platform details. Trace the playback behavior at end-of-stream and loop restart; done means the final frame remains visible for one frame duration on each loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
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.