External .vtt file subtitles are not displayed when selected
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
- mpv version: 0.37.0 1c9c2f5
- Platform and Version: Windows 10
- Source of the mpv binary: Windows builds by shinchiro (releases and git)
Reproduction steps
- Play a video file with mpv
- Add (or auto load) external subtitles in the
.vttformat - Subtitles aren't displayed when selected
Expected behavior
External .vtt subtitles should be displayed.
Actual behavior
External subtitles (in the .vtt format only) are not displayed when playing a video.
Note:
- External subtitles in another format such as
.srtwork with the same video. - Remuxing the video file by embedding the same
.vttfile works. - Tested with the same video file and the same subtitle
.vttfile using VLC and it works.
Log file
I detected no error message in the log file but I put it here anyway:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. First reproduce the issue in mpv 0.37.0 by comparing an external .vtt subtitle with an external .srt file, then trace the external subtitle loading and display path. Done means externally selected and auto-loaded .vtt subtitles render correctly without breaking existing subtitle formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100