mpv-player / mpv-player/mpv

Constant twitching with -video-sync=display-resample

Open
#4,407 32 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hwdec:vdpau vo:gpu vo:gpu:x11
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Trying to watch a 120 FPS Twitch stream with -video-sync=display-resample results in constant video twitching. Same result on display set to 60 Hz, 120 Hz and 144 Hz. 60 FPS streams are fine. -video-sync=audio sometimes also results in constant video twitching and sometimes twitches a little and then normalizes.

mpv version and platform

Arch Linux x64

mpv 0.25.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Sun Apr 23 12:26:53 CEST 2017
ffmpeg library versions:
   libavutil       55.58.100
   libavcodec      57.89.100
   libavformat     57.71.100
   libswscale      4.6.100
   libavfilter     6.82.100
   libswresample   2.7.100
ffmpeg version: 3.3
Reproduction steps

Open a 120 FPS Twitch stream with -video-sync=display-resample.

Expected behavior

Smooth video playback.

Actual behavior

Video constantly twitching, unwatchable.

Log file

display-resample, twitching: http://sprunge.us/LJFW
audio, twitching: http://sprunge.us/CRHD
audio, twitching then normal: http://sprunge.us/ZTjV

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 problem with a 120 FPS Twitch stream using -video-sync=display-resample on the listed refresh rates, then compare the provided display-resample and audio logs. The issue names no source file or test; done means smooth, watchable playback without constant twitching and with the reported synchronization modes.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.