mpv-player / mpv-player/mpv

Give access to previous and next frames in shaders

Open
#9,989 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

With upcoming FSR 2.0, it would be a good idea to have access to previous and next frames for creating motion vectors. Besides FSR 2.0, they could also be used for creation of other temporal solutions.

I know that it looks like FSR 2.0 also requires access to a depth buffer, but I guess we can just skip that step or feed it a fake depth map to make it work.

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

Review the linked FSR 2.0 requirements and mpv's existing shader and frame-handling entry points. Determine how previous and next frames should be exposed, how motion-vector generation would use them, and whether depth handling is in scope; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.