简体   繁体   English

Flash FLVPlayback CuePoint问题

[英]Flash FLVPlayback CuePoint problem

I have a flash app that plays movies. 我有一个播放电影的Flash应用程序。 It loads subtitles and subtitle times from an xml file. 它从xml文件加载字幕和字幕时间。 Now the problem is this: in one or two of the films the first subtitle disappears after only one second even though it's in and out times are correct and it should be displayed for 5 s. 现在的问题是:在一部或两部电影中,即使字幕的进出时间正确,第一副字幕也会在一秒钟后消失,并且应该显示5秒钟。

I have no idea why this is happening since all the other films + subs work fine. 我不知道为什么会这样,因为所有其他电影和字幕都工作正常。 Does anyone have any idea what is happening? 有人知道发生了什么吗?

Any help is much appreciated! 任何帮助深表感谢! m.

I just found out the reason: somewhere in the xml file where the subs and times are, a time was broken due to the default line length of antiword. 我刚刚发现了原因:在xml文件中子和时间所在的某处,由于反字词的默认行长而使时间中断。 I'm using antiword to transform the subtitle files coming in doc format into .txt files. 我正在使用反字词将doc格式的字幕文件转换为.txt文件。 Since the word files are all tables, in the text file the column wasn't wide enough so the time got chopped off. 由于单词文件都是表格,因此文本文件中的列不够宽,因此时间被缩短了。 Have no idea though why this affected the first sub of the film rather than the one that actually had the broken time. 不知道为什么这会影响电影的第一部分,而不是真正影响时间的部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM