mpv-player / mpv-player/mpv

External .vtt file subtitles are not displayed when selected

Open
#13,120 11 comments 0 reactions 0 assignees View on GitHub

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
  1. Play a video file with mpv
  2. Add (or auto load) external subtitles in the .vtt format
  3. 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 .srt work with the same video.
  • Remuxing the video file by embedding the same .vtt file works.
  • Tested with the same video file and the same subtitle .vtt file using VLC and it works.
Log file

I detected no error message in the log file but I put it here anyway:

output.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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.