mpv-player / mpv-player/mpv

Frame Timings: Redraw: Not Updating Frequently If Video Is 60fps

Open
#12,435 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Important Information

Provide following Information:

  • mpv version:
mpv v0.36.0-315-g7a76cf4d Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on Sep 19 2023 16:34:36
libplacebo version: v6.292.0-400-g63f5089-dirty
FFmpeg version: N-112128-gfa20f5cd9
FFmpeg library versions:
   libavutil       58.25.100
   libavcodec      60.26.100
   libavformat     60.13.100
   libswscale      7.3.100
   libavfilter     9.11.100
   libswresample   4.11.100
  • Windows Version:
Edition	Windows 10 Pro
Version	22H2
Installed on	‎28/‎04/‎2023
OS build	19045.3448
Experience	Windows Feature Experience Pack 1000.19044.1000.0
Reproduction steps
mpv --no-config --vo=gpu-next -v -v --log-file=output.txt bbb-1920x1080-cfg02.mkv
Expected behavior

When using stats.lua page 2 to view Frame Timing the Redraw section should update every second (the same way the Fresh section updates every second).

Actual behavior

When using stats.lua page 2 to view Frame Timing the Redraw section doesn't update every second. (It does update maybe between 5 seconds to 15 seconds, each update is random interval).

Log file

output.txt

Sample files

https://www.libde265.org/hevc-bitstreams/bbb-1920x1080-cfg02.mkv

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 with stats.lua page 2 and reproduce the issue using the provided mpv command, sample video, and output log. Compare the Redraw and Fresh frame-timing updates while playing the 60fps file; done means Redraw updates every second as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
performance
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.