mpv-player / mpv-player/mpv

RTL display for subtitles

Open
#12,978 14 comments 2 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

Before requesting a new feature make sure it hasn't been requested yet.
https://github.com/mpv-player/mpv/labels/meta%3Afeature-request

Expected behavior of the wanted feature

Option to display subtitles with RTL (right to left) correct.
Either automatic (detection of the subtitle language) or a command line option.
This is consumed for translated subtitles, that the translation always leaves certain words in English, and then those words escape to the right side of the display.

It was created here following this problem that I opened in IINA that uses mpv behind the scenes: https://github.com/iina/iina/issues/4698

Log file

I'm using iina which uses mpv behind the scenes so I have no idea how to get a log file.

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 linked IINA issue #4698 and review mpv's subtitle display entry points to determine whether the intended scope is automatic RTL detection, a command-line option, or both. Done means translated subtitles render RTL text correctly, including lines containing English words, with the behavior verified during playback.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.