1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00
mpv/video
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
..
decode video: remove old vdpau hwaccel API usage 2015-08-10 00:07:35 +02:00
filter vf_vdpaurb: Don't segfault if input mpi is null 2015-08-05 18:56:41 +02:00
out player: add display sync mode 2015-08-10 18:48:45 +02:00
csputils.c video: add a way to disable automatic stereo conversion 2015-07-10 18:04:34 +02:00
csputils.h
d3d.h vo_direct3d, dxva2: use the same D3D device 2015-07-03 16:04:42 +02:00
fmt-conversion.c hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
fmt-conversion.h
hwdec.h hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
image_writer.c image_writer: don't use jpeg baseline, and remove useless jpeg options 2015-08-02 01:10:18 +02:00
image_writer.h
img_format.c hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
img_format.h hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
img_fourcc.h
mp_image_pool.c video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
mp_image_pool.h
mp_image.c mp_image: fix vf_vdpaupp references 2015-07-08 14:48:17 +02:00
mp_image.h video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
sws_utils.c
sws_utils.h
vaapi.c vaapi: destroy derived VAImage after each use 2015-07-15 13:30:32 +02:00
vaapi.h vaapi: drop compatibility crap and vo_vaapi deinterlacer 2015-07-08 14:48:11 +02:00
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00