mpv-player / mpv-player/mpv

Finer control of horizontal subtitle position (sub-pos-x)

Open
#11,580 5 comments 1 reaction 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

Expected behavior of the wanted feature

I have an use case to move SRT subtitles horizontally from their initial centered position, in the same way that I can do vertically (by calling sub-pos).

Alternative behavior of the wanted feature

Perhaps this isn't the right way to think about it, but the closest functions I found on the docs were sub-align-x and sub-margin-x. However, as you know, I can't make use of moving the subtitles through sub-margin-x when sub-align-x is centered.

Note that this is not a case of a singular set of subtitles that I could sort out by creating an ASS subtitle for, rather it is a case that repeats itself in time and applies to the playback of various video files.

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 with the documentation for sub-pos, sub-align-x, and sub-margin-x, then trace how the existing subtitle positioning controls are implemented. Done means a clearly defined horizontal offset control for subtitles that works independently of centered horizontal alignment and is documented for repeated playback use.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.