[bug] Playback stops before reaching the end of media in v5.4.0-beta5, works correctly in v4.0.16
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
Start by tracing playback near the end of a media file in the v5.4.0-beta5 code, especially the libmpv OpenGL playback path, and compare its behavior with v4.0.16. Reproduce with the attached subtitle and AAC audio files, checking why playback stops around 00:28:36 before subtitle #321. Done means playback reaches the actual media end as expected.
Written by the indexing model from the issue text.
Description
Description
I found a playback issue in Subtitle Edit v5.4.0-beta5.
The same subtitle file and audio file (.aac file) can be played completely in Subtitle Edit 4.0.16, but in v5.4.0-beta5 playback stops prematurely near the end of the media.
Steps to Reproduce
- Open the attached
.srtfile and corresponding audio file. - Start playback near the end of the file.
- Let playback continue until the last subtitle entries.
Expected Behavior
Playback should continue until the actual end of the audio/media file, as it does in Subtitle Edit 4.0.16.
Actual Behavior
In v5.4.0-beta5, playback stops unexpectedly around subtitle #320 and does not continue to the final subtitle (#321), even though there is still remaining media to play.
Comparison
Subtitle Edit 4.0.16 (works correctly)
- Playback reaches the end of the audio.
- Final subtitle (#321) is reached and displayed.
- Media time progresses normally to the end.
Subtitle Edit v5.4.0-beta5 (problem)
- Playback stops while subtitle #320 is still active.
- Final subtitle (#321) is never reached automatically.
- There is still remaining media/audio after playback stops.
Additional Information
Observed timestamps:
- Subtitle #320: 00:28:34.786 --> 00:28:44.486
- Subtitle #321: 00:28:44.519 --> 00:28:45.020
In v4.0.16, playback continues through both subtitles and reaches the end normally.
In v5.4.0-beta5, playback stops around 00:28:36, leaving several seconds of media unplayed.
Environment
- Subtitle Edit version: 5.4.0-beta5
- Working version: 4.0.16
- Operating System: Windows
- Video player engine shown in UI: libmpv OpenGL
Attachments
I have attached screenshots showing:
- v5.4.0-beta5 stopping playback prematurely.
- v4.0.16 successfully reaching the end of the file.
Please let me know if you would like the sample subtitle and audio files for testing.
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 1.4k
- Avg merge
- 58m
- Merged PRs (30d)
- 697
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from SubtitleEdit/subtitleedit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SubtitleEdit/subtitleedit#16374 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#14510 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Auto- translate find & replacePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SubtitleEdit/subtitleedit#16556 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SubtitleEdit/subtitleedit#16555 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SubtitleEdit/subtitleedit#16554 ·
Maintainers usually reply within 1 day
All issues in SubtitleEdit/subtitleedit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
enhancement P3 performance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
thomhurst/TUnit#7380 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
documentation trivial
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3767 ·
Maintainers usually reply within 1 day