mozilla 源码
In the age of OTT platforms, there are still some who prefer to download movies/videos from YouTube/Facebook/Torrents (shush 🤫) over streaming. I am one of them and on one such occasion, I couldn’t find the subtitle file for a particular movie I had downloaded. Then, the idea for AutoSub struck me and since I had worked with DeepSpeech previously, I decided to use it to generate subtitles for my movie.
在OTT平台时代,仍然有些人更喜欢通过流媒体从YouTube / Facebook / Torrents(shush🤫)下载电影/视频。 我就是其中之一,在这样的情况下,我找不到我下载的特定电影的字幕文件。 然后,关于AutoSub的想法震惊了我,并且因为我之前曾与DeepSpeech合作,所以我决定使用它为电影生成字幕。
Given a video file as input, my goal was to generate an .srt file. The subtitles could then be imported into any modern video player. In this article, I’m going to walk you through some of the code. You can find the project on my GitHub here with instructions on how to install locally.
给定一个视频文件作为输入,我的目标是生成一个.srt文件。 然后可以将字幕导入任何现代视频播放器中。 在本文中,我将引导您完成一些代码。 你可以在我的GitHub上找到项目在这里就如何在本地安装的说明。
Prerequisites: Intermediate understanding of Python, some familiarity with Automatic Speech Recognition Engines, and a basic understanding of signal processing will be great.
先决条件:对Python有一定的了解,对自动语音识别引擎有一定的了解,并且对信号处理有基本的了解。
Note: This is my first article on Medium. If