mpv-player / mpv-player/mpv

vaapi rotation

Open
#2,797 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It's a matter of setting the VADisplayAttribRotation attribute to VA_ROTATION_{NONE,90,180,270}. But I couldn't figure out where exactly to set the attribute and how to handle the width and height swapping required for 90/270 rotation.

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

Start by locating mpv's VA-API display setup and the code that handles video dimensions; the issue names no files or tests. Trace where VADisplayAttribRotation can be configured and how VA_ROTATION_NONE, 90, 180, and 270 affect width and height, then verify rotated playback.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.