mpv-player / mpv-player/mpv

convert-subtitles= in youtube-dl options, doesn't load converted subs.

Open
#8,972 0 comments 0 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

Expected behavior of the wanted feature

For the youtube-dl option "convert-subtitles=srt/ass/ect" to work. And load up converted subs.

Alternative behavior of the wanted feature

You get the base subtitles you requested "sub-format=ttml" instead of converted format your requested. the subtitle formats, (ttml/srv1/srv2/srv3) from youtube all don't display in mpv, and from looking at this issue history, these won't get support unless its by ffmpeg. (Although ffmpeg is successful at converting ttml to srt, it doesn't demux them yet)

Log file

https://puu.sh/HSyLe/3892b514aa.txt

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 reviewing the linked log and locating how the youtube-dl options convert-subtitles and sub-format are handled in mpv. Compare the current subtitle path with ffmpeg conversion support; done means a requested converted format is loaded by mpv instead of the original TTML, SRV1, SRV2, or SRV3 subtitles.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.