Skip to content

Commit

Permalink
chore:3月10日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Mar 9, 2024
1 parent d507e14 commit 02968ee
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
- canva画图 ttps://www.canva.cn
- 查看openai状态
- https://status.openai.com/
## 3月10日
- 免费艺术二维码
- https://textrapp.com/free-tools/zh/ai-qr-code-free-tool
## 2024-03-09
- 生成AI二维码
- https://huggingface.co/spaces/huggingface-projects/QR-code-AI-art-generator
Expand Down
25 changes: 23 additions & 2 deletions docs/javascript/2024-03-07-youtobe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 文章如何整理处理
yt-dlp https://youtu.be/gXaXJ0XXYDk --write-subs
https://youtu.be/gXaXJ0XXYDk
yt-dlp https://youtu.be/31H-TiiRAd8 --write-subs


将字幕文件整理到docx中,然后再进行翻译处理

Expand All @@ -20,3 +20,24 @@ ffmpeg -i Claude3.webm -vf "fps=1" output_images_%04d.png
- .net 版本
- https://github.com/shimat/opencvsharp


- 参考文章 https://www.bilibili.com/read/cv27348176/?jump_opus=1
1、列出所有的视频信息

yt-dlp -F https://www.youtube.com/watch\?v\=FypmEWNN-XI

2、自动选择最佳视频和音频版本下载并下载所有缩略图,保留原始视频和音频,使用ffmpeg自动合并视频和音频

yt-dlp -k --write-all-thumbnails https://www.youtube.com/watch\?v\=FypmEWNN-XI

3、列出所有字幕信息,包括支持的字幕和 youtube 自动翻译的字幕

yt-dlp --list-subs https://www.youtube.com/watch\?v\=FypmEWNN-XI

4、选择可得到的字幕语言版本下载

yt-dlp -k --write-subs --sub-langs "en" --convert-subs srt https://www.youtube.com/watch\?v\=FypmEWNN-XI

5、选择自动翻译的字幕语言版本下载

yt-dlp -k --write-auto-subs --sub-langs "zh-Hans-en" --convert-subs srt https://www.youtube.com/watch\?v\=FypmEWNN-XI

0 comments on commit 02968ee

Please sign in to comment.