更新时间:2022-05-07 17:28:56
在万一有人需要,我做我的解决方案。
In case anyone needs, I did my solution.
我公司开发的字幕模块。 为了得到准确的毫秒,我做了一个同步的系统和播放器的定时器。
I developed the subtitles module. To get the accurate milliseconds, I made a synchronizer for system and player timers.
每20秒的视频播放我做的这个程序:
Every 20 seconds of video playback I do this procedure:
现在,如果我想在当前电影毫秒:
Now, if I want the current movie milliseconds:
易,并导致同步字幕;)
Easy, and resulted in synchronized subtitles ;)