Ctrl在 VS 代码中,当我使用+切换注释时/,它会用 注释该行@REM。我如何更改它以仅用 注释该行REM?
我的目标是在单独的文件中下载带有自动生成字幕的 YouTube 视频,例如.vtt、.srt等。
我目前正在努力实现这一目标youtube-dl但如果需要,我愿意接受其他解决方案。
当我运行以下命令时,它将视频下载为.mp4(这很好)和一个单独的.vtt文件,但.vtt似乎不知何故搞砸了,并立即显示整个剪辑的所有文本,而不是指定的时间。
我正在运行的命令:
youtube-dl --write-auto-sub https://www.youtube.com/watch?v=Roc89oOZOF4&list=PLJBo3iyb1U0eNNN4Dij3N-d0rCJpMyAKQ&index=45
Run Code Online (Sandbox Code Playgroud)
下载此 .vtt:
WEBVTT
Kind: captions
Language: en
00:00:05.960 --> 00:00:08.290 align:start position:0%
thank <00:00:06.003><c>you </c><00:00:06.046><c>ah </c><00:00:06.089><c>crap </c><00:00:06.132><c>well </c><00:00:06.175><c>looks </c><00:00:06.218><c>like </c><00:00:06.261><c>the </c><00:00:06.304><c>good </c><00:00:06.347><c>Lord </c><00:00:06.390><c>just </c><00:00:06.433><c>sent </c><00:00:06.476><c>me </c><00:00:06.519><c>a </c><00:00:06.562><c>conversation </c><00:00:06.605><c>starter </c><00:00:06.648><c>come </c><00:00:06.691><c>here </c><00:00:06.734><c>Jesse </c><00:00:06.777><c>come </c><00:00:06.820><c>get </c><00:00:06.863><c>the </c><00:00:06.906><c>ball </c><00:00:06.949><c>hmm</c>
00:00:08.290 --> 00:00:10.549 align:start position:0%
thank you ah crap well looks like the good Lord just sent me a conversation starter come here …Run Code Online (Sandbox Code Playgroud)