mpv-player / mpv-player/mpv

Add a "--secondary-slang" option

Open
#4,209 6 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi,

I'm using mpv v0.24 on Ubuntu Linux and I would like two display a secondary subtitle knowing that the subtitles SIDs provided by youtube are not always in the same order.

Therefore the --secondary-sid option does not help because I do NOT know the SID number before actually playing the video with mpv :

Here is the example URL : https://www.youtube.com/watch?v=QS2mzHP1Cx4

Can you please consider my idea ?

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 reproducing the reported behavior with the example YouTube URL and reviewing how --secondary-sid selects subtitle tracks. The issue names no source file or test, so trace subtitle track discovery and option handling before defining the expected behavior. Done means a secondary subtitle can be selected without knowing its SID in advance, with coverage for differing YouTube SID orders.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.