字幕格式有什么问题?(Video.js) [英] What is wrong with the subtitles format?(Video.js)

查看:49
本文介绍了字幕格式有什么问题?(Video.js)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

video.js 说解析 .srt 字幕文件时出错,内容如下:

video.js says that there is an error while parsing the .srt subtitle file, here's the content:

1
00:01:14,909 --> 00:01:16,999
WOMAN 1:
Well, my dad was a farmer.

2
00:01:18,162 --> 00:01:20,622
Um, like everybody else back then.

3
00:01:22,750 --> 00:01:24,920
Of course, he didn't start that way.

4
00:01:25,503 --> 00:01:27,463
[DISTANT RUMBLING]

5
00:01:30,008 --> 00:01:31,048
[ALARM BEEPING]

6
00:01:31,217 --> 00:01:33,137
MAN [OVER RADIO]:
Computer says you're too tight.

7
00:01:33,303 --> 00:01:35,853
- Nah, I got this.
- Crossing the Straights.

8
00:01:38,266 --> 00:01:40,016
- Shutting it down, Cooper.
- No!

9
00:01:41,519 --> 00:01:43,939
- Shutting it all down.
-No, I need power up!

10
00:01:46,691 --> 00:01:47,941
[COOPER YELLS]

11
00:01:48,276 --> 00:01:49,316
GIRL:
Dad?

据我所知它是有效的,是吗?或者有没有办法检查它的有效性?或者为什么 video.js 说它有一些错误,在谷歌中找不到关于这个的太多信息

as far as I know it is valid, is it? or is there a way to check how valid it is? or why video.js says that is has some errors, couldn't find much information about this in google

推荐答案

问题是它是 SRT 格式.Video.js 支持 WebVTT.

The problem is that it is the SRT format. Video.js supports WebVTT.

这篇关于字幕格式有什么问题?(Video.js)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆