mpv-player / mpv-player/mpv

Sup files do not display correctly unless muxed in

Open
#10,345 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

Reproduction steps

Drag sup file into mpv video and seek around the video, afterwards go back to start of the video and play. Subs tend to have mixing lines or be out of order.

Expected behavior

Subs be displayed properly.

Actual behavior

Subs are display out of order and/or with missing lines.

Log file

https://pastebin.com/raw/cTpP3JQ2


Problem is not present when the file is muxed in using mkvmerge.

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 reproducing the SUP subtitle issue in mpv 0.34.0 on Windows using the described drag, seek, and replay sequence, then compare it with the muxed MKV case. Review the linked log to identify where subtitle ordering or missing lines begins; done means external SUP subtitles display in the correct order without missing lines after seeking.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
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.