Make left/right subtitle margins configurable separately.
Open
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
Subtitles aligned to the left of the window with a limit on how far they can extend
currently something like:
sub-align-x=left
sub-margin-x=240
sub-justify=left
sub-pos=75
results in subs in the center due to margins applied on both sides

where I'd like them to sit them near left border of the screen
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how mpv parses subtitle margin options and applies them during subtitle placement. Confirm the current behavior described in the example, then verify that left- and right-side margins can be configured independently and that left-aligned subtitles remain near the left window border.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100