mpv-player / mpv-player/mpv

Incremental subtitle display support (Karoake) with webvtt

Open
#16,023 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream:ffmpeg 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

The webvtt format appears to support the kind of animated highlighting of subtitles that is known from the 'karoake player' space. It'd be interesting to add this feature to mpv.
Here's a sample .webvtt with incremental subs:
`
WEBVTT

1
00:00:00.000 --> 00:00:07.000
This <00:00:01.000>text <00:00:02.000>will <00:00:03.000>appear <00:00:04.000>over <00:00:05.000>6 <00:00:06.000>seconds.

2
00:00:07.000 --> 00:00:09.500
Hello<00:00:07.500> world<00:00:08.200>!

3
00:00:09.500 --> 00:00:12.000
This<00:00:09.500> is<00:00:10.100> a<00:00:11.200> test<00:00:11.900>!

`

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

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 mpv's existing subtitle and WebVTT support, then use the sample WebVTT cues in this issue to understand the requested incremental timing behavior. Done means the sample displays progressively highlighted subtitle text during playback, with coverage for the cue-timing cases shown here.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.