I can certainly help you with a tutorial on how to use yt-dlp to download videos and audio from the internet! In this comprehensive yt-dlp tutorial, we will explain what yt-dlp is, how to install it on Linux, and the most commonly used yt-dlp commands to download audio and video from various websites.
标签: youtube-dl
download subtitles with youtube-dl or yt-dlp
需要的参数:
- –list-subs:列出可下载的所有字幕
- –write-sub:储存字幕
- –write-auto-sub: 储存自动翻译的字幕,限 youtube 可以使用
- –embed-sub:将字幕合并至影片中,需搭配 –write-sub 参数使用
- –all-subs:下载所有字幕
- –sub-format:下载的字幕格式,如果原影片没有指定的字幕格式会去下载其他格式的字幕
- –sub-lang:选择要下载的字幕语言,用逗号分隔,例如:zh_TW,ja
- –convert-subs:将下载的字幕转换成其他格式,目前支援 srt|ass|vtt|lrc
列出所有可用字幕
系统升级后,Yt-dlp提示错误:’libsrt.1.4.dylib’ (no such file) ffmpeg not found error with yt-dlp & youtube-dl
ERROR: Postprocessing: Reason: tried: '/usr/local/opt/srt/lib/libsrt.1.4.dylib' (no such file), '/usr/local/lib/libsrt.1.4.dylib' (no such file), '/usr/lib/libsrt.1.4.dylib' (no such file), '/usr/local/Cellar/srt/1.5.1/lib/libsrt.1.4.dylib' (no such file), '/usr/local/lib/libsrt.1.4.dylib' (no such file), '/usr/lib/libsrt.1.4.dylib' (no such file)
使用以下命令重新安装ffmpeg:
使用 yt-dlp 下载 YouTube 视频和播放列表(常见用法示例)
yt-dlp 是现在陷入困境的 youtube-dl 的一个分支,除了积极维护之外,yt-dlp 最舒服的地方应该是它遵循与 youtube-dl 类似的命令。
Youtube-dl Error: YouTube said: Unable to extract video data (Fixed)
Youtube-dl下载youtube的视频时不成功并,出现 Error: YouTube said: Unable to extract video data 错误提示。
Downloading Age Restricted Videos With Youtube-DL
yt-dlp is a fork from the now troubled youtube-dl, the best part about yt-dlp aside from being actively maintained is that it follows similar commands to youtube-dl.