Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental subtitle display support (Karoake) with webvtt #16023

Open
clort81 opened this issue Mar 7, 2025 · 1 comment
Open

Incremental subtitle display support (Karoake) with webvtt #16023

clort81 opened this issue Mar 7, 2025 · 1 comment

Comments

@clort81
Copy link

clort81 commented Mar 7, 2025

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

@llyyr
Copy link
Contributor

llyyr commented Mar 7, 2025

This is a feature request for FFmpeg's webvtt parser/ASS writer, not much mpv can do here. mpv doesn't have a native webvtt renderer (as that would require implementing a web engine in mpv), it just renders webvtt converted to ass via FFmpeg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants