Git Product home page Git Product logo

Comments (4)

archibate avatar archibate commented on July 21, 2024 1

注意:字幕文件现已经移动到 https://github.com/parallel101/subtitles 这个仓库。

from course.

inkydragon avatar inkydragon commented on July 21, 2024

二楼用作教程,先简单说两句,有待补充...

SubtitleEdit 使用简介

需要的依赖

视频命名为和 *.ass 字幕文件一样,也放在同一个文件夹内。
然后用 SubtitleEdit 打开字幕文件。
SubtitleEdit 可能会然你下载 mpv 作为播放器,然他自动下载就好。

成功打开字幕文件后长这样:
image

选择字幕行

双击一行字幕会转跳到对应的时刻。

播放暂停视频

按空格/手动按播放键,可以播放视频。
等播放到你觉得该停顿的地方就再次按空格键/暂停按钮停下来。

这里以第77行为例。我们播放完 “然后我们这里因为要编译 C++” 这一句就暂停。

然后我们这里因为要编译 C++ ,所以就不是用的GCC,而是 g++ 了

字幕切分

一般来说你都需要把一行长的字幕切分为更短的句子。
这里我们选择在 C++ 后切分。

在字幕编辑窗口 C++ 一词后右键选择 “在光标/视频处分割行”。
这个差不多是最常用的操作,可以去设置里给他添加一个快捷键。
SE 会自动在对应的时间点和光标指定的位置,将当前行切分为两条新字幕。

切分时:
image

切分完成后:
image

可以看见新增了第78条字幕,下面的音频显示也变成了两部分。

校对字幕

切分完成后,我们继续校对第77行。

首先,删除连词“然后”;

接着调整第77行的开始时间:直接拖动波形图部分,对应字幕行右侧的绿线。
你可以先听一遍,就知道应该拖动到哪里了。
听多了有经验了,只听一边就能完成切分+调整开头结尾的起止时间。
(神仙打轴甚至可以做到不听音频,直接看波形切分;我还听过只看频谱图然后录入日文字幕的传说

调整前:
image
调整后:
image

最后我们检查一下有没有专有名词的问题,并重新播放这一句,看看观感。
至此一行字幕就校对完毕了。

等完成 5min 的校对(这里就演示校对了几行)就可以提交 commit,然后准备打开 pr 了。
具体的 fork/commit/pr 看视频:【GitHub】五分钟教你开 Pull Request_bilibili

image

from course.

inkydragon avatar inkydragon commented on July 21, 2024

@archibate 那你把这个 issue 也迁移过去吧

Transferring an issue to another repository - GitHub Docs

from course.

inkydragon avatar inkydragon commented on July 21, 2024

我看你把说明放到 readme 里了,这边就先关闭了

from course.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.