Youtube标题生成

时间:2013-08-19 14:27:22

标签: youtube-api

我是youtube字幕的新手。我的问题是从youtube逐句生成标题文件(格式vtt)。我尝试编写纯文本文件并将其上传到youtube。 Youtube正确生成标题文件,但不是逐句生成。我想知道我是否一个接一个地想要vtt文件,那么我需要以哪种格式编写我的纯文本文件?按照我尝试过的例子:

纯文本文件:

Good day, everyone, and welcome to this meeting of earnings release conference call. Today's call is being recorded. At this time for opening remarks and introductions, I would like to turn the call over to Anand Soni, Senior Director of Investor Relations. Please go ahead, sir.

Youtube生成如下:

WEBVTT

1
00:00:00.110 --> 00:00:03.759
Good day, everyone, and welcome to this meeting of 
earnings release conference

2
00:00:03.759 --> 00:00:07.860
Call. Today's call is being recorded. At this 
time for opening remarks and introductions,

3
00:00:07.860 --> 00:00:10.809
I would like to turn the call over to Anand Soni.
Senior Director of Investor Relations. Please go ahead, sir.

我想这样:

WEBVTT

1
00:00:00.110 --> 00:00:03.759
Good day, everyone, and welcome to this meeting of 
earnings release conference Call.

2
00:00:03.759 --> 00:00:07.860
Today's call is being recorded.

3
00:00:07.860 --> 00:00:10.809
At this time for opening remarks and introductions,I would 
like to turn the call over to Anand Soni.

4
00:00:010.809 --> 00:00:11.809
Senior Director of Investor Relations. Please go ahead, sir.

我通过编程语言Ruby来做所有上述事情。我想知道我的纯文本文件在格式化方面需要做些什么,以便youtube会按句子vtt文件生成预期的句子?

感谢。

0 个答案:

没有答案