Videos from websites yt-dlp
Opens the video of a web page from its link, so you can subtitle it: YouTube, Vimeo and the many other websites yt-dlp knows. Paste the link in Subtitld and the video downloads and opens in the editor. The add-on keeps yt-dlp up to date by itself, as websites change.
Settings Add-ons Videos from websites (yt-dlp) Install
Subtitld downloads it, checks its SHA-256, and keeps it updated.
- Models
- 2
- Add-on download
- 3–19 MB
- RAM, at least
- 256 MB
Needs Subtitld 26.12. Opening a link comes with Subtitld 26.12; earlier versions don't show this add-on.
Only for videos you may use. Your own, your client's, or ones whose licence allows it. Many websites' terms forbid downloading their videos otherwise. The add-on never signs in anywhere.
What it does
Paste the link of a page with a video. The video downloads into a folder you choose and opens in the editor, as a video file you opened would.
YouTube, Vimeo, Dailymotion, news sites and many more: whatever yt-dlp knows, and plain pages with a video in them.
H.264 video with AAC sound when the website has it, up to 1080p, saved as MP4: what every player and video editor reads. Or MKV, WebM and other codecs, as you choose.
Websites change often, and yt-dlp follows them. The add-on fetches yt-dlp's latest release by itself, at most once a day.
Opening a link
On the start screen, click Open a link, paste the link and click Open. The card shows where the video will be saved: your Videos folder until you pick another with Change folder.
Subtitld first looks at what the link leads to. A link straight to a video file (one that ends in .mp4, say) needs no add-on: Subtitld downloads it itself. A link to a web page is this add-on's job. If it isn't installed, the card says so and offers Install the add-on; once it is, the same card gets the video.
A bar shows the download as it goes, and Cancel stops it and removes what was downloaded. When it's done, the editor opens with the video, ready for subtitles. The video stays in its folder, an ordinary file you can open again later.
One video per link. A link to a playlist or a channel is refused: open one of its videos. A live stream can be opened once it has ended.
YouTube
YouTube hides its videos behind a puzzle in JavaScript that every player has to solve. yt-dlp solves it with Deno, a JavaScript runtime. The first time you open a YouTube link, the add-on downloads Deno once (about 40 MB), checks it against a fingerprint, and keeps it in Subtitld's model folder. Other websites don't need it.
YouTube sometimes asks to sign in to prove you're not a robot, most often on shared or data-centre connections. The add-on can't sign in, so those videos can't be opened with it: Subtitld says so.
Staying up to date
The add-on ships with yt-dlp, and once a day at most, when you use it, it checks yt-dlp's latest release. A newer one is downloaded (about 3 MB), checked against the sums published with it, and used from then on. The yt-dlp the add-on came with stays to fall back on. If a website stops working, try again the next day, or turn Keep yt-dlp up to date back on if it's off.
Models
| Model | Download | Good for |
|---|---|---|
| yt-dlp (updated by the add-on, about 3 MB) Default yt-dlp | Every website; part of the add-on, updated by it | |
| Deno, for YouTube (downloaded once, when first needed) deno | YouTube only, downloaded the first time a YouTube link is opened |
Options
In Settings › Add-ons › Videos from websites (yt-dlp) › Configure.
1080The tallest video to get. Subtitling rarely needs more than 1080p, and a smaller video downloads faster and plays more smoothly in the editor. When a website has nothing this tall, the largest it has below is taken.
mp4The kind of file the video is saved as. MP4 opens everywhere. MKV takes any video and sound: when they don't fit in MP4 or WebM, the video is saved as MKV. For the best a website has, whatever its codec, choose MKV, Any for both codecs and the largest video.
h264The video codec to prefer. H.264 plays in every editor and on every computer. Any takes the best there is, often AV1 or VP9, which older computers and some editors play less smoothly. When the website has nothing in the codec chosen, the best video there is is taken.
aacThe audio codec to prefer: AAC, which plays everywhere, Opus, or Any, the best there is. When the website has nothing in it, the best sound there is is taken.
Once a day at most, when the add-on is used, it fetches yt-dlp's latest release (about 3 MB). Off, it keeps the yt-dlp it came with, which sooner or later stops working with some websites.
Platforms
| System | Download | Tested |
|---|---|---|
| Haiku x86-64 | 3.0 MB | |
| Linux x86-64 | 12.9 MB | Opened links from Subtitld on a real machine; in CI, the installed add-on gets a video from a test page and reaches YouTube through Deno |
| macOS (Apple silicon) | 19.1 MB | In CI, the installed add-on gets a video from a test page and reaches YouTube through Deno (Apple Silicon) |
| Windows x86-64 | 13.4 MB | In CI, the installed add-on gets a video from a test page and reaches YouTube through Deno |
Linux x86-64, macOS on Apple Silicon and Windows x86-64, with nothing to install beside it: video and sound are put together by the ffmpeg that comes with Subtitld. On each one, CI installs the add-on as Subtitld does and gets a video from a test page with it, then fetches Deno and asks YouTube for a video.
Troubleshooting
unsupported_urlThe add-on found no video it can get at this link. Check that the page shows the video itself, not a link to it, and that it plays without signing in.bad_paramsThe link is a playlist, a channel or a live stream, or the website shows the video only to someone signed in. The message says which.network_unavailableThe website or the internet couldn't be reached. Check your connection and try again.internalSomething failed inside yt-dlp; the message has the details. Websites change: try again the next day, when a newer yt-dlp may have arrived.
License
The add-on, yt-dlp and Deno may be used for commercial work. The videos are another matter: they belong to whoever made them, so use only those you have the right to work on.
Versions
- 26.11.3
A Haiku archive (x86-64) joins the Linux, macOS and Windows ones. On Haiku the add-on runs on HaikuPorts' Python 3.14, and YouTube's challenges are solved with Node.js from HaikuPorts instead of Deno, which has no Haiku build. Subtitld installs it there and offers to install the Haiku packages it needs. Nothing changes on the other platforms.
What's Changed
- Haiku: run on HaikuPorts' Python, Node for YouTube by @jonata in https://github.com/Subtitld/addon-ytdlp/pull/1
New Contributors
- @jonata made their first contribution in https://github.com/Subtitld/addon-ytdlp/pull/1