1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 14:50:07 +00:00
mpv/DOCS
wm4 031555fbe6 player: add display sync mode
If this mode is enabled, the player tries to strictly synchronize video
to display refresh. It will adjust playback speed to match the display,
so if you play 23.976 fps video on a 24 Hz screen, playback speed is
increased by approximately 1/1000. Audio wll be resampled to keep up
with playback.

This is different from the default sync mode, which will sync video to
audio, with the consequence that video might skip or repeat a frame once
in a while to make video keep up with audio.

This is still unpolished. There are some major problems as well; in
particular, mkv VFR files won't work well. The reason is that Matroska
is terrible and rounds timestamps to milliseconds. This makes it rather
hard to guess the framerate of a section of video that is playing. We
could probably fix this by just accepting jittery timestamps (instead
of explicitly disabling the sync code in this case), but I'm not ready
to accept such a solution yet.

Another issue is that we are extremely reliant on OS video and audio
APIs working in an expected manner, which of course is not too often
the case. Consequently, the new sync mode is a bit fragile.
2015-08-10 18:48:45 +02:00
..
client_api_examples DOCS: fix wrong libmpv's cocoa example comment 2015-05-27 14:34:42 +02:00
man player: add display sync mode 2015-08-10 18:48:45 +02:00
client-api-changes.rst client API, dxva2: add a workaround for OpenGL fullscreen issues 2015-07-03 16:38:12 +02:00
compile-windows.md DOCS/compile-windows.md: fix Lua package 2015-06-18 18:41:09 +02:00
contribute.md Require contributions in LGPLv2.1+ 2015-07-24 23:54:51 +02:00
edl-mpv.rst Drop libquvi support 2014-10-25 20:18:22 +02:00
encoding.rst manpage: update config file locations 2014-06-28 15:55:09 +02:00
interface-changes.rst player: add display sync mode 2015-08-10 18:48:45 +02:00
mplayer-changes.rst Disable DVD and BD menu support (to be removed) 2015-06-26 23:37:30 +02:00
release-policy.md DOCS: mark the recent release in client-api-changes.rst 2014-08-12 23:01:19 +02:00
tech-overview.txt options: remove --leak-report 2015-05-02 19:03:28 +02:00
waf-buildsystem.rst Various spelling fixes 2015-06-18 19:36:58 +02:00