←back to thread

1113 points Bluestein | 8 comments | | HN request time: 0.206s | source | bottom
1. FrostKiwi ◴[] No.41278574[source]
Cannot recommend --video-sync=display-resample enough. The one reason I use mpv on every OS over every other media player
replies(2): >>41279277 #>>41282521 #
2. navigate8310 ◴[] No.41279277[source]
Can you explain what it does?
replies(2): >>41280013 #>>41353620 #
3. shmerl ◴[] No.41280013[source]
> Resample audio to match the video. This mode will also try to adjust audio speed to compensate for other drift. (This means it will play the audio at a different speed every once in a while to reduce the A/V difference.)

I'm not sure what's the benefit of that is though.

replies(1): >>41353621 #
4. literallycancer ◴[] No.41282521[source]
Doesn't it already keep the audio in sync by default? What's the difference with this option?
replies(1): >>41353629 #
5. FrostKiwi ◴[] No.41353620[source]
It's makes so the frame pacing fits the display refresh rate, making viewing a lot more pleasant and smoother. Eg.: Your Screen is 60hz, but the video is 59.97hz, then there will be a dropped frame. `--video-sync=display-resample` speeds the video up by a tiny percentage to make every display refresh match a new video frame. The correction factor is recalculated every frame and can be viewed by pressing I. This makes way more difference that one would imagine and makes 60hz gameplay look hyper smooth, even though not much changed. Frame pacing really matters. Applies to very closely matching framerates or multiples of (eg. 60hz screen with 29.97hz video), not to bigger differences like 50hz vs 60hz.

Drawback: MPV will be forced to run at screen V-Sync, draining battery faster. If your screen is 60hz, but the video is 29.97hz, MPV will re-draw the screen at 60hz, instead of just 29.97hz, doubling GPU load.

6. FrostKiwi ◴[] No.41353621{3}[source]
It's makes so the frame pacing fits the display refresh rate, making viewing a lot more pleasant and smoother. Eg.: Your Screen is 60hz, but the video is 59.97hz, then there will be a dropped frame. `--video-sync=display-resample` speeds the video up by a tiny percentage to make every display refresh match a new video frame. The correction factor is recalculated every frame and can be viewed by pressing I. This makes way more difference that one would imagine and makes 60hz gameplay look hyper smooth, even though not much changed. Frame pacing really matters. Applies to very closely matching framerates or multiples of (eg. 60hz screen with 29.97hz video), not to bigger differences like 50hz vs 60hz.

Drawback: MPV will be forced to run at screen V-Sync, draining battery faster. If your screen is 60hz, but the video is 29.97hz, MPV will re-draw the screen at 60hz, instead of just 29.97hz, doubling GPU load.

replies(1): >>41364799 #
7. FrostKiwi ◴[] No.41353629[source]
It's makes so the frame pacing fits the display refresh rate, making viewing a lot more pleasant and smoother. Eg.: Your Screen is 60hz, but the video is 59.97hz, then there will be a dropped frame. `--video-sync=display-resample` speeds the video up by a tiny percentage to make every display refresh match a new video frame. The correction factor is recalculated every frame and can be viewed by pressing I. This makes way more difference that one would imagine and makes 60hz gameplay look hyper smooth, even though not much changed. Frame pacing really matters. Applies to very closely matching framerates or multiples of (eg. 60hz screen with 29.97hz video), not to bigger differences like 50hz vs 60hz.

Drawback: MPV will be forced to run at screen V-Sync, draining battery faster. If your screen is 60hz, but the video is 29.97hz, MPV will re-draw the screen at 60hz, instead of just 29.97hz, doubling GPU load.

8. shmerl ◴[] No.41364799{4}[source]
60 Hz display is a bad case to begin with. How visible it is let's say on 180 Hz one?

Though ideally, may be display should use adaptive sync to the player rather than the player trying to hack around the video to display?