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

Subtitle loading issues/字幕加载问题 #2808

Open
ysn2382617094wsw opened this issue Aug 2, 2024 · 0 comments
Open

Subtitle loading issues/字幕加载问题 #2808

ysn2382617094wsw opened this issue Aug 2, 2024 · 0 comments

Comments

@ysn2382617094wsw
Copy link

After loading the subtitles, the display of the subtitles doesn't match the sound of the media, it's always about 1-2 seconds late, the VTT files have been checked in the local Potplayer and there is no problem/加载字幕后,字幕的显示与媒体的声音无法匹配,总是晚1-2秒左右,VTT文件已在本地Potplayer检查,并没有问题
QQ截图20240802141512
WEBVTT

00:00:53.250 --> 00:00:56.920
有时候我会突然醒来

00:00:57.880 --> 00:01:00.710
发现自己在流泪

The first sentence of the VTT file is at 00:00:53 but the subtitles start loading at around 00:00:51, why is that?/VTT文件第一句话是在00:00:53 但是字幕在00:00:51左右就开始加载了,这是为什么?

code and file.zip
Above is my index (plyr and hls) code, and the main m3u8 file, the 1080p sub m3u8 file, the subtitle m3u8 file, and the subtitle VTT file/上面的是我的index(plyr 和 hls)代码,和主m3u8文件、1080p分m3u8文件,字幕m3u8文件、和字幕VTT文件

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

No branches or pull requests

1 participant