Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

Streams in pieces (HLS, DASH) come down through MDM's engine (part of #769, #531) (#783)

Ahmed Nefzaouib35b42d4cab5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7cdada44..7dcda812 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,13 +13,13 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see
- Links you add by hand go with the User-Agent of your default browser, at the version you have installed (Chrome, Edge, Brave, Opera, Vivaldi, Firefox or Safari, on Windows, Linux and macOS), instead of the Internet Explorer 11 one MDM sent until now, which some sites no longer let through. MDM looks the browser up once as it starts. **Options → Downloads** shows it with **Automatic** ticked; untick it to type your own, and a User-Agent you had set stays yours. When MDM doesn't recognise your default browser, it sends a current Chrome's; when a site turns a browser's User-Agent away, it asks once more with its former one, as for downloads from the browser (part of [#668](https://github.com/anefzaoui/misterdownloadmanager/issues/668)).
- Sites that let only browsers through: when a site's bot check (Cloudflare's challenge) or its refusal of programs (FileHippo's *412 Precondition Failed*) turns MDM's own connection away, MDM asks once more connecting the way your browser does (its handshake, HTTP/2 settings and order of headers), with the download's User-Agent and your browser's cookies for that site only, and downloads on that one connection. Proxy, network adapter (it isn't tried when it can't be held to the adapter), speed limits, stop and resume apply as usual, and every other download keeps MDM's own connection. It answers no challenge: a site that still wants one solved in a browser refuses again, and MDM says so as before (Alt+click leaves the download to the browser) ([#668](https://github.com/anefzaoui/misterdownloadmanager/issues/668), [#645](https://github.com/anefzaoui/misterdownloadmanager/issues/645), [#630](https://github.com/anefzaoui/misterdownloadmanager/issues/630)).
- Linux and macOS: a gallery-dl installed by the system (a package manager, Homebrew, pip) is found and used when MDM has none of its own, as yt-dlp is; **Helpers** can switch to MDM's own copy where MDM has one (Windows and Linux x86-64) ([#571](https://github.com/anefzaoui/misterdownloadmanager/issues/571)).
-- Videos a site sends in pieces (HLS and DASH streams, as many sites other than YouTube do) download several pieces at once, as many as **Options → Connection** gives a file (8 by default): against a test server that slows each connection, 4 at once took under a third of the time, 8 under a fifth. With a speed limit on, they still come one at a time, so the limit holds; a video in one file, as most of YouTube's are, is unchanged. The command line's `video-get` and `playlist-get` take `-c` for it ([#531](https://github.com/anefzaoui/misterdownloadmanager/issues/531)).
+- Videos a site sends in pieces (HLS and DASH streams, as many sites other than YouTube do) download several pieces at once, as many as **Options → Connection** gives a file (8 by default), through MDM's own downloader: against a test server that slows each connection, 4 at once took under a third of the time, 8 under a fifth. They keep to the speed limits, a change applying at once; pieces encrypted with AES-128 are decrypted with their playlist's key, and pieces whose addresses expire are asked of yt-dlp again. The command line's `video-get` and `playlist-get` take `-c` for it ([#531](https://github.com/anefzaoui/misterdownloadmanager/issues/531), [#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769)).
- **TorBox** debrid accounts (experimental), in **Options → Accounts**, signed in in the browser or with your API key: file-host links, torrents and magnet links through your account ([#391](https://github.com/anefzaoui/misterdownloadmanager/issues/391)).
- Linux and macOS: a yt-dlp installed by the system (a package manager, Homebrew) is found and used when MDM has none of its own; **Helpers** can still switch to MDM's own copy, kept up to date ([#452](https://github.com/anefzaoui/misterdownloadmanager/issues/452)).
### Changed
-- **Videos come down through MDM's own downloader:** yt-dlp now finds a video and its sound, and MDM downloads them the way it downloads any file: over as many connections as **Options → Connection** gives (8 by default; the progress window's connections table and segment map show them), under the speed limits (a change applies at once), paused and resumed like a file, also after quitting MDM, and with a fresh address asked of yt-dlp when one expires. yt-dlp then joins them and adds the subtitles as before. YouTube's qualities, its sound and most sites' MP4s come this way; live streams, streams in pieces (HLS, DASH, for now) and RTMP, RTSP, MMS or FTP streams are still yt-dlp's to download, and the progress window says so ([#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769)).
+- **Videos come down through MDM's own downloader:** yt-dlp now finds a video and its sound, and MDM downloads them the way it downloads any file: over as many connections as **Options → Connection** gives (8 by default; the progress window's connections table and segment map show them), under the speed limits (a change applies at once), paused and resumed like a file, also after quitting MDM, and with a fresh address asked of yt-dlp when one expires. yt-dlp then joins them and adds the subtitles as before. YouTube's qualities, its sound, most sites' MP4s and streams in pieces (HLS, DASH) come this way; live streams and RTMP, RTSP, MMS or FTP streams are still yt-dlp's to download, and the progress window says so ([#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769)).
- Building from source needs Rust 1.98 or later, CMake and libclang (and NASM on Windows): the browser-like connection is built on BoringSSL ([#668](https://github.com/anefzaoui/misterdownloadmanager/issues/668)).
- Debrid accounts: signing in by code opens the page only when it is the service's own site, over https.
diff --git a/Cargo.lock b/Cargo.lock
index 59a445fb..9c34294c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4793,6 +4793,7 @@ name = "mdm-labserver"
version = "0.5.2"
dependencies = [
"anyhow",
+ "aws-lc-rs",
"axum",
"bytes",
"clap",
diff --git a/ROADMAP.md b/ROADMAP.md
index 16866829..9112d061 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -511,6 +511,10 @@ These ship in the next version.
speed limits (a change applies at once), pause and resume like a file, after a restart too,
and a fresh address from yt-dlp when one expires (part of
[#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769))
+- ✅ Videos sent in pieces (HLS, DASH) through MDM's own downloader too, several pieces at once
+ (as many as a file's connections), AES-128 pieces decrypted, expired pieces' addresses asked of
+ yt-dlp again ([#531](https://github.com/anefzaoui/misterdownloadmanager/issues/531), part of
+ [#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769))
- ✅ Sites behind Akamai's bot check (a 403 page for MDM, the file for a browser) download, through the
browser-like connection ([#771](https://github.com/anefzaoui/misterdownloadmanager/issues/771))
- ✅ Crash and freeze reports no longer have their log's end filled with warnings about the
@@ -577,11 +581,7 @@ These ship in a later version, when they're ready.
in review
- 🔄 Linux and macOS: the system's gallery-dl used when MDM has none of its own, as yt-dlp is
([#571](https://github.com/anefzaoui/misterdownloadmanager/issues/571)): in review
-- 🔄 Videos sent in pieces (HLS, DASH) downloading several pieces at once, as many as a file's
- connections ([#531](https://github.com/anefzaoui/misterdownloadmanager/issues/531)): in review;
- a video in one file (most of YouTube's) now comes through MDM's own downloader
-- 🔄 Videos in pieces (HLS, DASH) and image galleries through MDM's own downloader too, yt-dlp
- and gallery-dl only finding the addresses
+- 🔄 Image galleries through MDM's own downloader too, gallery-dl only finding the addresses
([#769](https://github.com/anefzaoui/misterdownloadmanager/issues/769)): in progress
- 🔄 Linux and macOS: the system's yt-dlp used when MDM has none of its own, with Helpers able\n to switch to MDM's copy ([#452](https://github.com/anefzaoui/misterdownloadmanager/issues/452)): in review
- 🔄 macOS: video look-ups in a copy of MDM a browser downloaded, without the Terminal command
diff --git a/crates/app/src/app.rs b/crates/app/src/app.rs
index 16c40984..a21a9af7 100644
--- a/crates/app/src/app.rs
+++ b/crates/app/src/app.rs
@@ -4548,12 +4548,6 @@ impl App {
let tool = tools.as_deref().and_then(mdm_tools::installed);
let ffmpeg = tools.as_deref().and_then(mdm_tools::ffmpeg::installed);
let rate = self.helper_starts(id);
- // A stream in pieces (HLS, DASH): as many at once as a file's connections (#531).
- let fragments = self
- .items
- .iter()
- .find(|i| i.id == id)
- .map_or(1, |i| self.settings.connections_for(&i.url));
// The engine downloads the streams with what a file from the page gets (#769): Options'
// connections, proxy, network adapter and DNS, the limit for all downloads (shared with
// every download, not a helper's share), the hosts' learned limits; the video's own
@@ -4603,7 +4597,6 @@ impl App {
&folder,
&stem,
rate,
- fragments,
ffmpeg.as_ref().map(|f| f.exe.as_path()),
item.size,
&crate::videodlg::from_browser(&item.context),
@@ -10980,7 +10973,6 @@ mod duplicate_tests {
d,
"Clip",
None,
- 1,
None,
None,
&Default::default(),
diff --git a/crates/app/src/progress.rs b/crates/app/src/progress.rs
index ae69e678..a7317f20 100644
--- a/crates/app/src/progress.rs
+++ b/crates/app/src/progress.rs
@@ -2145,7 +2145,7 @@ fn helper_line(why: &mdm_tools::streams::Helper) -> String {
// i18n: progress window, a video's line: MDM's own downloader can't take a live broadcast, so the helper program yt-dlp records it
Helper::Live => crate::i18n::t("yt-dlp downloads it itself: a live stream").to_owned(),
Helper::Pieces(_) => {
- // i18n: progress window, a video's line: a stream sent in many small pieces (HLS, DASH), which the helper program yt-dlp downloads itself for now
+ // i18n: progress window, a video's line: a stream sent in many small pieces of a rare kind (Adobe HDS, Smooth Streaming), which the helper program yt-dlp downloads itself
crate::i18n::t("yt-dlp downloads it itself: a stream in pieces").to_owned()
}
Helper::Protocol(protocol) => crate::i18n::fmt(
diff --git a/crates/cli/src/lib.rs b/crates/cli/src/lib.rs
index b179ccfc..3a26ef92 100644
--- a/crates/cli/src/lib.rs
+++ b/crates/cli/src/lib.rs
@@ -124,8 +124,7 @@ enum Cmd {
#[arg(long)]
embed_subs: bool,
/// Connections per stream (1 to 128), as `get`'s: MDM's engine downloads the streams
- /// yt-dlp finds (#769); a stream yt-dlp downloads itself in pieces (HLS, DASH) takes
- /// this many pieces at once.
+ /// yt-dlp finds (#769), one in pieces (HLS, DASH) this many pieces at once.
#[arg(short, long, default_value_t = Options::default().max_connections,
value_parser = clap::value_parser!(u32).range(1..=MAX_CONNECTIONS_UNLOCKED as i64))]
connections: u32,
@@ -756,7 +755,6 @@ async fn run(cmd: Cmd, json: bool, accounts: Option<&dyn Accounts>) -> anyhow::R
&folder,
&stem,
None,
- connections,
ffmpeg.as_deref(),
None,
&Default::default(),
@@ -955,7 +953,6 @@ async fn run(cmd: Cmd, json: bool, accounts: Option<&dyn Accounts>) -> anyhow::R
&output,
&stem,
None,
- connections,
ffmpeg.as_deref(),
// No size shown here: the progress steadies itself (video::Meter).
None,
diff --git a/crates/labserver/Cargo.toml b/crates/labserver/Cargo.toml
index 12bdd1ff..6c48d39e 100644
--- a/crates/labserver/Cargo.toml
+++ b/crates/labserver/Cargo.toml
@@ -14,6 +14,7 @@ path = "src/main.rs"
[dependencies]
anyhow.workspace = true
+aws-lc-rs.workspace = true
axum.workspace = true
bytes.workspace = true
clap.workspace = true
diff --git a/crates/labserver/src/streams.rs b/crates/labserver/src/streams.rs
index 0feee17f..16f048d5 100644
--- a/crates/labserver/src/streams.rs
+++ b/crates/labserver/src/streams.rs
@@ -291,12 +291,82 @@ pub(crate) async fn hls_file(Path((name, file)): Path<(String, String)>) -> Resp
s += "#EXT-X-ENDLIST\n";
return text(M3U8, s);
}
+ // #769: the same pieces encrypted with AES-128 (`enc.m3u8`): the first with an IV of its
+ // own, the others with their sequence number's, all with `key.bin`.
+ if file == "enc.m3u8" {
+ let mut s = format!(
+ "#EXTM3U
+#EXT-X-VERSION:3
+#EXT-X-TARGETDURATION:{SEGMENT_SECS}
+ #EXT-X-MEDIA-SEQUENCE:{ENC_SEQUENCE}
+#EXT-X-PLAYLIST-TYPE:VOD
+"
+ );
+ for i in 0..SEGMENTS {
+ if i == 0 {
+ s += "#EXT-X-KEY:METHOD=AES-128,URI=\"key.bin\",IV=0x000000000000000000000000000007E9
+";
+ } else if i == 1 {
+ s += "#EXT-X-KEY:METHOD=AES-128,URI=\"key.bin\"
+";
+ }
+ s += &format!(
+ "#EXTINF:{SEGMENT_SECS}.000,
+enc{i}.ts
+"
+ );
+ }
+ s += "#EXT-X-ENDLIST
+";
+ return text(M3U8, s);
+ }
+ if file == "key.bin" {
+ return bytes("application/octet-stream", ENC_KEY.to_vec());
+ }
+ if let Some(i) = numbered(&file, "enc", ".ts").filter(|i| *i < SEGMENTS) {
+ let iv = if i == 0 {
+ enc_iv(0x7E9)
+ } else {
+ enc_iv(ENC_SEQUENCE + u64::from(i))
+ };
+ return bytes(
+ "video/mp2t",
+ encrypt(&ts_segment(ti, i, t.segment_len), &iv),
+ );
+ }
match numbered(&file, "seg", ".ts") {
Some(i) if i < SEGMENTS => bytes("video/mp2t", ts_segment(ti, i, t.segment_len)),
_ => StatusCode::NOT_FOUND.into_response(),
}
}
+/// The encrypted pieces' key (`/hls/{track}/key.bin`), their playlist's first sequence number.
+const ENC_KEY: [u8; 16] = *b"mdm-lab-key-0769";
+const ENC_SEQUENCE: u64 = 100;
+
+/// An IV of `n`, right-aligned in 16 bytes (as a playlist's `IV=0x…`, and a piece's sequence
+/// number when it has none).
+fn enc_iv(n: u64) -> [u8; 16] {
+ let mut iv = [0u8; 16];
+ iv[8..].copy_from_slice(&n.to_be_bytes());
+ iv
+}
+
+/// `data` encrypted with AES-128-CBC and PKCS#7 padding, as an HLS server sends a piece.
+fn encrypt(data: &[u8], iv: &[u8; 16]) -> Vec<u8> {
+ use aws_lc_rs::cipher::{
+ AES_128, EncryptionContext, PaddedBlockEncryptingKey, UnboundCipherKey,
+ };
+ let key = PaddedBlockEncryptingKey::cbc_pkcs7(
+ UnboundCipherKey::new(&AES_128, &ENC_KEY).expect("a 16-byte key"),
+ )
+ .expect("CBC");
+ let mut out = data.to_vec();
+ key.less_safe_encrypt(&mut out, EncryptionContext::Iv128((*iv).into()))
+ .expect("encrypted");
+ out
+}
+
/// `N` of `{prefix}N{suffix}`.
fn numbered(file: &str, prefix: &str, suffix: &str) -> Option<u32> {
file.strip_prefix(prefix)?
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs
index 0caf162e..93c0b55f 100644
--- a/crates/tools/src/lib.rs
+++ b/crates/tools/src/lib.rs
@@ -11,6 +11,7 @@ mod macos;
pub mod manifest;
mod openpgp;
pub mod pages;
+pub mod pieces;
pub mod playlist;
pub mod proc;
pub mod relay;
diff --git a/crates/tools/src/pieces.rs b/crates/tools/src/pieces.rs
new file mode 100644
index 00000000..590c87e4
--- /dev/null
+++ b/crates/tools/src/pieces.rs
@@ -0,0 +1,878 @@
+//! A stream in pieces downloaded by MDM's engine (#769): HLS (yt-dlp's `m3u8_native`) and DASH
+//! (`http_dash_segments`), brought in as yt-dlp's own downloaders for them (hlsnative,
+//! dashsegments) do, by MDM: the pieces listed (an HLS media playlist read as hlsnative reads it,
+//! DASH's from yt-dlp's `fragments`), downloaded several at once (as many as Options →
+//! Connection gives a file) over the engine's connections (proxy, network adapter, DNS), under
+//! the speed limits, each kept on disk once whole so that a stop goes on from the pieces there,
+//! AES-128 pieces decrypted with the playlist's key, and joined in order into the file yt-dlp
+//! looks for: what hlsnative would have written. yt-dlp then fixes it up and merges it with ffmpeg
+//! as after its own download.
+//!
+//! A piece refused (401, 403, 404, 410: its signed address expired) has the list asked of yt-dlp
+//! again (`relink`), and the pieces go on from the new one.
+
+use std::collections::HashMap;
+use std::path::{Path, PathBuf};
+use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};
+use std::sync::{Arc, Mutex};
+use std::time::{Duration, Instant};
+
+use mdm_engine::download::{ConnStatus, ConnView, SegmentView};
+use mdm_engine::limiter::Limiter;
+use reqwest::header::{HeaderMap, HeaderValue, RANGE};
+use serde_json::Value;
+use tokio_util::sync::CancellationToken;
+use url::Url;
+
+/// One piece: its address, a part of it (`start`, length) when the playlist names one, and the
+/// key it is encrypted with.
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub struct Piece {
+ pub url: Url,
+ pub range: Option<(u64, u64)>,
+ pub key: Option<Key>,
+}
+
+/// An AES-128 key's address and the piece's IV.
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub struct Key {
+ pub uri: Url,
+ pub iv: [u8; 16],
+}
+
+/// Why a playlist's pieces can't be MDM's to download.
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub enum Unlisted {
+ /// No end yet: a live stream still being recorded.
+ Live,
+ /// Encrypted otherwise than with AES-128 (SAMPLE-AES, a DRM's): its method.
+ Protected(String),
+ /// Not a media playlist with pieces (a master playlist, an empty one).
+ NoPieces,
+}
+
+/// An attribute list (`METHOD=AES-128,URI="k.bin",IV=0x01`): names and values, quotes taken off.
+fn attributes(s: &str) -> HashMap<String, String> {
+ let mut out = HashMap::new();
+ let mut rest = s.trim();
+ while !rest.is_empty() {
+ let Some((name, after)) = rest.split_once('=') else {
+ break;
+ };
+ let (value, next) = if let Some(q) = after.strip_prefix('"') {
+ match q.split_once('"') {
+ Some((v, n)) => (v, n.trim_start_matches(',').trim_start()),
+ None => (q, ""),
+ }
+ } else {
+ match after.split_once(',') {
+ Some((v, n)) => (v, n.trim_start()),
+ None => (after, ""),
+ }
+ };
+ out.insert(name.trim().to_ascii_uppercase(), value.trim().to_owned());
+ rest = next;
+ }
+ out
+}
+
+/// An IV as the playlist writes it (`0x` and up to 32 hex digits), right-aligned in 16 bytes.
+fn iv_of(s: &str) -> Option<[u8; 16]> {
+ let hex = s.strip_prefix("0x").or_else(|| s.strip_prefix("0X"))?;
+ if hex.is_empty() || hex.len() > 32 {
+ return None;
+ }
+ let padded = format!("{hex:0>32}");
+ let mut iv = [0u8; 16];
+ for (i, b) in iv.iter_mut().enumerate() {
+ *b = u8::from_str_radix(&padded[i * 2..i * 2 + 2], 16).ok()?;
+ }
+ Some(iv)
+}
+
+/// The IV of the piece numbered `sequence` when the playlist gives none: 8 zero bytes, then the
+/// number, big-endian (hlsnative's `struct.pack('>8xq', media_sequence)`).
+fn sequence_iv(sequence: u64) -> [u8; 16] {
+ let mut iv = [0u8; 16];
+ iv[8..].copy_from_slice(&sequence.to_be_bytes());
+ iv
+}
+
+/// `url` with yt-dlp's `extra_param_to_segment_url` (or `_key_url`) query added.
+fn with_query(mut url: Url, extra: Option<&str>) -> Url {
+ if let Some(extra) = extra.filter(|e| !e.is_empty()) {
+ let query = match url.query() {
+ Some(q) if !q.is_empty() => format!("{q}&{extra}"),
+ _ => extra.to_owned(),
+ };
+ url.set_query(Some(&query));
+ }
+ url
+}
+
+/// An HLS media playlist's pieces, read as yt-dlp's hlsnative reads them: `#EXT-X-MAP`'s init
+/// section first where it stands, each piece's key (`#EXT-X-KEY`, AES-128 or none) with its IV
+/// (the playlist's, else the piece's sequence number), byte ranges (`#EXT-X-BYTERANGE`, an
+/// offset left out following on from the range before), addresses taken from `base`, with
+/// yt-dlp's extra queries for pieces and keys.
+pub fn hls(
+ text: &str,
+ base: &Url,
+ extra_query: Option<&str>,
+ extra_key_query: Option<&str>,
+) -> Result<Vec<Piece>, Unlisted> {
+ let mut pieces = Vec::new();
+ let mut sequence = 0u64;
+ let mut key: Option<(Url, Option<[u8; 16]>)> = None;
+ let mut range: Option<(u64, u64)> = None;
+ let mut range_end = 0u64;
+ let mut ended = false;
+ let join = |uri: &str| base.join(uri).ok();
+ let key_for = |key: &Option<(Url, Option<[u8; 16]>)>, sequence: u64| {
+ key.as_ref().map(|(uri, iv)| Key {
+ uri: uri.clone(),
+ iv: iv.unwrap_or_else(|| sequence_iv(sequence)),
+ })
+ };
+ for line in text.lines().map(str::trim).filter(|l| !l.is_empty()) {
+ if !line.starts_with('#') {
+ let url = join(line).ok_or(Unlisted::NoPieces)?;
+ pieces.push(Piece {
+ url: with_query(url, extra_query),
+ range: range.take(),
+ key: key_for(&key, sequence),
+ });
+ sequence += 1;
+ } else if let Some(v) = line.strip_prefix("#EXT-X-MEDIA-SEQUENCE:") {
+ sequence = v.trim().parse().unwrap_or(0);
+ } else if let Some(v) = line.strip_prefix("#EXT-X-KEY:") {
+ let a = attributes(v);
+ match a.get("METHOD").map(String::as_str) {
+ Some("NONE") => key = None,
+ Some("AES-128") => {
+ let uri = a
+ .get("URI")
+ .and_then(|u| join(u))
+ .ok_or(Unlisted::NoPieces)?;
+ let iv = a.get("IV").and_then(|iv| iv_of(iv));
+ key = Some((with_query(uri, extra_key_query), iv));
+ }
+ other => return Err(Unlisted::Protected(other.unwrap_or("?").to_owned())),
+ }
+ } else if let Some(v) = line.strip_prefix("#EXT-X-MAP:") {
+ let a = attributes(v);
+ let url = a
+ .get("URI")
+ .and_then(|u| join(u))
+ .ok_or(Unlisted::NoPieces)?;
+ let part = a.get("BYTERANGE").and_then(|r| byte_range(r, 0));
+ pieces.push(Piece {
+ url: with_query(url, extra_query),
+ range: part,
+ key: key_for(&key, sequence),
+ });
+ } else if let Some(v) = line.strip_prefix("#EXT-X-BYTERANGE:") {
+ if let Some(r) = byte_range(v, range_end) {
+ range_end = r.0 + r.1;
+ range = Some(r);
+ }
+ } else if line.starts_with("#EXT-X-ENDLIST") {
+ ended = true;
+ } else if line.starts_with("#EXT-X-STREAM-INF") {
+ return Err(Unlisted::NoPieces);
+ }
+ }
+ if !ended {
+ return Err(Unlisted::Live);
+ }
+ if pieces.is_empty() {
+ return Err(Unlisted::NoPieces);
+ }
+ Ok(pieces)
+}
+
+/// `<length>[@<offset>]`: (offset, length), the offset `after` when left out.
+fn byte_range(s: &str, after: u64) -> Option<(u64, u64)> {
+ let (len, at) = match s.trim().split_once('@') {
+ Some((l, o)) => (l.trim().parse().ok()?, o.trim().parse().ok()?),
+ None => (s.trim().parse().ok()?, after),
+ };
+ Some((at, len))
+}
+
+/// A DASH format's pieces from yt-dlp (`fragments`, each its `url`, or a `path` from
+/// `fragment_base_url`, with an optional `byte_range` {start, end} or `range` "a-b").
+pub fn dash(format: &Value) -> Option<Vec<Piece>> {
+ let base = format
+ .get("fragment_base_url")
+ .and_then(Value::as_str)
+ .and_then(|b| Url::parse(b).ok());
+ let fragments = format.get("fragments")?.as_array()?;
+ let pieces: Option<Vec<Piece>> = fragments
+ .iter()
+ .map(|f| {
+ let url = match f.get("url").and_then(Value::as_str) {
+ Some(u) => Url::parse(u).ok()?,
+ None => base.as_ref()?.join(f.get("path")?.as_str()?).ok()?,
+ };
+ let range = match (f.get("byte_range"), f.get("range").and_then(Value::as_str)) {
+ (Some(r), _) => {
+ let start = r.get("start")?.as_u64()?;
+ let end = r.get("end")?.as_u64()?;
+ Some((start, end.checked_sub(start)?))
+ }
+ (None, Some(r)) => {
+ let (a, b) = r.split_once('-')?;
+ let (a, b): (u64, u64) = (a.trim().parse().ok()?, b.trim().parse().ok()?);
+ Some((a, b.checked_sub(a)? + 1))
+ }
+ (None, None) => None,
+ };
+ Some(Piece {
+ url,
+ range,
+ key: None,
+ })
+ })
+ .collect();
+ pieces.filter(|p| !p.is_empty())
+}
+
+/// AES-128-CBC with `key` and `iv` over `data`, then its PKCS#7 padding taken off as yt-dlp's
+/// `unpad_pkcs7` does (by the last byte). None: not whole blocks, or no such key.
+pub fn decrypt(data: &[u8], key: &[u8; 16], iv: &[u8; 16]) -> Option<Vec<u8>> {
+ use aws_lc_rs::cipher::{AES_128, DecryptingKey, DecryptionContext, UnboundCipherKey};
+ if data.is_empty() || !data.len().is_multiple_of(16) {
+ return None;
+ }
+ let k = DecryptingKey::cbc(UnboundCipherKey::new(&AES_128, key).ok()?).ok()?;
+ let mut buf = data.to_vec();
+ let n = k
+ .decrypt(&mut buf, DecryptionContext::Iv128((*iv).into()))
+ .ok()?
+ .len();
+ buf.truncate(n);
+ let pad = *buf.last()? as usize;
+ if (1..=16).contains(&pad) && pad <= buf.len() {
+ buf.truncate(buf.len() - pad);
+ }
+ Some(buf)
+}
+
+/// Where a stream's pieces wait until they are joined: `<file>.mdm.pieces`.
+pub fn folder(path: &Path) -> PathBuf {
+ let mut s = path.as_os_str().to_owned();
+ s.push(".mdm.pieces");
+ PathBuf::from(s)
+}
+
+/// A piece's file in the folder: `<index>` once whole.
+fn piece_file(dir: &Path, i: usize) -> PathBuf {
+ dir.join(format!("{i:06}"))
+}
+
+/// What the pieces show while they come: bytes in, the pieces whole, each connection.
+#[derive(Default)]
+pub struct Shared {
+ downloaded: AtomicU64,
+ /// Bytes of the pieces whole, and how many.
+ whole_bytes: AtomicU64,
+ whole: AtomicUsize,
+ /// Each piece's progress: (bytes in, its length when the server said it).
+ each: Mutex<Vec<(u64, Option<u64>)>>,
+ conns: Mutex<Vec<ConnView>>,
+ notes: Mutex<Vec<String>>,
+}
+
+impl Shared {
+ fn note(&self, s: String) {
+ self.notes.lock().unwrap().push(s);
+ }
+
+ /// The log lines since the last call.
+ pub fn take_notes(&self) -> Vec<String> {
+ std::mem::take(&mut *self.notes.lock().unwrap())
+ }
+
+ pub fn downloaded(&self) -> u64 {
+ self.downloaded.load(Ordering::Relaxed)
+ }
+
+ /// The stream's size as far as it can be told: the pieces whole tell their average; before
+ /// any, `estimate` (yt-dlp's). Never under what came.
+ pub fn total(&self, pieces: usize, estimate: Option<u64>) -> Option<u64> {
+ let whole = self.whole.load(Ordering::Relaxed);
+ let bytes = self.whole_bytes.load(Ordering::Relaxed);
+ let t = if whole == pieces && whole > 0 {
+ Some(bytes)
+ } else if whole >= 3 || (whole > 0 && estimate.is_none()) {
+ Some(bytes / whole as u64 * pieces as u64)
+ } else {
+ estimate
+ };
+ t.map(|t| t.max(self.downloaded()))
+ }
+
+ /// The pieces as segments of a stream `total` long, each an equal share of it.
+ pub fn segments(&self, total: u64) -> Vec<SegmentView> {
+ let each = self.each.lock().unwrap();
+ let n = each.len().max(1) as u64;
+ each.iter()
+ .enumerate()
+ .map(|(i, (got, len))| {
+ let start = total * i as u64 / n;
+ let end = total * (i as u64 + 1) / n;
+ let frac = match len {
+ Some(l) if *l > 0 => (*got as f64 / *l as f64).min(1.0),
+ _ if *got > 0 => 0.5,
+ _ => 0.0,
+ };
+ SegmentView {
+ start,
+ cursor: start + ((end - start) as f64 * frac) as u64,
+ end,
+ }
+ })
+ .collect()
+ }
+
+ pub fn connections(&self) -> Vec<ConnView> {
+ self.conns.lock().unwrap().clone()
+ }
+}
+
+/// How the pieces of a stream ended.
+#[derive(Debug)]
+pub enum Ended {
+ /// Joined into the stream's file.
+ Done(u64),
+ Stopped,
+ Failed(String),
+}
+
+/// Asks yt-dlp again for the stream's pieces (a refused piece: their addresses expired).
+pub type Relist = Arc<dyn Fn() -> Result<Vec<Piece>, String> + Send + Sync>;
+
+/// A refused piece: its address is dead (401, 403, 404, 410), as against one to try again.
+enum PieceError {
+ Dead(String),
+ Again(String),
+ Stopped,
+}
+
+/// What every connection shares.
+struct Run {
+ client: reqwest::Client,
+ headers: HeaderMap,
+ pieces: Mutex<Vec<Piece>>,
+ /// Bumped when the list is asked again: a piece of an older list asks again with the new.
+ generation: AtomicU64,
+ next: AtomicUsize,
+ keys: tokio::sync::Mutex<HashMap<Url, [u8; 16]>>,
+ dir: PathBuf,
+ limiter: Arc<Limiter>,
+ global: Option<Arc<Limiter>>,
+ cancel: CancellationToken,
+ shared: Arc<Shared>,
+ max_retries: u32,
+ retry_delay: Duration,
+ relist: Relist,
+ relisted: tokio::sync::Mutex<(u32, Option<Instant>)>,
+}
+
+/// Download `pieces` into `dir` (a piece already whole there is kept), `connections` at once,
+/// with `headers`, under `limiter` (the download's own limit) and the engine's `opts` (its
+/// client, the limit for all downloads, retries); then join them in order into `path`.
+#[allow(clippy::too_many_arguments)]
+pub async fn download(
+ pieces: Vec<Piece>,
+ path: PathBuf,
+ headers: HeaderMap,
+ opts: mdm_engine::Options,
+ limiter: Arc<Limiter>,
+ cancel: CancellationToken,
+ shared: Arc<Shared>,
+ relist: Relist,
+) -> Ended {
+ let dir = folder(&path);
+ if let Err(e) = std::fs::create_dir_all(&dir) {
+ return Ended::Failed(format!("Cannot make the pieces' folder: {e}"));
+ }
+ let Some(first) = pieces.first() else {
+ return Ended::Failed("no pieces".into());
+ };
+ let client = match mdm_engine::http_client(&opts, &first.url) {
+ Ok(c) => c,
+ Err(e) => return Ended::Failed(e.to_string()),
+ };
+ let n = pieces.len();
+ // The pieces already whole (an earlier run's).
+ {
+ let mut each = shared.each.lock().unwrap();
+ *each = vec![(0, None); n];
+ for (i, slot) in each.iter_mut().enumerate() {
+ if let Ok(m) = std::fs::metadata(piece_file(&dir, i)) {
+ *slot = (m.len(), Some(m.len()));
+ shared.downloaded.fetch_add(m.len(), Ordering::Relaxed);
+ shared.whole_bytes.fetch_add(m.len(), Ordering::Relaxed);
+ shared.whole.fetch_add(1, Ordering::Relaxed);
+ }
+ }
+ }
+ let had = shared.whole.load(Ordering::Relaxed);
+ if had > 0 {
+ shared.note(format!("Resuming: {had} of {n} pieces on disk"));
+ }
+ let connections = opts.connections().min(n as u32).max(1) as usize;
+ shared.note(format!(
+ "{n} pieces, {connections} at once, from {}",
+ first.url.host_str().unwrap_or("?")
+ ));
+ *shared.conns.lock().unwrap() = (0..connections)
+ .map(|i| ConnView {
+ id: i as u32,
+ downloaded: 0,
+ status: ConnStatus::Connecting,
+ speed: 0,
+ })
+ .collect();
+ let run = Arc::new(Run {
+ client,
+ headers,
+ pieces: Mutex::new(pieces),
+ generation: AtomicU64::new(0),
+ next: AtomicUsize::new(0),
+ keys: Default::default(),
+ dir: dir.clone(),
+ limiter,
+ global: opts.global.clone(),
+ cancel,
+ shared: shared.clone(),
+ max_retries: opts.max_retries,
+ retry_delay: opts.retry_delay,
+ relist,
+ relisted: Default::default(),
+ });
+ let mut set = tokio::task::JoinSet::new();
+ for c in 0..connections {
+ set.spawn(connection(run.clone(), c));
+ }
+ let mut failure = None;
+ while let Some(r) = set.join_next().await {
+ match r {
+ Ok(Ok(())) => {}
+ Ok(Err(e)) => {
+ if failure.is_none() {
+ failure = Some(e);
+ }
+ run.cancel.cancel();
+ }
+ Err(_) => failure = Some(PieceError::Again("a connection stopped".into())),
+ }
+ }
+ match failure {
+ Some(PieceError::Stopped) => return Ended::Stopped,
+ Some(PieceError::Dead(e) | PieceError::Again(e)) => return Ended::Failed(e),
+ None if run.cancel.is_cancelled() => return Ended::Stopped,
+ None => {}
+ }
+ let joined = tokio::task::spawn_blocking(move || join(&dir, n, &path)).await;
+ match joined {
+ Ok(Ok(size)) => Ended::Done(size),
+ Ok(Err(e)) => Ended::Failed(format!("Cannot join the pieces: {e}")),
+ Err(_) => Ended::Failed("Cannot join the pieces".into()),
+ }
+}
+
+/// The pieces in `dir` (`n` of them) one after another into `path` (through its part file), then
+/// the folder removed. The file's size.
+fn join(dir: &Path, n: usize, path: &Path) -> std::io::Result<u64> {
+ use std::io::Write;
+ let part = mdm_engine::naming::part_path(path);
+ let mut out = std::io::BufWriter::new(std::fs::File::create(&part)?);
+ let mut size = 0;
+ for i in 0..n {
+ let mut f = std::fs::File::open(piece_file(dir, i))?;
+ size += std::io::copy(&mut f, &mut out)?;
+ }
+ out.flush()?;
+ out.into_inner()
+ .map_err(std::io::IntoInnerError::into_error)?
+ .sync_all()?;
+ std::fs::rename(&part, path)?;
+ let _ = std::fs::remove_dir_all(dir);
+ Ok(size)
+}
+
+/// One connection: the next piece not taken, until none is left.
+async fn connection(run: Arc<Run>, c: usize) -> Result<(), PieceError> {
+ loop {
+ let i = run.next.fetch_add(1, Ordering::SeqCst);
+ let n = run.pieces.lock().unwrap().len();
+ if i >= n {
+ set_conn(&run, c, |v| {
+ v.status = ConnStatus::Finished;
+ v.speed = 0;
+ });
+ return Ok(());
+ }
+ if piece_file(&run.dir, i).exists() {
+ continue;
+ }
+ let mut failures = 0u32;
+ loop {
+ if run.cancel.is_cancelled() {
+ return Err(PieceError::Stopped);
+ }
+ let generation = run.generation.load(Ordering::SeqCst);
+ let piece = run.pieces.lock().unwrap()[i].clone();
+ set_conn(&run, c, |v| v.status = ConnStatus::Connecting);
+ match fetch_piece(&run, c, i, &piece).await {
+ Ok(()) => break,
+ Err(PieceError::Stopped) => return Err(PieceError::Stopped),
+ Err(PieceError::Dead(e)) => {
+ run.shared.note(format!("Piece {}: {e}", i + 1));
+ if !relist(&run, generation).await {
+ return Err(PieceError::Dead(e));
+ }
+ }
+ Err(PieceError::Again(e)) => {
+ failures += 1;
+ if failures > run.max_retries {
+ return Err(PieceError::Again(format!("piece {}: {e}", i + 1)));
+ }
+ run.shared
+ .note(format!("Connection {}: {e}; retrying", c + 1));
+ let wait = run.retry_delay * 2u32.saturating_pow(failures - 1);
+ tokio::select! {
+ _ = run.cancel.cancelled() => return Err(PieceError::Stopped),
+ _ = tokio::time::sleep(wait.min(Duration::from_secs(30))) => {}
+ }
+ }
+ }
+ }
+ }
+}
+
+/// The list asked of yt-dlp again after a refused piece of list `generation` (once for all
+/// connections; at most 5 times, and not within 10 s of one that didn't help). True when there
+/// is a newer list to try.
+async fn relist(run: &Run, generation: u64) -> bool {
+ let mut asked = run.relisted.lock().await;
+ if run.generation.load(Ordering::SeqCst) != generation {
+ return true;
+ }
+ if asked.0 >= 5
+ || asked
+ .1
+ .is_some_and(|t| t.elapsed() < Duration::from_secs(10))
+ {
+ return false;
+ }
+ asked.0 += 1;
+ run.shared
+ .note("Asking yt-dlp for the pieces' new addresses".into());
+ let relist = run.relist.clone();
+ let got = tokio::task::spawn_blocking(move || relist()).await;
+ let n = run.pieces.lock().unwrap().len();
+ match got {
+ Ok(Ok(new)) if new.len() == n => {
+ *run.pieces.lock().unwrap() = new;
+ run.generation.fetch_add(1, Ordering::SeqCst);
+ asked.1 = None;
+ true
+ }
+ Ok(Ok(new)) => {
+ asked.1 = Some(Instant::now());
+ run.shared.note(format!(
+ "The new list has {} pieces instead of {n}",
+ new.len()
+ ));
+ false
+ }
+ Ok(Err(e)) => {
+ asked.1 = Some(Instant::now());
+ run.shared.note(e);
+ false
+ }
+ Err(_) => {
+ asked.1 = Some(Instant::now());
+ false
+ }
+ }
+}
+
+fn set_conn(run: &Run, c: usize, f: impl FnOnce(&mut ConnView)) {
+ if let Some(v) = run.shared.conns.lock().unwrap().get_mut(c) {
+ f(v);
+ }
+}
+
+/// The key at `uri` (16 bytes), fetched once.
+async fn key_of(run: &Run, uri: &Url) -> Result<[u8; 16], PieceError> {
+ let mut keys = run.keys.lock().await;
+ if let Some(k) = keys.get(uri) {
+ return Ok(*k);
+ }
+ let resp = run
+ .client
+ .get(uri.clone())
+ .headers(run.headers.clone())
+ .send()
+ .await
+ .map_err(|e| PieceError::Again(format!("the key: {e}")))?;
+ let status = resp.status();
+ if !status.is_success() {
+ return Err(dead_or_again(status.as_u16(), "the key"));
+ }
+ let body = resp
+ .bytes()
+ .await
+ .map_err(|e| PieceError::Again(format!("the key: {e}")))?;
+ let key: [u8; 16] = body
+ .as_ref()
+ .try_into()
+ .map_err(|_| PieceError::Dead(format!("the key is {} bytes, not 16", body.len())))?;
+ keys.insert(uri.clone(), key);
+ Ok(key)
+}
+
+fn dead_or_again(status: u16, what: &str) -> PieceError {
+ let e = format!("{what}: the server answered {status}");
+ if matches!(status, 401 | 403 | 404 | 410) {
+ PieceError::Dead(e)
+ } else {
+ PieceError::Again(e)
+ }
+}
+
+/// Piece `i` on connection `c`: downloaded under the limits, decrypted, saved whole.
+async fn fetch_piece(run: &Run, c: usize, i: usize, piece: &Piece) -> Result<(), PieceError> {
+ let mut req = run
+ .client
+ .get(piece.url.clone())
+ .headers(run.headers.clone());
+ if let Some((start, len)) = piece.range {
+ let r = format!("bytes={start}-{}", start + len.max(1) - 1);
+ req = req.header(RANGE, HeaderValue::from_str(&r).expect("ascii"));
+ }
+ let sent = tokio::select! {
+ _ = run.cancel.cancelled() => return Err(PieceError::Stopped),
+ r = req.send() => r,
+ };
+ let mut resp = sent.map_err(|e| PieceError::Again(e.to_string()))?;
+ let status = resp.status().as_u16();
+ if !(200..300).contains(&status) {
+ return Err(dead_or_again(status, "the piece"));
+ }
+ let len = resp.content_length();
+ let mut body = Vec::with_capacity(len.unwrap_or(0) as usize);
+ run.shared.each.lock().unwrap()[i] = (0, len);
+ set_conn(run, c, |v| v.status = ConnStatus::Receiving);
+ let started = Instant::now();
+ let mut got = 0u64;
+ let undo = |got: u64| {
+ run.shared.downloaded.fetch_sub(got, Ordering::Relaxed);
+ run.shared.each.lock().unwrap()[i] = (0, None);
+ };
+ loop {
+ let chunk = tokio::select! {
+ _ = run.cancel.cancelled() => {
+ undo(got);
+ return Err(PieceError::Stopped);
+ }
+ c = resp.chunk() => c,
+ };
+ let chunk = match chunk {
+ Ok(Some(c)) => c,
+ Ok(None) => break,
+ Err(e) => {
+ undo(got);
+ return Err(PieceError::Again(e.to_string()));
+ }
+ };
+ let n = chunk.len() as u64;
+ let paid = async {
+ run.limiter.acquire(n).await;
+ if let Some(g) = &run.global {
+ g.acquire(n).await;
+ }
+ };
+ tokio::select! {
+ _ = run.cancel.cancelled() => {
+ undo(got);
+ return Err(PieceError::Stopped);
+ }
+ _ = paid => {}
+ }
+ body.extend_from_slice(&chunk);
+ got += n;
+ run.shared.downloaded.fetch_add(n, Ordering::Relaxed);
+ run.shared.each.lock().unwrap()[i].0 = got;
+ let secs = started.elapsed().as_secs_f64().max(0.001);
+ set_conn(run, c, |v| {
+ v.downloaded += n;
+ v.speed = (got as f64 / secs) as u64;
+ });
+ }
+ if len.is_some_and(|l| l != got) {
+ undo(got);
+ return Err(PieceError::Again("the piece came short".into()));
+ }
+ set_conn(run, c, |v| v.speed = 0);
+ let data = match &piece.key {
+ Some(k) => {
+ let key = key_of(run, &k.uri).await?;
+ decrypt(&body, &key, &k.iv)
+ .ok_or_else(|| PieceError::Dead("the piece can't be decrypted".into()))?
+ }
+ None => body,
+ };
+ let file = piece_file(&run.dir, i);
+ let part = file.with_extension("part");
+ let size = data.len() as u64;
+ let written = tokio::task::spawn_blocking(move || {
+ std::fs::write(&part, &data).and_then(|_| std::fs::rename(&part, &file))
+ })
+ .await;
+ if !matches!(written, Ok(Ok(()))) {
+ undo(got);
+ return Err(PieceError::Dead("the piece can't be saved".into()));
+ }
+ run.shared.whole_bytes.fetch_add(size, Ordering::Relaxed);
+ run.shared.whole.fetch_add(1, Ordering::Relaxed);
+ Ok(())
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ fn base() -> Url {
+ Url::parse("https://cdn.example/v/720p/index.m3u8?sig=1").unwrap()
+ }
+
+ #[test]
+ fn a_playlist_is_read_as_hlsnative_reads_it() {
+ let text = "#EXTM3U\n#EXT-X-VERSION:6\n#EXT-X-MEDIA-SEQUENCE:7\n\
+ #EXT-X-MAP:URI=\"init.mp4\"\n\
+ #EXTINF:4.0,\nseg7.m4s\n\
+ #EXT-X-KEY:METHOD=AES-128,URI=\"https://keys.example/k?id=2\",IV=0x0000000000000000000000000000000A\n\
+ #EXTINF:4.0,\nseg8.m4s\n\
+ #EXT-X-KEY:METHOD=AES-128,URI=\"key.bin\"\n\
+ #EXTINF:4.0,\n/abs/seg9.m4s\n\
+ #EXT-X-KEY:METHOD=NONE\n\
+ #EXTINF:4.0,\nhttps://other.example/seg10.m4s\n\
+ #EXT-X-ENDLIST\n";
+ let p = hls(text, &base(), Some("tok=a"), Some("kt=b")).unwrap();
+ let urls: Vec<&str> = p.iter().map(|p| p.url.as_str()).collect();
+ assert_eq!(
+ urls,
+ [
+ "https://cdn.example/v/720p/init.mp4?tok=a",
+ "https://cdn.example/v/720p/seg7.m4s?tok=a",
+ "https://cdn.example/v/720p/seg8.m4s?tok=a",
+ "https://cdn.example/abs/seg9.m4s?tok=a",
+ "https://other.example/seg10.m4s?tok=a",
+ ]
+ );
+ assert_eq!(p[0].key, None);
+ assert_eq!(p[1].key, None);
+ let k = p[2].key.as_ref().unwrap();
+ assert_eq!(k.uri.as_str(), "https://keys.example/k?id=2&kt=b");
+ assert_eq!(k.iv[15], 10);
+ // No IV given: the piece's sequence number (the third piece is number 9).
+ let k = p[3].key.as_ref().unwrap();
+ assert_eq!(k.uri.as_str(), "https://cdn.example/v/720p/key.bin?kt=b");
+ assert_eq!(k.iv, sequence_iv(9));
+ assert_eq!(&k.iv[..8], &[0; 8]);
+ assert_eq!(p[4].key, None);
+ }
+
+ #[test]
+ fn byte_ranges_follow_on() {
+ let text = "#EXTM3U\n#EXT-X-MAP:URI=\"all.mp4\",BYTERANGE=\"720@0\"\n\
+ #EXT-X-BYTERANGE:1000@720\n#EXTINF:4,\nall.mp4\n\
+ #EXT-X-BYTERANGE:500\n#EXTINF:4,\nall.mp4\n#EXTINF:4,\nother.ts\n#EXT-X-ENDLIST";
+ let p = hls(text, &base(), None, None).unwrap();
+ let ranges: Vec<_> = p.iter().map(|p| p.range).collect();
+ assert_eq!(
+ ranges,
+ [Some((0, 720)), Some((720, 1000)), Some((1720, 500)), None]
+ );
+ }
+
+ #[test]
+ fn what_isnt_listed() {
+ assert_eq!(
+ hls("#EXTM3U\n#EXTINF:4,\na.ts\n", &base(), None, None),
+ Err(Unlisted::Live)
+ );
+ assert_eq!(
+ hls(
+ "#EXTM3U\n#EXT-X-KEY:METHOD=SAMPLE-AES,URI=\"skd://x\"\n#EXTINF:4,\na.ts\n#EXT-X-ENDLIST",
+ &base(),
+ None,
+ None
+ ),
+ Err(Unlisted::Protected("SAMPLE-AES".into()))
+ );
+ assert_eq!(
+ hls(
+ "#EXTM3U\n#EXT-X-STREAM-INF:BANDWIDTH=1\nv.m3u8\n#EXT-X-ENDLIST",
+ &base(),
+ None,
+ None
+ ),
+ Err(Unlisted::NoPieces)
+ );
+ assert_eq!(
+ hls("#EXTM3U\n#EXT-X-ENDLIST", &base(), None, None),
+ Err(Unlisted::NoPieces)
+ );
+ }
+
+ #[test]
+ fn dash_pieces_from_yt_dlp() {
+ let f = serde_json::json!({
+ "fragment_base_url": "https://cdn.example/dash/v1/",
+ "fragments": [
+ {"path": "init.mp4"},
+ {"url": "https://cdn.example/x/seg1.m4s", "duration": 4},
+ {"path": "seg2.m4s", "byte_range": {"start": 10, "end": 20}},
+ {"path": "seg3.m4s", "range": "20-29"}
+ ]
+ });
+ let p = dash(&f).unwrap();
+ assert_eq!(p[0].url.as_str(), "https://cdn.example/dash/v1/init.mp4");
+ assert_eq!(p[1].url.as_str(), "https://cdn.example/x/seg1.m4s");
+ assert_eq!(p[2].range, Some((10, 10)));
+ assert_eq!(p[3].range, Some((20, 10)));
+ assert!(dash(&serde_json::json!({"fragments": []})).is_none());
+ assert!(dash(&serde_json::json!({"fragments": [{"path": "a"}]})).is_none());
+ }
+
+ #[test]
+ fn aes_128_pieces_decrypt_as_yt_dlp_decrypts_them() {
+ use aws_lc_rs::cipher::{
+ AES_128, EncryptionContext, PaddedBlockEncryptingKey, UnboundCipherKey,
+ };
+ let key = *b"0123456789abcdef";
+ let iv = sequence_iv(42);
+ let plain: Vec<u8> = (0..1000u32).map(|i| (i * 7) as u8).collect();
+ let k = PaddedBlockEncryptingKey::cbc_pkcs7(UnboundCipherKey::new(&AES_128, &key).unwrap())
+ .unwrap();
+ let mut sealed = plain.clone();
+ k.less_safe_encrypt(&mut sealed, EncryptionContext::Iv128(iv.into()))
+ .unwrap();
+ assert_ne!(sealed[..16], plain[..16]);
+ assert_eq!(decrypt(&sealed, &key, &iv).unwrap(), plain);
+ // The wrong IV spoils the first block only (CBC); not whole blocks: none.
+ let wrong = decrypt(&sealed, &key, &sequence_iv(41)).unwrap();
+ assert_ne!(wrong[..16], plain[..16]);
+ assert_eq!(wrong[16..], plain[16..]);
+ assert_eq!(decrypt(&sealed[..15], &key, &iv), None);
+ assert_eq!(iv_of("0x1"), Some(sequence_iv(1)));
+ assert_eq!(iv_of("12"), None);
+ }
+}
diff --git a/crates/tools/src/streams.rs b/crates/tools/src/streams.rs
index fc0746b6..388ee322 100644
--- a/crates/tools/src/streams.rs
+++ b/crates/tools/src/streams.rs
@@ -7,6 +7,9 @@
//! embeds the subtitles and the metadata, converts the sound. Its post-processing stays the one
//! source of truth for the finished file; only the bytes come down through the engine.
//!
+//! A stream in pieces (HLS, DASH) comes down piece by piece, several at once, and is joined into
+//! that file as yt-dlp's own downloaders join it ([`crate::pieces`]).
+//!
//! What the engine can't download stays yt-dlp's to download ([`Helper`]): a live stream still
//! being recorded, a protocol other than HTTP (RTMP, RTSP, MMS, FTP…), protected streams.
//!
@@ -33,7 +36,8 @@ use url::Url;
pub enum Helper {
/// A live stream still being recorded: it has no end to download to.
Live,
- /// Pieces of a stream (HLS, DASH), yt-dlp's name for its protocol.
+ /// Pieces of a stream the engine doesn't list (Adobe's HDS, Microsoft's Smooth Streaming, a
+ /// DASH stream made as it plays), yt-dlp's name for its protocol.
Pieces(String),
/// A protocol the engine doesn't speak (RTMP, RTSP, MMS, FTP…), yt-dlp's name for it.
Protocol(String),
@@ -69,8 +73,23 @@ pub struct Stream {
pub url: Url,
/// yt-dlp's headers for it (`http_headers`) and the cookies it would send (`Cookie`).
pub headers: Vec<(String, String)>,
- /// yt-dlp's `http_chunk_size`: the most each request asks for (`Options::request_cap`).
- pub chunk: Option<u64>,
+ pub kind: Kind,
+}
+
+/// How a stream comes down.
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub enum Kind {
+ /// One file (`http`, `https`), in requests of at most `chunk` bytes (yt-dlp's
+ /// `http_chunk_size`, `Options::request_cap`).
+ File { chunk: Option<u64> },
+ /// An HLS media playlist at the stream's address (`m3u8_native`, `m3u8`), read as yt-dlp's
+ /// hlsnative reads it, with yt-dlp's extra queries for its pieces and keys.
+ Hls {
+ extra: Option<String>,
+ extra_key: Option<String>,
+ },
+ /// DASH's pieces (`http_dash_segments`), as yt-dlp lists them.
+ Dash(Vec<crate::pieces::Piece>),
}
/// A choice as the engine downloads it: its streams, one after another, and the file yt-dlp makes
@@ -200,20 +219,36 @@ fn stream(f: &Value, path: PathBuf) -> Result<Stream, Helper> {
let fragments = f
.get("fragments")
.is_some_and(|v| !v.is_null() && v.as_array().is_none_or(|a| !a.is_empty()));
- match protocol.as_str() {
- "http" | "https" if !fragments => {}
+ let kind = match protocol.as_str() {
+ "http" | "https" if !fragments => Kind::File {
+ chunk: f
+ .get("downloader_options")
+ .and_then(|o| number(o, "http_chunk_size")),
+ },
+ // A key of the site's own (`hls_aes`) stays yt-dlp's.
+ "m3u8" | "m3u8_native" if f.get("hls_aes").is_none_or(Value::is_null) => Kind::Hls {
+ extra: text(f, "extra_param_to_segment_url").map(str::to_owned),
+ extra_key: text(f, "extra_param_to_key_url").map(str::to_owned),
+ },
+ "http_dash_segments" => {
+ Kind::Dash(crate::pieces::dash(f).ok_or_else(|| Helper::Pieces(protocol.clone()))?)
+ }
"m3u8"
| "m3u8_native"
- | "http_dash_segments"
| "http_dash_segments_generator"
| "f4m"
| "ism"
| "https"
| "http" => return Err(Helper::Pieces(protocol)),
_ => return Err(Helper::Protocol(protocol)),
- }
+ };
+ // DASH's address is its manifest's (or none): its first piece's stands for it.
let url = text(f, "url")
.and_then(|u| Url::parse(u).ok())
+ .or_else(|| match &kind {
+ Kind::Dash(p) => p.first().map(|p| p.url.clone()),
+ _ => None,
+ })
.filter(|u| matches!(u.scheme(), "http" | "https"))
.ok_or(Helper::NoAddress)?;
let exact = number(f, "filesize");
@@ -224,9 +259,7 @@ fn stream(f: &Value, path: PathBuf) -> Result<Stream, Helper> {
exact: exact.is_some(),
url,
headers: headers_of(f),
- chunk: f
- .get("downloader_options")
- .and_then(|o| number(o, "http_chunk_size")),
+ kind,
})
}
@@ -261,19 +294,21 @@ pub fn plan(selected: &Value) -> Result<Plan, Helper> {
Ok(Plan { output, streams })
}
-/// The chosen format `id` in yt-dlp's choice `selected` (a look-up chosen again with `-f <id>`):
-/// its address and headers.
-pub fn format_link(selected: &Value, id: &str) -> Option<(Url, Vec<(String, String)>)> {
+/// The chosen format `id` in yt-dlp's choice `selected` (a look-up chosen again with `-f <id>`).
+pub fn format_of<'a>(selected: &'a Value, id: &str) -> Option<&'a Value> {
let formats = selected
.get("requested_formats")
.and_then(Value::as_array)
.map(|a| a.iter().collect::<Vec<_>>())
.unwrap_or_else(|| vec![selected]);
- let f = formats
+ formats
.into_iter()
- .find(|f| text(f, "format_id") == Some(id))?;
- let s = stream(f, PathBuf::new()).ok()?;
- Some((s.url, s.headers))
+ .find(|f| text(f, "format_id") == Some(id))
+}
+
+/// A format as yt-dlp gives it (a look-up's, again): its stream (no file of its own).
+pub fn stream_of(format: &Value) -> Option<Stream> {
+ stream(format, PathBuf::new()).ok()
}
fn header_map(headers: &[(String, String)]) -> HeaderMap {
@@ -289,8 +324,8 @@ fn header_map(headers: &[(String, String)]) -> HeaderMap {
map
}
-/// Looks the page up again for today's address of a format (blocking: yt-dlp runs).
-pub type Relink = Arc<dyn Fn(&str) -> Result<(Url, Vec<(String, String)>), String> + Send + Sync>;
+/// Looks the page up again for a format as yt-dlp gives it today (blocking: yt-dlp runs).
+pub type Relink = Arc<dyn Fn(&str) -> Result<Value, String> + Send + Sync>;
/// A stream's address, from yt-dlp (#769): the engine's [`Unlocker`] for a stream. The first ask
/// takes the address this run's look-up gave; every later one (the address died, the download
@@ -356,8 +391,12 @@ impl Unlocker for StreamLink {
let got = tokio::task::spawn_blocking(move || relink(&id))
.await
.map_err(|_| ServiceFault::Other("yt-dlp stopped".into()))?;
- match got {
- Ok((url, headers)) => Ok(Some(unlocked(url, &headers, self.size))),
+ match got.map(|f| stream_of(&f)) {
+ Ok(Some(s)) => Ok(Some(unlocked(s.url, &s.headers, self.size))),
+ Ok(None) => Err(ServiceFault::Other(format!(
+ "yt-dlp gave no address for format {}",
+ self.format_id
+ ))),
Err(e) => Err(ServiceFault::Other(e)),
}
})
@@ -383,10 +422,13 @@ pub struct Engine {
/// The engine's download under way and its speed limit, shared with [`crate::video::VideoJob`]:
/// a new limit applies to it at once, and Stop cancels it.
-#[derive(Default)]
pub struct Current {
dl: Mutex<Option<Download>>,
+ /// A stream in pieces under way: Stop cancels it.
+ pieces: Mutex<Option<CancellationToken>>,
limit: Mutex<Option<u64>>,
+ /// The pieces' own speed limit (the download's), shared by their connections.
+ limiter: Arc<mdm_engine::limiter::Limiter>,
/// An engine download is under way or ending: its resume state isn't saved yet.
busy: AtomicBool,
}
@@ -394,13 +436,17 @@ pub struct Current {
impl Current {
pub fn new(limit: Option<u64>) -> Current {
Current {
+ dl: Mutex::new(None),
+ pieces: Mutex::new(None),
limit: Mutex::new(limit),
- ..Default::default()
+ limiter: Arc::new(mdm_engine::limiter::Limiter::new(limit)),
+ busy: AtomicBool::new(false),
}
}
pub fn set_limit(&self, rate: Option<u64>) {
*self.limit.lock().unwrap() = rate;
+ self.limiter.set(rate);
if let Some(dl) = self.dl.lock().unwrap().as_ref() {
dl.set_speed_limit(rate);
}
@@ -414,6 +460,9 @@ impl Current {
if let Some(dl) = self.dl.lock().unwrap().as_ref() {
dl.cancel();
}
+ if let Some(t) = self.pieces.lock().unwrap().as_ref() {
+ t.cancel();
+ }
}
/// An engine download is still ending (Stop was asked, its state isn't saved yet).
@@ -438,6 +487,8 @@ pub enum Fetched {
Done,
Stopped,
Failed(String),
+ /// A stream turned out to be yt-dlp's to download (a playlist without an end yet: live).
+ Helper(Helper),
}
/// What [`fetch`] reports as it goes: bytes in, the total, the speed (bytes/s), the view, and the
@@ -514,9 +565,18 @@ pub fn fetch(
if let Some(dir) = s.path.parent() {
let _ = std::fs::create_dir_all(dir);
}
+ let chunk = match &s.kind {
+ Kind::File { chunk } => *chunk,
+ Kind::Hls { .. } | Kind::Dash(_) => {
+ match fetch_pieces(plan, i, &mut known, engine, relink, current, report) {
+ Fetched::Done => continue,
+ other => return other,
+ }
+ }
+ };
let mut opts = engine.opts.clone();
opts.unlocker = Some(Arc::new(StreamLink::new(s, relink.clone())));
- opts.request_cap = s.chunk;
+ opts.request_cap = chunk;
opts.speed_limit = current.limit();
// yt-dlp's headers are the stream's: no other User-Agent, address, type or form.
if let Some((_, ua)) = s
@@ -578,6 +638,143 @@ pub fn fetch(
Fetched::Done
}
+/// Why a stream's pieces couldn't be listed.
+enum Unlisted {
+ /// It is yt-dlp's to download.
+ Helper(Helper),
+ Failed(String),
+}
+
+/// The pieces of stream `s` (an HLS playlist fetched and read, DASH's as yt-dlp listed them).
+async fn list_pieces(
+ s: &Stream,
+ opts: &mdm_engine::Options,
+) -> Result<Vec<crate::pieces::Piece>, Unlisted> {
+ use crate::pieces::Unlisted as U;
+ let (extra, extra_key) = match &s.kind {
+ Kind::Dash(p) => return Ok(p.clone()),
+ Kind::Hls { extra, extra_key } => (extra.as_deref(), extra_key.as_deref()),
+ Kind::File { .. } => return Err(Unlisted::Failed("not a stream in pieces".into())),
+ };
+ let failed = |e: String| Unlisted::Failed(format!("the playlist: {e}"));
+ let client = mdm_engine::http_client(opts, &s.url).map_err(|e| failed(e.to_string()))?;
+ let resp = client
+ .get(s.url.clone())
+ .headers(header_map(&s.headers))
+ .send()
+ .await
+ .map_err(|e| failed(e.to_string()))?;
+ if !resp.status().is_success() {
+ return Err(failed(format!("the server answered {}", resp.status())));
+ }
+ // Its pieces' addresses are taken from where it ended up, as hlsnative takes them.
+ let base = resp.url().clone();
+ let text = resp.text().await.map_err(|e| failed(e.to_string()))?;
+ crate::pieces::hls(&text, &base, extra, extra_key).map_err(|e| match e {
+ U::Live => Unlisted::Helper(Helper::Live),
+ U::Protected(_) => Unlisted::Helper(Helper::Protected),
+ U::NoPieces => Unlisted::Failed("the playlist lists no pieces".into()),
+ })
+}
+
+/// Stream `i` of `plan`, in pieces: listed, downloaded several at once into its pieces' folder
+/// (a stop keeps the pieces whole), joined into its file. A piece refused has the stream asked of
+/// yt-dlp again (`relink`) for today's list.
+fn fetch_pieces(
+ plan: &Plan,
+ i: usize,
+ known: &mut [Option<u64>],
+ engine: &Engine,
+ relink: &Relink,
+ current: &Current,
+ report: &dyn Report,
+) -> Fetched {
+ let s = &plan.streams[i];
+ let list = match engine.handle.block_on(list_pieces(s, &engine.opts)) {
+ Ok(l) => l,
+ Err(Unlisted::Helper(why)) => return Fetched::Helper(why),
+ Err(Unlisted::Failed(e)) => return Fetched::Failed(e),
+ };
+ let n = list.len();
+ let relist: crate::pieces::Relist = {
+ let (relink, id, opts) = (relink.clone(), s.format_id.clone(), engine.opts.clone());
+ let handle = engine.handle.clone();
+ Arc::new(move || {
+ let f = relink(&id)?;
+ let s =
+ stream_of(&f).ok_or_else(|| format!("yt-dlp gave no address for format {id}"))?;
+ handle
+ .block_on(list_pieces(&s, &opts))
+ .map_err(|e| match e {
+ Unlisted::Failed(e) => e,
+ Unlisted::Helper(h) => h.english(),
+ })
+ })
+ };
+ let token = CancellationToken::new();
+ *current.pieces.lock().unwrap() = Some(token.clone());
+ current.busy.store(true, Ordering::Release);
+ let shared = Arc::new(crate::pieces::Shared::default());
+ let task = engine.handle.spawn(crate::pieces::download(
+ list,
+ s.path.clone(),
+ header_map(&s.headers),
+ engine.opts.clone(),
+ current.limiter.clone(),
+ token.clone(),
+ shared.clone(),
+ relist,
+ ));
+ let mut cancelled = false;
+ while !task.is_finished() {
+ for note in shared.take_notes() {
+ report.note(format!("Format {}: {note}", s.format_id));
+ }
+ known[i] = shared.total(n, s.size);
+ let sizes = sizes(plan, known);
+ let before: u64 = sizes[..i].iter().map(|s| s.unwrap_or(0)).sum();
+ let total = sizes.iter().copied().sum::<Option<u64>>();
+ let connections = shared.connections();
+ let speed: u64 = connections.iter().map(|c| c.speed).sum();
+ let here = shared.segments(known[i].unwrap_or(0));
+ report.progress(
+ before + shared.downloaded(),
+ total,
+ speed as f64,
+ View {
+ segments: segments(&sizes, i, &here),
+ connections,
+ server: None,
+ },
+ );
+ if report.stopped() && !cancelled {
+ cancelled = true;
+ token.cancel();
+ }
+ std::thread::sleep(Duration::from_millis(200));
+ }
+ let ended = engine.handle.block_on(task);
+ for note in shared.take_notes() {
+ report.note(format!("Format {}: {note}", s.format_id));
+ }
+ *current.pieces.lock().unwrap() = None;
+ current.busy.store(false, Ordering::Release);
+ match ended {
+ Ok(crate::pieces::Ended::Done(size)) => {
+ known[i] = Some(size);
+ report.note(format!(
+ "Format {}: {n} pieces joined into {}",
+ s.format_id,
+ s.path.display()
+ ));
+ Fetched::Done
+ }
+ Ok(crate::pieces::Ended::Stopped) => Fetched::Stopped,
+ Ok(crate::pieces::Ended::Failed(e)) => Fetched::Failed(e),
+ Err(_) => Fetched::Failed("the pieces stopped on an internal error".into()),
+ }
+}
+
fn fresh(page: &Url, s: &Stream, opts: mdm_engine::Options) -> Download {
Download::start(
Request {
@@ -700,16 +897,22 @@ mod tests {
assert_eq!(v.format_id, "399");
assert_eq!(v.path, Path::new("/v/Big Buck.f399.mp4"));
assert_eq!((v.size, v.exact), (Some(124386876), true));
- assert_eq!(v.chunk, Some(10485760));
+ assert_eq!(
+ v.kind,
+ Kind::File {
+ chunk: Some(10485760)
+ }
+ );
assert!(v.headers.contains(&("User-Agent".into(), "UA/1".into())));
assert_eq!(a.path, Path::new("/v/Big Buck.f258.m4a"));
- assert_eq!((a.size, a.exact, a.chunk), (Some(30767602), false, None));
+ assert_eq!((a.size, a.exact), (Some(30767602), false));
+ assert_eq!(a.kind, Kind::File { chunk: None });
assert!(a.headers.contains(&("Cookie".into(), "SID=s".into())));
assert_eq!(p.total(), Some(124386876 + 30767602));
- let (url, headers) = format_link(&youtube(), "258").unwrap();
- assert!(url.as_str().ends_with("itag=258"));
- assert!(headers.iter().any(|(k, _)| k == "Cookie"));
- assert!(format_link(&youtube(), "137").is_none());
+ let again = stream_of(format_of(&youtube(), "258").unwrap()).unwrap();
+ assert!(again.url.as_str().ends_with("itag=258"));
+ assert!(again.headers.iter().any(|(k, _)| k == "Cookie"));
+ assert!(format_of(&youtube(), "137").is_none());
}
#[test]
@@ -721,7 +924,7 @@ mod tests {
let p = plan(&one).unwrap();
assert_eq!(p.streams.len(), 1);
assert_eq!(p.streams[0].path, Path::new("/v/Talk.mp4"));
- assert_eq!(p.streams[0].chunk, None);
+ assert_eq!(p.streams[0].kind, Kind::File { chunk: None });
// No protocol said: the address's.
let mut bare = one.clone();
bare.as_object_mut().unwrap().remove("protocol");
@@ -735,18 +938,23 @@ mod tests {
f["requested_formats"][1][key] = v;
plan(&f)
};
- assert_eq!(
- with("protocol", json!("m3u8_native")),
- Err(Helper::Pieces("m3u8_native".into()))
- );
assert_eq!(
with("protocol", json!("http_dash_segments")),
- Err(Helper::Pieces("http_dash_segments".into()))
+ Err(Helper::Pieces("http_dash_segments".into())),
+ "DASH without its pieces listed"
);
assert_eq!(
with("fragments", json!([{"url": "a"}])),
Err(Helper::Pieces("https".into()))
);
+ assert_eq!(
+ with("protocol", json!("f4m")),
+ Err(Helper::Pieces("f4m".into()))
+ );
+ let mut aes = youtube();
+ aes["requested_formats"][1]["protocol"] = json!("m3u8_native");
+ aes["requested_formats"][1]["hls_aes"] = json!({"key": "00"});
+ assert_eq!(plan(&aes), Err(Helper::Pieces("m3u8_native".into())));
assert_eq!(
with("protocol", json!("rtmp")),
Err(Helper::Protocol("rtmp".into()))
@@ -764,6 +972,35 @@ mod tests {
assert_eq!(plan(&unnamed), Err(Helper::NoAddress));
}
+ /// #769: HLS and DASH streams are the engine's, in pieces.
+ #[test]
+ fn streams_in_pieces_are_the_engines() {
+ let mut f = youtube();
+ f["requested_formats"][0]["protocol"] = json!("m3u8_native");
+ f["requested_formats"][0]["url"] = json!("https://cdn.example/v/index.m3u8");
+ f["requested_formats"][0]["extra_param_to_segment_url"] = json!("tok=1");
+ f["requested_formats"][1]["protocol"] = json!("http_dash_segments");
+ f["requested_formats"][1]["fragment_base_url"] = json!("https://cdn.example/a/");
+ f["requested_formats"][1]["fragments"] = json!([{"path": "init.mp4"}, {"path": "s1.m4s"}]);
+ f["requested_formats"][1]
+ .as_object_mut()
+ .unwrap()
+ .remove("url");
+ let p = plan(&f).unwrap();
+ assert_eq!(
+ p.streams[0].kind,
+ Kind::Hls {
+ extra: Some("tok=1".into()),
+ extra_key: None
+ }
+ );
+ let Kind::Dash(pieces) = &p.streams[1].kind else {
+ panic!("{:?}", p.streams[1].kind)
+ };
+ assert_eq!(pieces.len(), 2);
+ assert_eq!(p.streams[1].url.as_str(), "https://cdn.example/a/init.mp4");
+ }
+
#[test]
fn the_segment_map_runs_through_every_stream() {
let sizes = [Some(100), Some(50)];
diff --git a/crates/tools/src/video.rs b/crates/tools/src/video.rs
index 3eed531c..e839aebf 100644
--- a/crates/tools/src/video.rs
+++ b/crates/tools/src/video.rs
@@ -773,10 +773,6 @@ pub const MAX_WHILE_RUNNING: f64 = 0.999;
/// is the next stream, never counted as one of `MDMQ`'s, and the window's size holds the total.
/// Subtitle files come before the video with lines of their own, `NA` (#68): what they brought
/// leaves the bar when the first stream's line comes.
-///
-/// Pieces fetched several at once ([`pace_args`]) report from each at its turn: the count can
-/// step back a little, which isn't a new stream (#531: one taken for it added a 25 MB estimate,
-/// and a 6 MB video read 66 MB). Then only a fall to under half of it, by 64 KB or more, is.
struct Meter {
expected: Option<u64>,
/// `MDMQ`'s format id and resolution (`137+140 1920x1080`), once yt-dlp has said.
@@ -788,8 +784,6 @@ struct Meter {
all_at_once: bool,
/// Every line so far said `NA` for its format id (subtitle files).
only_na: bool,
- /// Pieces at once: the count may step back.
- at_once: bool,
/// The streams already finished, and the current one's last total and bytes.
finished: u64,
last_total: u64,
@@ -799,7 +793,7 @@ struct Meter {
}
impl Meter {
- fn new(expected: Option<u64>, at_once: bool) -> Self {
+ fn new(expected: Option<u64>) -> Self {
Meter {
expected: expected.filter(|e| *e > 0),
quality: None,
@@ -807,7 +801,6 @@ impl Meter {
started: 0,
all_at_once: false,
only_na: true,
- at_once,
finished: 0,
last_total: 0,
last_got: 0,
@@ -899,13 +892,7 @@ impl Meter {
}
// As before: back near 0 is the next stream.
None => {
- // Pieces at once (#531): the count may step back a little within a stream;
- // only a fall to under half of it, by 64 KB or more, is the next stream.
- let back = if self.at_once {
- got.saturating_mul(2) < self.last_got && self.last_got - got >= 64 * 1024
- } else {
- got < self.last_got
- };
+ let back = got < self.last_got;
if back && self.last_got > 0 {
self.next_stream();
}
@@ -1250,8 +1237,7 @@ fn attempt(
Engined::Failed(error) => return failed(error, rerouted),
}
}
- let at_once = ours.iter().any(|a| a == "--concurrent-fragments");
- let mut meter = Meter::new(expected, at_once);
+ let mut meter = Meter::new(expected);
// The streams are in place: what yt-dlp says of them isn't the download's progress.
let meter = (!by_engine).then_some(&mut meter);
let ran = match run(exe, ours, &file, progress, child, meter) {
@@ -1479,12 +1465,14 @@ impl ByEngine {
crate::streams::Fetched::Done => Engined::Ready,
crate::streams::Fetched::Stopped => Engined::Stopped,
crate::streams::Fetched::Failed(e) => Engined::Failed(e),
+ crate::streams::Fetched::Helper(why) => Engined::Helper(why),
}
}
}
-/// Today's address and headers of format `id` on the page: looked up again (as the browser
-/// asked, `browser`), its servers moved as the run moved them, and chosen with `-f <id>`.
+/// Format `id` on the page as yt-dlp gives it today (its address, headers, pieces): looked up
+/// again (as the browser asked, `browser`), its servers moved as the run moved them, and chosen
+/// with `-f <id>`.
fn relink(
exe: &Path,
url: &str,
@@ -1493,7 +1481,7 @@ fn relink(
dead: &std::collections::BTreeSet<String>,
reroute: bool,
id: &str,
-) -> Result<(url::Url, Vec<(String, String)>), String> {
+) -> Result<serde_json::Value, String> {
let (mut info, _) = look_up(exe, url, browser)?;
moved(&mut info, dead, reroute);
let file = info_file();
@@ -1501,7 +1489,8 @@ fn relink(
.map_err(|e| format!("Cannot write the video information: {e}"))?;
let _cleanup = Remove(file.clone());
let chosen = choose(exe, &with_selector(choose_args, id), &file)?;
- crate::streams::format_link(&chosen, id)
+ crate::streams::format_of(&chosen, id)
+ .cloned()
.ok_or_else(|| format!("the page no longer offers format {id}"))
}
@@ -1536,17 +1525,11 @@ fn template_text(s: &str) -> String {
s.replace('%', "%%")
}
-/// yt-dlp's speed: at most `rate` bytes/s; a stream in pieces (HLS, DASH) `fragments` pieces at
-/// once, as a file comes down over several connections (Options → Connection, #531). yt-dlp uses
-/// that for such streams only (a plain file stays one connection), and its limit holds for each
-/// piece, not for them together: with a limit, one piece at a time, so the limit stays the
-/// download's, whatever the format turns out to be.
-pub fn pace_args(rate: Option<u64>, fragments: u32) -> Vec<String> {
- match rate {
- Some(r) => vec!["--limit-rate".into(), r.to_string()],
- None if fragments > 1 => vec!["--concurrent-fragments".into(), fragments.to_string()],
- None => Vec::new(),
- }
+/// yt-dlp's speed when it downloads by itself (#708; MDM's engine downloads every other video,
+/// #769): at most `rate` bytes/s.
+pub fn limit_args(rate: Option<u64>) -> Vec<String> {
+ rate.map(|r| vec!["--limit-rate".into(), r.to_string()])
+ .unwrap_or_default()
}
/// Our progress line: `MDMP <downloaded> <total> <estimate> <speed> <format id>` (`NA` when
@@ -1559,8 +1542,8 @@ const FINAL: &str = "after_move:MDMF %(filepath)s";
const QUALITY: &str = "video:MDMQ %(format_id)s %(resolution)s";
impl VideoJob {
- /// Download `url` in format `selector` to `dir/<stem>.<ext>`, at most `rate` bytes/s, a
- /// stream in pieces `fragments` pieces at once ([`pace_args`]); `ffmpeg` (its exe) merges separate video and audio into an MP4. `expected`: the size the
+ /// Download `url` in format `selector` to `dir/<stem>.<ext>`; when yt-dlp downloads it by
+ /// itself, at most `rate` bytes/s ([`limit_args`]). `ffmpeg` (its exe) merges separate video and audio into an MP4. `expected`: the size the
/// choice was shown with (every stream), so the progress starts from the whole. `browser`:
/// what the browser's request for the page carried (proc::FromBrowser). `subs`: the
/// subtitles to save with it (#68; none for a sound alone, which has no picture to put them
@@ -1574,7 +1557,6 @@ impl VideoJob {
dir: &Path,
stem: &str,
rate: Option<u64>,
- fragments: u32,
ffmpeg: Option<&Path>,
expected: Option<u64>,
browser: &proc::FromBrowser,
@@ -1582,8 +1564,7 @@ impl VideoJob {
engine: Option<crate::streams::Engine>,
) -> Result<VideoJob, ProcError> {
Self::start_with(
- exe, url, selector, dir, stem, rate, fragments, ffmpeg, expected, browser, subs, None,
- engine,
+ exe, url, selector, dir, stem, rate, ffmpeg, expected, browser, subs, None, engine,
)
}
@@ -1597,7 +1578,6 @@ impl VideoJob {
dir: &Path,
stem: &str,
rate: Option<u64>,
- fragments: u32,
ffmpeg: Option<&Path>,
expected: Option<u64>,
browser: &proc::FromBrowser,
@@ -1651,7 +1631,7 @@ impl VideoJob {
"--print".into(),
QUALITY.into(),
];
- ours.extend(pace_args(rate, fragments));
+ ours.extend(limit_args(rate));
// A subtitles-only second run, for the ones a site refuses (#68): the same output name.
let mut retry_base: Vec<String> = vec![
"-o".into(),
@@ -1687,6 +1667,13 @@ impl VideoJob {
dir.to_string_lossy().into_owned(),
]);
}
+ // With the engine, every HLS stream is yt-dlp's hlsnative's (`--hls-prefer-native`): the
+ // engine joins its pieces as hlsnative does, and yt-dlp's fixups after it then follow
+ // (a live one hlsnative hands to ffmpeg, as before).
+ if engine.is_some() {
+ ours.push("--hls-prefer-native".into());
+ choose.push("--hls-prefer-native".into());
+ }
let retry = with_subs.then(|| SubsRetry {
automatic: subs.automatic,
embed: subs.embed && ffmpeg.is_some(),
@@ -1937,16 +1924,11 @@ mod tests {
assert_eq!(named_for_content(named.clone()), named);
}
- /// #531: a stream in pieces comes down several at once, as many as a file's connections;
- /// with a speed limit one at a time, as yt-dlp's limit holds for each piece (measured
- /// against the lab server: `--limit-rate 512K -N 4` took a quarter of the time).
#[test]
- fn fragments_at_once_unless_the_speed_is_limited() {
+ fn a_limit_for_yt_dlp_downloading_by_itself() {
let s = |v: Vec<String>| v.join(" ");
- assert_eq!(s(pace_args(None, 8)), "--concurrent-fragments 8");
- assert_eq!(s(pace_args(None, 1)), "");
- assert_eq!(s(pace_args(None, 0)), "");
- assert_eq!(s(pace_args(Some(524_288), 8)), "--limit-rate 524288");
+ assert_eq!(s(limit_args(None)), "");
+ assert_eq!(s(limit_args(Some(524_288))), "--limit-rate 524288");
}
/// Live (network, yt-dlp): `MDM_LIVE_YTDLP=<yt-dlp.exe> MDM_LIVE_PAGE=<video page>
@@ -1976,7 +1958,6 @@ mod tests {
dir.path(),
"a",
None,
- 1,
ffmpeg.as_deref(),
None,
&Default::default(),
@@ -2034,7 +2015,6 @@ mod tests {
dir.path(),
"clip",
None,
- 1,
None,
None,
&Default::default(),
@@ -2065,7 +2045,6 @@ mod tests {
dir.path(),
"clip",
None,
- 1,
None,
None,
&Default::default(),
@@ -2087,11 +2066,7 @@ mod tests {
}
fn run(expected: Option<u64>, lines: &[&str]) -> Vec<(u64, Option<u64>)> {
- run_with(expected, false, lines)
- }
-
- fn run_with(expected: Option<u64>, at_once: bool, lines: &[&str]) -> Vec<(u64, Option<u64>)> {
- let mut m = Meter::new(expected, at_once);
+ let mut m = Meter::new(expected);
let mut p = Progress {
state: State::Running,
downloaded: 0,
@@ -2150,42 +2125,6 @@ mod tests {
assert!(f[f.len() - 1] > 0.99, "{f:?}");
}
- /// #531: yt-dlp's lines with 8 pieces at once (real ones, from the lab server's HLS stream of
- /// 6 MB), its count stepping back now and then: never more than the file, and the end is
- /// the file. A second stream (the sound after the picture) still adds up.
- #[test]
- fn pieces_at_once_step_back_without_a_new_stream() {
- let lines = [
- "30720 NA 6905856.0 5636",
- "26624 NA 6905856.0 5636",
- "1304576 NA 37576704.0 911582",
- "1961984 NA 25104384.0 911582",
- "1830912 NA 25104384.0 911582",
- "4061184 NA 8382464.0 1683967",
- "3929088 NA 8382464.0 1683967",
- "6289408 NA 7704576.0 1883540",
- "6158336 NA 7704576.0 1883540",
- "6291456 NA 6553600.0 1883540",
- ];
- let v = run_with(None, true, &lines);
- for (d, _) in &v {
- assert!(*d <= 6_291_456, "more than the file: {v:?}");
- }
- assert_eq!(v.last().unwrap().0, 6_291_456);
- // Before, the first step back counted the 6.9 MB estimate as a finished stream.
- assert!(run(None, &lines).iter().any(|(d, _)| *d > 6_291_456));
- let two = run_with(
- None,
- true,
- &[
- "4000000 4000000 NA 5",
- "1024 NA 900000 5",
- "900000 900000 NA 5",
- ],
- );
- assert_eq!(two.last().unwrap().0, 4_900_000, "{two:?}");
- }
-
/// The file size stays the file's size at the end: holding the bar short of 100 % is the
/// window's (`Item::fraction`), not a total made 0.1 % too big (100.100 MB for 100 MB).
#[test]
@@ -2466,7 +2405,7 @@ mod tests {
/// nothing is named before yt-dlp has said, nor `NA`.
#[test]
fn the_streams_are_named_by_their_format_ids() {
- let mut m = Meter::new(None, false);
+ let mut m = Meter::new(None);
assert_eq!(m.named(Some("137")), None);
let cases: [(&str, &[&str], &[&str]); 4] = [
(
diff --git a/crates/tools/tests/cookies.rs b/crates/tools/tests/cookies.rs
index 36781047..d788275d 100644
--- a/crates/tools/tests/cookies.rs
+++ b/crates/tools/tests/cookies.rs
@@ -78,7 +78,6 @@ fn download(exe: &std::path::Path, url: &str, browser: &FromBrowser) -> (State,
dir.path(),
"clip",
None,
- 1,
None,
None,
browser,
diff --git a/crates/tools/tests/fake_ytdlp.rs b/crates/tools/tests/fake_ytdlp.rs
index aa6b5e26..6e43c2c0 100644
--- a/crates/tools/tests/fake_ytdlp.rs
+++ b/crates/tools/tests/fake_ytdlp.rs
@@ -404,7 +404,6 @@ fn download_as(
out.path(),
stem,
None,
- 1,
None,
None,
&Default::default(),
@@ -547,7 +546,6 @@ fn preloaded_checks(me: &Path) {
out.path(),
"Talk",
None,
- 1,
None,
None,
&Default::default(),
@@ -837,7 +835,6 @@ fn engine_checks(me: &Path) {
out,
"Talk",
None,
- 1,
None,
None,
&Default::default(),
@@ -976,15 +973,11 @@ fn engine_checks(me: &Path) {
"{log:?}"
);
- // A stream in pieces: yt-dlp downloads the choice itself, and the log says why.
+ // A protocol the engine doesn't speak: yt-dlp downloads the choice itself, and says why.
let (tools, out) = (tempfile::tempdir().unwrap(), tempfile::tempdir().unwrap());
std::fs::write(
tools.path().join("page.json"),
- page(
- "/gen/3M/v.mp4?seed=1",
- "/gen/1M/a.m4a?seed=2",
- "m3u8_native",
- ),
+ page("/gen/3M/v.mp4?seed=1", "/gen/1M/a.m4a?seed=2", "rtmp"),
)
.unwrap();
let job = start(tools.path(), out.path(), 2);
@@ -993,12 +986,190 @@ fn engine_checks(me: &Path) {
assert!(matches!(p.state, State::Done(_)), "{:?}: {log:?}", p.state);
assert_eq!(
p.helper,
- Some(mdm_tools::streams::Helper::Pieces("m3u8_native".into()))
+ Some(mdm_tools::streams::Helper::Protocol("rtmp".into()))
);
assert!(
log.iter()
- .any(|t| t == "yt-dlp downloads this video itself: a stream in pieces (m3u8_native)"),
+ .any(|t| t == "yt-dlp downloads this video itself: its protocol (rtmp)"),
"{log:?}"
);
+ pieces_checks(me, &rt, &lab, &engine, &expected_audio());
println!("fake_ytdlp: the engine's checks ok");
}
+
+/// The sound every page of the engine's checks has (format 140, the lab's `/gen/1M/a.m4a`).
+fn expected_audio() -> Vec<u8> {
+ let mut a = vec![0; 1 << 20];
+ mdm_labserver::content::fill(2, 0, &mut a);
+ a
+}
+
+/// #769: streams in pieces through the engine: an HLS playlist (plain, and AES-128 with the
+/// playlist's key), DASH's pieces as yt-dlp lists them, and pieces whose addresses expire,
+/// asked of yt-dlp again. Each comes whole, in order, joined as yt-dlp's own downloaders join
+/// them, then merged with the sound.
+fn pieces_checks(
+ me: &Path,
+ rt: &tokio::runtime::Runtime,
+ lab: &mdm_labserver::LabServer,
+ engine: &dyn Fn(u32) -> mdm_tools::streams::Engine,
+ audio: &[u8],
+) {
+ let get = |path: &str| -> Vec<u8> {
+ let url = lab.url(path);
+ rt.block_on(async {
+ reqwest::get(url)
+ .await
+ .unwrap()
+ .bytes()
+ .await
+ .unwrap()
+ .to_vec()
+ })
+ };
+ let audio_format = format!(
+ r#"{{"format_id": "140", "ext": "m4a", "protocol": "https", "filesize": {},
+ "vcodec": "none", "acodec": "mp4a", "url": "{}"}}"#,
+ 1 << 20,
+ lab.url("/gen/1M/a.m4a?seed=2")
+ );
+ let run = |video: String, connections: u32| {
+ let (tools, out) = (tempfile::tempdir().unwrap(), tempfile::tempdir().unwrap());
+ std::fs::write(
+ tools.path().join("page.json"),
+ format!(
+ r#"{{"id": "talk", "title": "Talk", "ext": "mp4", "formats": [{video}, {audio_format}]}}"#
+ ),
+ )
+ .unwrap();
+ let exe = fake_in(me, tools.path());
+ let job = VideoJob::start(
+ &exe,
+ "https://video.example/talk",
+ "bv*+ba/b",
+ out.path(),
+ "Talk",
+ None,
+ None,
+ None,
+ &Default::default(),
+ &Subs::default(),
+ Some(engine(connections)),
+ )
+ .expect("started");
+ let end = Instant::now() + Duration::from_secs(120);
+ let mut most = 0;
+ let p = loop {
+ let p = job.progress();
+ if let Some(e) = &p.engine {
+ most = most.max(e.connections.len());
+ }
+ if p.state != State::Running {
+ break p;
+ }
+ assert!(Instant::now() < end, "still running: {:?}", log_of(&p));
+ std::thread::sleep(Duration::from_millis(50));
+ };
+ let log = log_of(&p);
+ assert!(matches!(p.state, State::Done(_)), "{:?}: {log:?}", p.state);
+ assert!(p.helper.is_none(), "{:?}", p.helper);
+ // Named for what it holds (#569): TS pieces joined without ffmpeg are a `.ts`.
+ let State::Done(file) = &p.state else {
+ unreachable!()
+ };
+ let saved = std::fs::read(file).unwrap();
+ let left: Vec<String> = std::fs::read_dir(out.path())
+ .unwrap()
+ .filter_map(Result::ok)
+ .map(|e| e.file_name().to_string_lossy().into_owned())
+ .filter(|n| n.contains(".mdm"))
+ .collect();
+ assert!(left.is_empty(), "left behind: {left:?}");
+ (saved, log, most)
+ };
+ let hls = |playlist: &str, extra: &str| {
+ format!(
+ r#"{{"format_id": "hls-720p", "ext": "mp4", "protocol": "m3u8_native",
+ "vcodec": "avc1", "acodec": "none", "url": "{}"{extra}}}"#,
+ lab.url(playlist)
+ )
+ };
+ let plain: Vec<u8> = (0..3)
+ .flat_map(|i| get(&format!("/hls/720p/seg{i}.ts")))
+ .chain(audio.iter().copied())
+ .collect();
+
+ // HLS: three pieces, two at once, joined in order.
+ let (saved, log, most) = run(hls("/hls/720p/index.m3u8", ""), 2);
+ assert!(saved == plain, "HLS pieces joined in order");
+ assert!(most >= 2, "pieces at once: {most}");
+ assert!(
+ log.iter()
+ .any(|t| t.starts_with("Format hls-720p: 3 pieces, 2 at once")),
+ "{log:?}"
+ );
+
+ // AES-128: the playlist's key, the first piece's own IV and the others' sequence numbers.
+ let (saved, log, _) = run(hls("/hls/720p/enc.m3u8", ""), 3);
+ assert!(saved == plain, "decrypted as the plain pieces: {log:?}");
+
+ // DASH: yt-dlp's list (an init section and three pieces, from its base address).
+ let dash = format!(
+ r#"{{"format_id": "dash-720p", "ext": "mp4", "protocol": "http_dash_segments",
+ "vcodec": "avc1", "acodec": "none", "url": "{}",
+ "fragment_base_url": "{}",
+ "fragments": [{{"path": "init.mp4"}}, {{"path": "seg1.m4s"}}, {{"path": "seg2.m4s"}},
+ {{"url": "{}"}}]}}"#,
+ lab.url("/dash/manifest.mpd"),
+ lab.url("/dash/720p/"),
+ lab.url("/dash/720p/seg3.m4s")
+ );
+ let want: Vec<u8> = ["init.mp4", "seg1.m4s", "seg2.m4s", "seg3.m4s"]
+ .iter()
+ .flat_map(|f| get(&format!("/dash/720p/{f}")))
+ .chain(audio.iter().copied())
+ .collect();
+ let (saved, _, _) = run(dash, 4);
+ assert!(saved == want, "DASH pieces joined in order");
+
+ // Pieces whose addresses expire 1.5 s after each look-up, one at a time at 256 KB/s: yt-dlp
+ // is asked for the list again, and the pieces go on from the new one.
+ let pieces: Vec<String> = (1..=4)
+ .map(|i| {
+ format!(
+ r#"{{"url": "{}"}}"#,
+ lab.url(&format!(
+ "/gen/256K/p{i}?seed={}&rate=256K&expires={{EXPIRES}}",
+ 20 + i
+ ))
+ )
+ })
+ .collect();
+ let expiring = format!(
+ r#"{{"format_id": "dash-exp", "ext": "mp4", "protocol": "http_dash_segments",
+ "vcodec": "avc1", "acodec": "none", "url": "{}", "fragments": [{}]}}"#,
+ lab.url("/dash/manifest.mpd"),
+ pieces.join(", ")
+ );
+ let want: Vec<u8> = (1..=4u64)
+ .flat_map(|i| {
+ let mut b = vec![0; 256 * 1024];
+ mdm_labserver::content::fill(20 + i, 0, &mut b);
+ b
+ })
+ .chain(audio.iter().copied())
+ .collect();
+ let (saved, log, _) = run(expiring, 1);
+ let first = saved.iter().zip(&want).position(|(a, b)| a != b);
+ assert!(
+ saved == want,
+ "whole across new lists: {} vs {} bytes, first difference at {first:?}: {log:?}",
+ saved.len(),
+ want.len()
+ );
+ assert!(
+ log.iter()
+ .any(|t| t == "Format dash-exp: Asking yt-dlp for the pieces' new addresses"),
+ "{log:?}"
+ );
+}
diff --git a/docs/command-line.md b/docs/command-line.md
index 439570bd..c01f2445 100644
--- a/docs/command-line.md
+++ b/docs/command-line.md
@@ -51,7 +51,7 @@ It comes with every download of MDM, next to the app (the installer puts it in M
| `video-info URL` | What video a page holds (YouTube, Vimeo, ...), and the qualities to choose from. |
| `playlist-info URL [--from N] [--count N]` | A playlist's or channel's videos, one line each as they're listed: its place, length, title and address. |
| `playlist-get URL [-f selector] [-o folder] [-c pieces] [--from N] [--count N]` | Download a playlist's or channel's videos one after another, into a folder named after the list inside `-o`. `-f` is one quality for all, as for `video-get` (by default each video's best; `bv*[height<=720]+ba/b[height<=720]` = up to 720p; `ba` = the original sound; `mp3:320`, `opus:`, `flac:` as for `video-get`). `-c` as for `video-get`. |
-| `video-get URL [-f selector] [-o folder] [-c pieces] [--subs langs] [--auto-subs] [--embed-subs] [--adapter name]` | Download a video; `-f` takes a quality's selector from `video-info` (`b` = the best single file; `ba` = the sound alone as the site has it, not converted; `mp3:320`, `mp3:256`, `mp3:192` or `mp3:128` = the sound as an MP3 at that bitrate, `mp3:0` at its best variable one; `opus:` = as Opus; `flac:` = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). `-c`: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128); a video yt-dlp still downloads itself in pieces (HLS, DASH) comes this many pieces at once. `--subs` saves subtitles beside it: language codes from `video-info` (`en,fr`), or `all` for every one the uploader gave; `--auto-subs` takes the site's automatic captions instead; `--embed-subs` puts them into the video (needs ffmpeg, MP4 or MKV). `--adapter` sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for `get`; when it isn't connected, nothing starts. |
+| `video-get URL [-f selector] [-o folder] [-c pieces] [--subs langs] [--auto-subs] [--embed-subs] [--adapter name]` | Download a video; `-f` takes a quality's selector from `video-info` (`b` = the best single file; `ba` = the sound alone as the site has it, not converted; `mp3:320`, `mp3:256`, `mp3:192` or `mp3:128` = the sound as an MP3 at that bitrate, `mp3:0` at its best variable one; `opus:` = as Opus; `flac:` = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). `-c`: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. `--subs` saves subtitles beside it: language codes from `video-info` (`en,fr`), or `all` for every one the uploader gave; `--auto-subs` takes the site's automatic captions instead; `--embed-subs` puts them into the video (needs ffmpeg, MP4 or MKV). `--adapter` sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for `get`; when it isn't connected, nothing starts. |
| `install-ytdlp`, `install-ffmpeg` | Install or update the helpers videos need: yt-dlp (checked against its signing key) and ffmpeg (Windows; on macOS and Linux MDM uses the system's). |
| `torrent-info SOURCE` | A torrent's name, files (numbered) and size; `SOURCE` is a magnet link or a `.torrent` file. |
| `torrent-get SOURCE [-o folder] [--files 0,2] [--use-existing]` | Download a torrent, or only some of its files. If some of its files are already in the folder, it stops and names them; `--use-existing` uses them instead (what matches is kept, the rest downloaded). |
diff --git a/docs/video.md b/docs/video.md
index ab3b8d3d..a0f224b6 100644
--- a/docs/video.md
+++ b/docs/video.md
@@ -59,6 +59,7 @@ The video then downloads like any other file, with its own row in the list and i
yt-dlp looks the page up and picks the quality's video and sound. MDM's own downloader then brings each of them in, one after the other, the way it downloads any file:
- **Over several connections**: as many as **Options → Connection** gives a file. The progress window's connections table shows each one, and the segment map shows the video and then its sound.
+- **A stream sent in many small pieces** (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.
- **Under your speed limits**: the **Speed Limiter**'s, the video's own (its progress window's **Speed Limiter** tab), and the limit for all downloads together. A change applies at once.
- **Paused and resumed** like a file, also after quitting MDM: it carries on from the bytes already saved.
- **When an address stops working**: a video's addresses are signed and expire after a few hours (YouTube's after six). MDM asks yt-dlp for a fresh one for the same quality and carries on from where it stopped.
@@ -70,8 +71,8 @@ YouTube serves each connection's long requests slowly, so MDM asks for the video
Some videos yt-dlp still downloads by itself, over its own connection, and the progress window says so:
- a live stream still being recorded;
-- a stream sent in many small pieces (HLS, DASH), for now;
-- a stream sent over RTMP, RTSP, MMS or FTP.
+- a stream sent over RTMP, RTSP, MMS or FTP;
+- the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.
For those, a new speed limit starts the download again with it, from where it was ([Speed limits](#speed-limits)).
diff --git a/i18n/en.tsv b/i18n/en.tsv
index 6b14d8c5..2b81655e 100644
--- a/i18n/en.tsv
+++ b/i18n/en.tsv
@@ -3969,7 +3969,7 @@
#. progress window, a video's line: MDM's own downloader can't take a live broadcast, so the helper program yt-dlp records it
yt-dlp downloads it itself: a live stream yt-dlp downloads it itself: a live stream
#. text in a download's progress window
-#. progress window, a video's line: a stream sent in many small pieces (HLS, DASH), which the helper program yt-dlp downloads itself for now
+#. progress window, a video's line: a stream sent in many small pieces of a rare kind (Adobe HDS, Smooth Streaming), which the helper program yt-dlp downloads itself
yt-dlp downloads it itself: a stream in pieces yt-dlp downloads it itself: a stream in pieces
#. text in a download's progress window
#. progress window, a video's line: the stream is copy-protected (DRM), left to the helper program yt-dlp, which refuses it
diff --git a/i18n/site/ar.json b/i18n/site/ar.json
index 89d44711..ad02744e 100644
--- a/i18n/site/ar.json
+++ b/i18n/site/ar.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "ما تفعله الصفحة"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "البث النادر الذي يأتي في قطع من أنواع أخرى (HDS من Adobe، وSmooth Streaming من Microsoft)، والبث الذي يسلم الموقع مفتاحه إلى yt-dlp مباشرة."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "نرحب بمراجعة الناطقين الأصليين للغة وتحسينهم لها."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "واجهة MDM متوفرة بـ 86 لغة: كل لغات العرض التي يوفرها Windows 11، من الأفريكانية إلى الفيتنامية، بما في ذلك كلا الخطين الصينيين، الإسبانية لـ..."
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "بث مرسل عبر RTMP أو RTSP أو MMS أو FTP؛"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "الخيارات → حفظ في →"
@@ -15210,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "تحتاج صفحات الفيديو (yt-dlp) ومعارض الصور إلى أدواتها المساعدة، والتي لا تتضمنها الصورة."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "بث مرسل عبر RTMP أو RTSP أو MMS أو FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "نزل Mister Download Manager 0.5.2، مدير التنزيلات المجاني مفتوح المصدر: مثبت Windows وملف zip المحمول، وملف .dmg لـ macOS، وملفات AppImage و.deb و.rpm لـ Linux، بالإضافة إلى إضافة المستعرض. بلا إعلانات أو برامج مجمعة."
@@ -16470,6 +16474,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "الخط السفلي لمربع النص أثناء الكتابة فيه"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "تنزيل فيديو؛ <x1/> يأخذ محدد الجودة من <x2/> (<x3/> = أفضل ملف واحد؛ <x4/> = الصوت وحده كما هو في الموقع، دون تحويل؛ <x5/>، <x6/>، <x7/> أو <x8/> = الصوت بصيغة MP3 بمعدل البت هذا، <x9/> بأفضل معدل متغير؛ <x10/> = بصيغة Opus؛ <x11/> = بصيغة FLAC، بدون فقدان ولكن ليس أفضل من صوت الموقع؛ تتطلب التحويلات ffmpeg). <x12/>: يجلب برنامج تنزيل MDM كل تدفق يعثر عليه yt-dlp عبر هذا العدد من الاتصالات (8 افتراضيا، من 1 إلى 128)، ويجلب التدفق المجزأ (HLS، DASH) بهذا العدد من القطع في وقت واحد. <x13/> يحفظ الترجمات بجانبه: رموز اللغة من <x14/> (<x15/>)، أو <x16/> لكل ترجمة قدمها الناشر؛ <x17/> يأخذ التسميات التوضيحية التلقائية للموقع بدلا من ذلك؛ <x18/> يضعها في الفيديو (يتطلب ffmpeg، MP4 أو MKV). <x19/> يرسل اتصالات التنزيلات، واتصالات yt-dlp (و ffmpeg)، عبر محول شبكة واحد، كما هو الحال لـ <x20/>؛ عندما لا يكون متصلا، لا يبدأ أي شيء."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: في <x2/>، أو استخدم <g3>MCP: إضافة خادم</g3> في لوحة الأوامر:"
@@ -16478,6 +16486,10 @@
"source": "What it colours",
"text": "ما يلونه"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>يأتي البث المرسل في قطع صغيرة كثيرة</g1> (HLS، DASH، كما ترسل معظم المواقع الأخرى غير YouTube بثها) في قطع كثيرة دفعة واحدة، ويتم حفظ كل قطعة على القرص عند وصولها، ثم تجمع بالترتيب في ملف واحد، كما يجمعها yt-dlp. يتم فك تشفير القطع المشفرة بـ AES-128 باستخدام المفتاح الذي تحدده قائمة تشغيل البث. وعند انتهاء صلاحية عناوينها، يطلب MDM من yt-dlp قائمة البث الجديدة ويستمر في تنزيل القطع المتبقية."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "على سطح مكتب GNOME في Ubuntu، مع أيقونات الملفات الخاصة بسطح المكتب."
diff --git a/i18n/site/bn.json b/i18n/site/bn.json
index 5b732fe6..344437b8 100644
--- a/i18n/site/bn.json
+++ b/i18n/site/bn.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "পৃষ্ঠাটি কী করে"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "অন্যান্য ধরনের বিরল স্ট্রিম (Adobe-এর HDS, Microsoft-এর মসৃণ স্ট্রিমিং), এবং যেগুলোর কী সাইট সরাসরি yt-dlp-কে দেয়।"
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "স্থানীয় ভাষাভাষীদের একটি ভাষা যাচাই এবং উন্নত করার জন্য সাদর আমন্ত্রণ জানানো হচ্ছে।"
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDM-এর ইন্টারফেস 86টি ভাষায় উপলব্ধ: Windows 11-এর সমস্ত ডিসপ্লে ভাষা, আফ্রিকানস থেকে ভিয়েতনামী পর্যন্ত, যার মধ্যে উভয় চীনা স্ক্রিপ্ট এবং স্প্যানিশও রয়েছে…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "RTMP, RTSP, MMS বা FTP এর মাধ্যমে পাঠানো একটি স্ট্রিম;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "বিকল্প → এতে সংরক্ষণ করুন →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "ভিডিও পেজ (yt-dlp) এবং ইমেজ গ্যালারির জন্য তাদের সহায়ক প্রয়োজন, যা ইমেজে অন্তর্ভুক্ত নয়।"
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "একটি স্ট্রিম যা RTMP, RTSP, MMS বা FTP এর মাধ্যমে পাঠানো হয়েছে।"
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Mister Download Manager 0.5.2 ডাউনলোড করুন, বিনামূল্যে, ওপেন সোর্স ডাউনলোড ম্যানেজার: Windows ইনস্টলার এবং পোর্টেবল জিপ, macOS .dmg এবং Linux AppImage, .deb এবং .rpm, এছাড়াও ব্রাউজার এক্সটেনশন। কোনো বিজ্ঞাপন নেই, কোনো বান্ডেল করা সফটওয়্যার নেই।"
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "একটি টেক্সট বক্সের নিচের লাইন যখন এটিতে টাইপ করা যায়"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "একটি ভিডিও ডাউনলোড করুন; <x1/> <x2/> থেকে একটি মানের নির্বাচক নেয় (<x3/> = সেরা একক ফাইল; <x4/> = সাইটে যেমন আছে, রূপান্তর না করে শুধু শব্দ; <x5/>, <x6/>, <x7/> অথবা <x8/> = সেই বিটরেটে MP3 হিসাবে শব্দ, <x9/> তার সেরা পরিবর্তনশীল বিটরেটে; <x10/> = Opus হিসাবে; <x11/> = FLAC হিসাবে, লসলেস কিন্তু সাইটের শব্দের চেয়ে ভালো নয়; রূপান্তরের জন্য ffmpeg প্রয়োজন)। <x12/>: MDM-এর নিজস্ব ডাউনলোডার yt-dlp যতগুলো স্ট্রিম খুঁজে পায়, সেগুলোকে এই সংখ্যক সংযোগের মাধ্যমে নিয়ে আসে (ডিফল্টরূপে 8, 1 থেকে 128), একটি স্ট্রিমকে টুকরো টুকরো করে (HLS, DASH) এই সংখ্যক টুকরো একবারে। <x13/> এর পাশে সাবটাইটেল সংরক্ষণ করে: <x14/> (<x15/>) থেকে ভাষার কোড, অথবা আপলোডার যতগুলো দিয়েছে তার সবগুলোর জন্য <x16/>; <x17/> এর পরিবর্তে সাইটের স্বয়ংক্রিয় ক্যাপশন নেয়; <x18/> সেগুলোকে ভিডিওতে রাখে (ffmpeg, MP4 অথবা MKV প্রয়োজন)। <x19/> ডাউনলোডগুলির সংযোগ, এবং yt-dlp-এর (এবং ffmpeg-এর) সংযোগগুলি একটি নেটওয়ার্ক অ্যাডাপ্টারের মাধ্যমে পাঠায়, যেমন <x20/>-এর জন্য; যখন এটি সংযুক্ত থাকে না, তখন কিছুই শুরু হয় না।"
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: <x2/>-এ, অথবা কমান্ড প্যালেটে <g3>MCP: Add Server</g3>:"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "এটি কী রঙ করে"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>অনেক ছোট ছোট অংশে পাঠানো একটি স্ট্রিম</g1> (HLS, DASH, যেমন YouTube ছাড়া বেশিরভাগ সাইট পাঠায়) একবারে অনেক অংশে আসে, প্রতিটি আসার সাথে সাথে ডিস্কে রাখা হয়, তারপর yt-dlp সেগুলোকে যেভাবে যুক্ত করে, সেভাবে একটি ফাইলে ক্রমানুসারে যুক্ত করা হয়। AES-128 দিয়ে এনক্রিপ্ট করা অংশগুলো স্ট্রিমের প্লেলিস্টে উল্লেখিত কী দিয়ে ডিক্রিপ্ট করা হয়। যখন তাদের ঠিকানাগুলোর মেয়াদ শেষ হয়ে যায়, MDM yt-dlp-কে স্ট্রিমের নতুন তালিকা চায় এবং বাকি অংশগুলো ডাউনলোড করতে থাকে।"
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Ubuntu-এর GNOME ডেস্কটপে, ডেস্কটপের নিজস্ব ফাইল আইকন সহ।"
diff --git a/i18n/site/de.json b/i18n/site/de.json
index 4992ae21..5511d8da 100644
--- a/i18n/site/de.json
+++ b/i18n/site/de.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Was die Seite tut"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "die seltenen Streams in Teilen anderer Art (Adobes HDS, Microsofts Smooth Streaming) und solche, deren Schlüssel die Website yt-dlp direkt übergibt."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Muttersprachlerinnen und Muttersprachler sind herzlich eingeladen, eine Sprache zu überprüfen und zu verbessern."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Die MDM-Benutzeroberfläche ist in 86 Sprachen verfügbar: alle Anzeigesprachen, die Windows 11 bietet, von Afrikaans bis Vietnamesisch, einschließlich beider chinesischer Schriftzeichen, Spanisch für…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "ein Stream, der über RTMP, RTSP, MMS oder FTP gesendet wird;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Optionen → Speichern unter →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Videoseiten (yt-dlp) und Bildergalerien benötigen ihre Helfer, die das Image nicht enthält."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "ein Stream, der über RTMP, RTSP, MMS oder FTP gesendet wird."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Laden Sie Mister Download Manager 0.5.2 herunter, den kostenlosen Open-Source-Download-Manager: Windows-Installer und portable Zip-Datei, macOS .dmg und Linux AppImage, .deb und .rpm, plus die Browser-Erweiterung. Keine Werbung, keine gebündelte Software."
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Die untere Linie eines Textfelds, während es bearbeitet werden kann"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Ein Video herunterladen; <x1/> wählt eine Qualitätskennung von <x2/> (<x3/> = die beste einzelne Datei; <x4/> = nur der Ton, wie er auf der Website vorliegt, nicht konvertiert; <x5/>, <x6/>, <x7/> oder <x8/> = der Ton als MP3 mit der angegebenen Bitrate, <x9/> mit der besten variablen Bitrate; <x10/> = als Opus; <x11/> = als FLAC, verlustfrei, aber nicht besser als der Ton der Website; Konvertierungen erfordern ffmpeg). <x12/>: Der MDM-eigene Downloader lädt jeden von yt-dlp gefundenen Stream über diese Anzahl von Verbindungen herunter (standardmäßig 8, 1 bis 128), einen Stream in Teilen (HLS, DASH) mit dieser Anzahl von Teilen gleichzeitig. <x13/> speichert Untertitel daneben: Sprachcodes von <x14/> (<x15/>), oder <x16/> für alle vom Uploader bereitgestellten; <x17/> verwendet stattdessen die automatischen Untertitel der Website; <x18/> fügt sie in das Video ein (erfordert ffmpeg, MP4 oder MKV). <x19/> leitet die Download-Verbindungen sowie die von yt-dlp (und ffmpeg) über einen Netzwerkadapter, wie für <x20/>; wenn dieser nicht verbunden ist, startet nichts."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: in <x2/>, oder <g3>MCP: Server hinzufügen</g3> in der Befehlspalette:"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "Was es färbt"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Ein Stream, der in vielen kleinen Teilen gesendet wird</g1> (HLS, DASH, wie die meisten Websites außer YouTube ihre Streams senden), wird in ebenso vielen Teilen gleichzeitig heruntergeladen. Jeder Teil wird bei Ankunft auf der Festplatte gespeichert und dann der Reihe nach zu einer Datei zusammengefügt, so wie yt-dlp sie zusammenfügt. Mit AES-128 verschlüsselte Teile werden mit dem Schlüssel entschlüsselt, den die Playlist des Streams angibt. Wenn ihre Adressen ablaufen, fragt MDM yt-dlp nach der neuen Stream-Liste und fährt mit den noch fehlenden Teilen fort."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Auf Ubuntus GNOME-Desktop, mit den eigenen Dateisymbolen des Desktops."
diff --git a/i18n/site/es.json b/i18n/site/es.json
index b0f4246a..54200c91 100644
--- a/i18n/site/es.json
+++ b/i18n/site/es.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Qué hace la página"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "las raras transmisiones en piezas de otros tipos (HDS de Adobe, Smooth Streaming de Microsoft) y una cuya clave el sitio le entrega directamente a yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Se agradece mucho que los hablantes nativos revisen y mejoren las traducciones."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "La interfaz de MDM está disponible en 86 idiomas: todos los idiomas de visualización que ofrece Windows 11, desde el afrikáans hasta el vietnamita, incluyendo ambos alfabetos chinos, español para…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "una transmisión enviada por RTMP, RTSP, MMS o FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opciones → Guardar en →"
@@ -15210,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Las páginas de vídeo (yt-dlp) y las galerías de imágenes necesitan sus asistentes, que la imagen no incluye."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "una transmisión enviada por RTMP, RTSP, MMS o FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Descarga Mister Download Manager 0.5.2, el gestor de descargas gratuito y de código abierto: instalador y zip portable para Windows, .dmg para macOS y AppImage, .deb y .rpm para Linux, además de la extensión para navegador. Sin anuncios ni software incluido."
@@ -16466,6 +16470,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "La línea inferior de un cuadro de texto mientras se puede escribir en él"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Descargar un vídeo; <x1/> toma un selector de calidad de <x2/> (<x3/> = el mejor archivo único; <x4/> = solo el sonido tal como lo tiene el sitio, sin convertir; <x5/>, <x6/>, <x7/> o <x8/> = el sonido como MP3 a esa tasa de bits, <x9/> a su mejor tasa variable; <x10/> = como Opus; <x11/> = como FLAC, sin pérdidas, pero no mejor que el sonido del sitio; las conversiones necesitan ffmpeg). <x12/>: el propio descargador de MDM trae cada flujo que encuentra yt-dlp a través de esta cantidad de conexiones (8 por defecto, de 1 a 128), un flujo en fragmentos (HLS, DASH) esta cantidad de fragmentos a la vez. <x13/> guarda los subtítulos junto a él: códigos de idioma de <x14/> (<x15/>), o <x16/> para cada uno que el cargador proporcionó; <x17/> toma los subtítulos automáticos del sitio en su lugar; <x18/> los incrusta en el vídeo (necesita ffmpeg, MP4 o MKV). <x19/> envía las conexiones de las descargas, y las de yt-dlp (y ffmpeg), a través de un adaptador de red, como para <x20/>; cuando no está conectado, no se inicia nada."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: en <x2/>, o <g3>MCP: Añadir servidor</g3> en la paleta de comandos:"
@@ -16474,6 +16482,10 @@
"source": "What it colours",
"text": "Qué colorea"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Una transmisión enviada en muchas piezas pequeñas</g1> (HLS, DASH, como la mayoría de los sitios que no son YouTube envían las suyas) se descarga en tantas piezas a la vez, cada una se guarda en el disco a medida que llega y luego se unen en orden en un solo archivo, como las une yt-dlp. Las piezas cifradas con AES-128 se descifran con la clave que nombra la lista de reproducción de la transmisión. Cuando sus direcciones caducan, MDM le pide a yt-dlp la nueva lista de la transmisión y continúa con las piezas que aún faltan."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "En el escritorio GNOME de Ubuntu, con los iconos de archivo propios del escritorio."
diff --git a/i18n/site/fa.json b/i18n/site/fa.json
index 3a39e852..d8bf0b53 100644
--- a/i18n/site/fa.json
+++ b/i18n/site/fa.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "عملکرد صفحه"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "جریان‌های نادر در قطعاتی از انواع دیگر (HDS ادوبی، Smooth Streaming مایکروسافت) و جریانی که کلید آن را سایت مستقیما به yt-dlp می‌دهد."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "گویشوران بومی می‌توانند زبان‌ها را بررسی و اصلاح کنند؛ از همکاری‌شان استقبال می‌شود."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "رابط کاربری MDM به 86 زبان ارائه می‌شود: تمام زبان‌های نمایشی که Windows 11 ارائه می‌دهد، از آفریکانس تا ویتنامی، شامل هر دو خط چینی، اسپانیایی برای…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "جریانی که از طریق RTMP، RTSP، MMS یا FTP ارسال می‌شود؛"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "گزینه‌ها → ذخیره در →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "صفحات ویدئو (yt-dlp) و گالری‌های تصویر به کمک‌کننده‌های خود نیاز دارند که تصویر شامل آن‌ها نمی‌شود."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "یک پخش که از طریق RTMP، RTSP، MMS یا FTP ارسال می‌شود."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Mister Download Manager 0.5.2، مدیر بارگیری رایگان و متن‌باز را بارگیری کنید: نصب‌کننده Windows و فایل فشرده قابل حمل، فایل .dmg برای macOS و AppImage، .deb و .rpm برای Linux، به علاوه افزونه مرورگر. بدون تبلیغات، بدون نرم‌افزار اضافی."
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "خط پایینی جعبه متن در حالت تایپ"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "بارگیری یک ویدئو؛ <x1/> یک انتخاب‌گر کیفیت را از <x2/> می‌گیرد (<x3/> = بهترین فایل تکی؛ <x4/> = فقط صدا همان‌طور که سایت دارد، بدون تبدیل؛ <x5/>، <x6/>، <x7/> یا <x8/> = صدا به صورت MP3 با آن نرخ بیت، <x9/> با بهترین نرخ بیت متغیر؛ <x10/> = به صورت Opus؛ <x11/> = به صورت FLAC، بدون افت کیفیت اما نه بهتر از صدای سایت؛ تبدیل‌ها به ffmpeg نیاز دارند). <x12/>: بارگیر خود MDM هر جریان را که yt-dlp پیدا می‌کند، با این تعداد اتصال (8 به صورت پیش‌فرض، 1 تا 128) و یک جریان را به صورت قطعات (HLS, DASH) با این تعداد قطعه همزمان بارگیری می‌کند. <x13/> زیرنویس‌ها را در کنار آن ذخیره می‌کند: کدهای زبان از <x14/> (<x15/>)، یا <x16/> برای هر زیرنویسی که آپلودکننده ارائه کرده است؛ <x17/> به جای آن زیرنویس‌های خودکار سایت را می‌گیرد؛ <x18/> آن‌ها را در ویدئو قرار می‌دهد (به ffmpeg، MP4 یا MKV نیاز دارد). <x19/> اتصالات بارگیری‌ها و yt-dlp (و ffmpeg) را از طریق یک آداپتور شبکه ارسال می‌کند، مانند <x20/>؛ وقتی متصل نباشد، هیچ چیز شروع نمی‌شود."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: در <x2/> یا با انتخاب <g3>MCP: افزودن سرور</g3> از پالت فرمان:"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "چه چیزی را رنگ می‌کند"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>جریانی که در قطعات کوچک زیادی ارسال می‌شود</g1> (HLS, DASH، همان‌طور که بیشتر سایت‌ها به جز YouTube ارسال می‌کنند) به همان تعداد قطعه هم‌زمان بارگیری می‌شود. هر قطعه پس از رسیدن روی دیسک ذخیره می‌شود، سپس به ترتیب در یک فایل واحد ادغام می‌شود، همان‌طور که yt-dlp آن‌ها را ادغام می‌کند. قطعات رمزگذاری‌شده با AES-128 با کلیدی که فهرست پخش جریان مشخص می‌کند، رمزگشایی می‌شوند. هنگامی که آدرس‌های آن‌ها منقضی می‌شوند، MDM از yt-dlp فهرست جدید جریان را درخواست می‌کند و بارگیری قطعات باقی‌مانده را ادامه می‌دهد."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "روی دسکتاپ گنوم اوبونتو، با نمادهای فایل خود دسکتاپ."
diff --git a/i18n/site/fr.json b/i18n/site/fr.json
index c645f159..e5c38245 100644
--- a/i18n/site/fr.json
+++ b/i18n/site/fr.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Ce que fait la page"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "les rares flux en fragments d'autres types (HDS d'Adobe, Smooth Streaming de Microsoft), et ceux dont la clé est directement fournie à yt-dlp par le site."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Les locuteurs natifs sont les bienvenus pour vérifier et améliorer une langue."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "L'interface de MDM est disponible en 86 langues : toutes les langues d'affichage proposées par Windows 11, de l'afrikaans au vietnamien, y compris les deux écritures chinoises, l'espagnol pour…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "un flux envoyé via RTMP, RTSP, MMS ou FTP ;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Options → Enregistrer dans →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Les pages vidéo (yt-dlp) et les galeries d'images nécessitent leurs assistants, que l'image n'inclut pas."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "un flux envoyé via RTMP, RTSP, MMS ou FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Téléchargez Mister Download Manager 0.5.2, le gestionnaire de téléchargement gratuit et open source : installateur Windows et zip portable, .dmg pour macOS et AppImage, .deb et .rpm pour Linux, ainsi que l'extension de navigateur. Sans publicité, sans logiciel groupé."
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "La ligne inférieure d'une zone de texte lorsqu'elle est modifiable"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Télécharger une vidéo ; <x1/> prend un sélecteur de qualité de <x2/> (<x3/> = le meilleur fichier unique ; <x4/> = le son seul tel que le site le propose, sans conversion ; <x5/>, <x6/>, <x7/> ou <x8/> = le son en MP3 à ce débit, <x9/> à son meilleur débit variable ; <x10/> = en Opus ; <x11/> = en FLAC, sans perte mais pas meilleur que le son du site ; les conversions nécessitent ffmpeg). <x12/> : le propre téléchargeur de MDM apporte chaque flux trouvé par yt-dlp via ce nombre de connexions (8 par défaut, 1 à 128), un flux en morceaux (HLS, DASH) ce nombre de morceaux à la fois. <x13/> enregistre les sous-titres à côté : codes de langue de <x14/> (<x15/>), ou <x16/> pour tous ceux fournis par l’auteur ; <x17/> prend les sous-titres automatiques du site à la place ; <x18/> les intègre à la vidéo (nécessite ffmpeg, MP4 ou MKV). <x19/> envoie les connexions des téléchargements, et celles de yt-dlp (et ffmpeg), via une carte réseau, comme pour <x20/> ; si elle n’est pas connectée, rien ne démarre."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1> : dans <x2/>, ou <g3>MCP : Ajouter un serveur</g3> dans la palette de commandes :"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "Ce qu'elle colore"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Un flux envoyé en de nombreux petits fragments</g1> (HLS, DASH, comme la plupart des sites autres que YouTube envoient les leurs) est téléchargé en autant de fragments à la fois, chacun étant conservé sur le disque dès son arrivée, puis assemblé dans l'ordre en un seul fichier, comme yt-dlp les assemble. Les fragments chiffrés avec AES-128 sont déchiffrés avec la clé nommée dans la liste de lecture du flux. Lorsque leurs adresses expirent, MDM demande à yt-dlp la nouvelle liste du flux et continue avec les fragments manquants."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Sur le bureau GNOME d'Ubuntu, avec les icônes de fichiers propres au bureau."
diff --git a/i18n/site/hi.json b/i18n/site/hi.json
index 639084c3..88a49889 100644
--- a/i18n/site/hi.json
+++ b/i18n/site/hi.json
@@ -1038,6 +1038,10 @@
"source": "A minimized MDM keeps running its queues and Scheduler.",
"text": "एक छोटा किया गया MDM अपनी कतारें और शेड्यूलर चलाता रहता है।"
},
+ "10cc202f7a0cd1f1": {
+ "source": "<g1>Control styles.</g1> <x2/> names each control's shape (text boxes, check boxes, buttons, progress bars, scroll bars, the focus mark, the title bar); the style themes (Metro, Adwaita, Breeze, Luna, Aero, Aqua, Emerald) pick theirs, and on Windows MDM then draws the title bar itself (the <x3/> roles).",
+ "text": "<g1>नियंत्रण शैलियाँ।</g1> <x2/> प्रत्येक नियंत्रण के आकार (टेक्स्ट बॉक्स, चेक बॉक्स, बटन, प्रगति बार, स्क्रॉल बार, फोकस मार्क, शीर्षक बार) का नाम देता है; शैली थीम (Metro, Adwaita, Breeze, Luna, Aero, Aqua, Emerald) अपनी पसंद चुनते हैं, और Windows पर MDM फिर शीर्षक बार को स्वयं खींचता है (<x3/> भूमिकाएँ)।"
+ },
"10cc758c6a4201c4": {
"source": "In the app",
"text": "ऐप में"
@@ -2626,6 +2630,10 @@
"source": "What the page does",
"text": "पेज क्या करता है"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "अन्य प्रकार के भागों में दुर्लभ स्ट्रीम (Adobe का HDS, Microsoft का स्मूथ स्ट्रीमिंग), और एक जिसकी कुंजी साइट सीधे yt-dlp को देती है।"
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "मूल वक्ताओं का किसी भाषा की जाँच और सुधार करने के लिए बहुत स्वागत है।"
@@ -8538,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDM का इंटरफ़ेस 86 भाषाओं में आता है: Windows 11 द्वारा प्रदान की जाने वाली हर डिस्प्ले भाषा, अफ्रीकी से वियतनामी तक, जिसमें दोनों चीनी लिपियाँ, स्पेनिश शामिल हैं…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "RTMP, RTSP, MMS या FTP पर भेजी गई स्ट्रीम;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "विकल्प → इसमें सहेजें →"
@@ -12590,6 +12602,10 @@
"source": "Your browsers hand it their downloads, and proven open-source tools do the specialist work. <g1>Set up the extension</g1>.",
"text": "आपके ब्राउज़र इसे अपने डाउनलोड देते हैं, और सिद्ध ओपन-सोर्स टूल विशेषज्ञ का काम करते हैं। <g1>एक्सटेंशन सेट करें</g1>।"
},
+ "bfccf2cc495dc164": {
+ "source": "One egui window painted to fixed pixel coordinates, plus one immediate viewport per dialog. <x1/> holds the state (downloads, queues, settings, the list's selection) and turns menu, toolbar, key and IPC commands into actions. Each dialog is its own module and returns an <x2/> (open, closed, done with a value). Windows-only calls are confined to <x3/> and their Linux and macOS counterparts to <x4/> (starting with the session, the browsers' host, sounds, show in folder, the crash handler); every other file is safe, portable Rust. Fonts come from the system: Windows' Fonts folder, macOS's system fonts, fontconfig on Linux (<x5/>). On Windows, Latin, Greek and Cyrillic text is drawn by DirectWrite (<x6/>, through egui's glyph rasterizer hook): View → Text → Smooth in its natural mode, anti-aliased at the size asked for and placed at quarter pixels with the font's own advances; Classic (the default) in GDI-classic mode, so each letter's hinted shape and whole-pixel width come together. Other scripts are shaped and drawn by egui.",
+ "text": "एक egui विंडो को निश्चित पिक्सेल निर्देशांक पर पेंट किया जाता है, साथ ही प्रति संवाद एक तत्काल व्यूपोर्ट भी होता है। <x1/> स्थिति (डाउनलोड, कतारें, सेटिंग्स, सूची का चयन) को रखता है और मेनू, टूलबार, कुंजी और IPC कमांड को क्रियाओं में बदलता है। प्रत्येक संवाद अपना मॉड्यूल होता है और एक <x2/> (खुला, बंद, एक मान के साथ पूरा) लौटाता है। केवल Windows के लिए कॉल <x3/> तक सीमित हैं और उनके Linux और macOS समकक्ष <x4/> तक सीमित हैं (सत्र के साथ शुरू करना, ब्राउज़र का होस्ट, ध्वनियाँ, फ़ोल्डर में दिखाना, क्रैश हैंडलर); हर दूसरी फ़ाइल सुरक्षित, पोर्टेबल Rust है। फ़ॉन्ट सिस्टम से आते हैं: Windows का फ़ॉन्ट फ़ोल्डर, macOS के सिस्टम फ़ॉन्ट, Linux पर fontconfig (<x5/>)। Windows पर, लैटिन, ग्रीक और सिरिलिक टेक्स्ट DirectWrite (<x6/>, egui के ग्लिफ़ रास्टराइज़र हुक के माध्यम से) द्वारा खींचा जाता है: View → Text → Smooth अपने प्राकृतिक मोड में, मांगे गए आकार पर एंटी-एलियास किया गया और फ़ॉन्ट के अपने अग्रिमों के साथ क्वार्टर पिक्सेल पर रखा गया; Classic (डिफ़ॉल्ट) GDI-क्लासिक मोड में, ताकि प्रत्येक अक्षर का संकेतित आकार और पूरे-पिक्सेल की चौड़ाई एक साथ आए। अन्य स्क्रिप्ट egui द्वारा आकारित और खींची जाती हैं।"
+ },
"bfcf797517e5c279": {
"source": "MDM remembers the columns, their widths and the sort order.",
"text": "MDM कॉलम, उनकी चौड़ाई और सॉर्ट क्रम को याद रखता है।"
@@ -15206,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "वीडियो पेज (yt-dlp) और इमेज गैलरी को अपने सहायकों की ज़रूरत होती है, जो इमेज में शामिल नहीं हैं।"
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "एक स्ट्रीम RTMP, RTSP, MMS या FTP पर भेजी गई।"
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Mister Download Manager 0.5.2 डाउनलोड करें, मुफ़्त, ओपन-सोर्स डाउनलोड मैनेजर: Windows इंस्टॉलर और पोर्टेबल ज़िप, macOS .dmg और Linux AppImage, .deb और .rpm, साथ ही ब्राउज़र एक्सटेंशन। कोई विज्ञापन नहीं, कोई बंडल सॉफ़्टवेयर नहीं।"
@@ -16466,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "एक टेक्स्ट बॉक्स की निचली रेखा जब उसमें टाइप किया जा सकता हो"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "एक वीडियो डाउनलोड करें; <x1/> <x2/> से गुणवत्ता चयनकर्ता लेता है (<x3/> = सबसे अच्छी एकल फ़ाइल; <x4/> = साइट पर उपलब्ध ध्वनि, परिवर्तित नहीं; <x5/>, <x6/>, <x7/> या <x8/> = उस बिटरेट पर MP3 के रूप में ध्वनि, <x9/> अपनी सर्वोत्तम परिवर्तनीय गुणवत्ता पर; <x10/> = Opus के रूप में; <x11/> = FLAC के रूप में, दोषरहित लेकिन साइट की ध्वनि से बेहतर नहीं; रूपांतरणों के लिए ffmpeg की आवश्यकता होती है)। <x12/>: MDM का अपना डाउनलोडर yt-dlp द्वारा पाए गए प्रत्येक स्ट्रीम को इतने कनेक्शनों (डिफ़ॉल्ट रूप से 8, 1 से 128 तक) पर लाता है, एक स्ट्रीम को टुकड़ों में (HLS, DASH) एक साथ इतने टुकड़ों में। <x13/> इसके साथ उपशीर्षक सहेजता है: <x14/> (<x15/>) से भाषा कोड, या अपलोडर द्वारा दिए गए प्रत्येक के लिए <x16/>; <x17/> इसके बजाय साइट के स्वचालित कैप्शन लेता है; <x18/> उन्हें वीडियो में डालता है (ffmpeg, MP4 या MKV की आवश्यकता होती है)। <x19/> डाउनलोड के कनेक्शन, और yt-dlp के (और ffmpeg के), एक नेटवर्क एडाप्टर के माध्यम से भेजता है, जैसे <x20/> के लिए; जब यह कनेक्ट नहीं होता है, तो कुछ भी शुरू नहीं होता है।"
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: <x2/> में, या कमांड पैलेट में <g3>MCP: सर्वर जोड़ें</g3>:"
@@ -16474,6 +16490,10 @@
"source": "What it colours",
"text": "यह क्या रंगता है"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>एक स्ट्रीम जो कई छोटे भागों में भेजी जाती है</g1> (HLS, DASH, जैसा कि YouTube के अलावा अधिकांश साइटें भेजती हैं) उतने ही भागों में एक साथ डाउनलोड होती है, प्रत्येक भाग आते ही डिस्क पर रखा जाता है, फिर yt-dlp की तरह एक फ़ाइल में क्रम से जोड़ा जाता है। AES-128 से एन्क्रिप्ट किए गए भागों को स्ट्रीम की प्लेलिस्ट में दिए गए कुंजी से डिक्रिप्ट किया जाता है। जब उनके पते समाप्त हो जाते हैं, तो MDM yt-dlp से स्ट्रीम की नई सूची मांगता है और अभी भी गायब भागों के साथ जारी रखता है।"
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Ubuntu के GNOME डेस्कटॉप पर, डेस्कटॉप के अपने फ़ाइल आइकनों के साथ।"
diff --git a/i18n/site/id.json b/i18n/site/id.json
index d6a4e3fb..17e6e5f2 100644
--- a/i18n/site/id.json
+++ b/i18n/site/id.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Fungsi halaman"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "aliran langka dalam potongan jenis lain (HDS Adobe, Smooth Streaming Microsoft), dan aliran yang kuncinya langsung diberikan situs kepada yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Penutur asli sangat dipersilakan untuk memeriksa dan menyempurnakan terjemahan suatu bahasa."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Antarmuka MDM tersedia dalam 86 bahasa: semua bahasa tampilan yang ditawarkan Windows 11, dari Afrikaans hingga Vietnam, termasuk kedua aksara Tionghoa, Spanyol untuk…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "aliran yang dikirim melalui RTMP, RTSP, MMS, atau FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opsi → Simpan ke →"
@@ -15206,10 +15214,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Halaman video (yt-dlp) dan galeri gambar membutuhkan pembantu mereka, yang tidak disertakan dalam citra."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "aliran yang dikirim melalui RTMP, RTSP, MMS, atau FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Unduh Mister Download Manager 0.5.2, pengelola unduhan gratis dan sumber terbuka: installer Windows dan zip portabel, .dmg macOS, serta AppImage, .deb, dan .rpm Linux, ditambah ekstensi peramban. Tanpa iklan, tanpa perangkat lunak bundling."
@@ -16466,6 +16470,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Garis bawah kotak teks saat dapat diketik"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Mengunduh video; <x1/> mengambil pemilih kualitas dari <x2/> (<x3/> = file tunggal terbaik; <x4/> = audio saja seperti yang ada di situs, tidak dikonversi; <x5/>, <x6/>, <x7/> atau <x8/> = audio sebagai MP3 pada bitrate tersebut, <x9/> pada bitrate variabel terbaiknya; <x10/> = sebagai Opus; <x11/> = sebagai FLAC, lossless tetapi tidak lebih baik dari audio situs; konversi memerlukan ffmpeg). <x12/>: pengunduh MDM sendiri membawa setiap stream yang ditemukan yt-dlp melalui koneksi sebanyak ini (8 secara default, 1 hingga 128), sebuah stream dalam potongan (HLS, DASH) sebanyak ini sekaligus. <x13/> menyimpan subtitle di sampingnya: kode bahasa dari <x14/> (<x15/>), atau <x16/> untuk setiap subtitle yang diberikan pengunggah; <x17/> mengambil teks otomatis situs sebagai gantinya; <x18/> memasukkannya ke dalam video (memerlukan ffmpeg, MP4 atau MKV). <x19/> mengirimkan koneksi unduhan, dan koneksi yt-dlp (dan ffmpeg), melalui satu adaptor jaringan, seperti untuk <x20/>; ketika tidak terhubung, tidak ada yang dimulai."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: di <x2/>, atau <g3>MCP: Tambahkan Server</g3> di palet perintah:"
@@ -16474,6 +16482,10 @@
"source": "What it colours",
"text": "Apa yang diwarnai"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Aliran yang dikirim dalam banyak potongan kecil</g1> (HLS, DASH, seperti yang dikirimkan sebagian besar situs selain YouTube) akan diunduh dalam banyak potongan sekaligus, masing-masing disimpan di disk saat tiba, lalu digabungkan secara berurutan menjadi satu file, seperti yt-dlp menggabungkannya. Potongan yang dienkripsi dengan AES-128 didekripsi dengan kunci yang disebutkan dalam daftar putar aliran. Ketika alamatnya kedaluwarsa, MDM meminta daftar baru aliran dari yt-dlp dan melanjutkan dengan potongan yang masih hilang."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Di desktop GNOME Ubuntu, dengan ikon file desktop sendiri."
diff --git a/i18n/site/it.json b/i18n/site/it.json
index 29a6d139..9d671995 100644
--- a/i18n/site/it.json
+++ b/i18n/site/it.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Cosa fa la pagina"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "i rari flussi in parti di altri tipi (HDS di Adobe, Smooth Streaming di Microsoft) e quelli la cui chiave il sito fornisce direttamente a yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "I madrelingua sono invitati a verificare e migliorare le traduzioni."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "L'interfaccia di MDM è disponibile in 86 lingue: tutte le lingue di visualizzazione offerte da Windows 11, dall'afrikaans al vietnamita, comprese entrambe le scritture del cinese, lo spagnolo per…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "un flusso inviato tramite RTMP, RTSP, MMS o FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opzioni → Salva in →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Le pagine video (yt-dlp) e le gallerie di immagini richiedono i loro programmi di supporto, che l'immagine non include."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "uno stream inviato tramite RTMP, RTSP, MMS o FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Scarica Mister Download Manager 0.5.2, il gestore di download gratuito e open source: installer e zip portatile per Windows, .dmg per macOS e AppImage, .deb e .rpm per Linux, più l'estensione per il browser. Nessuna pubblicità, nessun software in bundle."
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "La linea inferiore di una casella di testo quando è possibile scriverci"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Scarica un video; <x1/> prende un selettore di qualità da <x2/> (<x3/> = il miglior file singolo; <x4/> = solo l'audio come fornito dal sito, non convertito; <x5/>, <x6/>, <x7/> o <x8/> = l'audio come MP3 a quel bitrate, <x9/> al suo miglior bitrate variabile; <x10/> = come Opus; <x11/> = come FLAC, senza perdita ma non migliore dell'audio del sito; le conversioni richiedono ffmpeg). <x12/>: il downloader di MDM scarica ogni stream trovato da yt-dlp usando questo numero di connessioni (8 per impostazione predefinita, da 1 a 128), e uno stream in pezzi (HLS, DASH) con questo numero di pezzi alla volta. <x13/> salva i sottotitoli accanto al video: codici lingua da <x14/> (<x15/>), o <x16/> per tutti quelli forniti dall'uploader; <x17/> prende invece i sottotitoli automatici del sito; <x18/> li inserisce nel video (richiede ffmpeg, MP4 o MKV). <x19/> invia le connessioni dei download, e quelle di yt-dlp (e ffmpeg), attraverso una scheda di rete, come per <x20/>; quando non è connessa, nulla si avvia."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: in <x2/>, oppure <g3>MCP: Aggiungi server</g3> nel riquadro comandi:"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "Cosa colora"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Un flusso inviato in molte piccole parti</g1> (HLS, DASH, come la maggior parte dei siti diversi da YouTube invia i suoi) viene scaricato in altrettante parti contemporaneamente, ciascuna salvata su disco appena arriva, poi unita in ordine in un unico file, come yt-dlp le unisce. Le parti crittografate con AES-128 vengono decrittografate con la chiave indicata dalla playlist del flusso. Quando i loro indirizzi scadono, MDM chiede a yt-dlp il nuovo elenco del flusso e continua con le parti ancora mancanti."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Sul desktop GNOME di Ubuntu, con le icone dei file del desktop."
diff --git a/i18n/site/ja.json b/i18n/site/ja.json
index 6b7edf62..f3dc2e0e 100644
--- a/i18n/site/ja.json
+++ b/i18n/site/ja.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "ページでできること"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "他の種類のピース (Adobe の HDS、Microsoft の Smooth Streaming) で構成される珍しいストリーム、およびサイトが yt-dlp に直接キーを渡すストリーム。"
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "ネイティブスピーカーによる言語の確認と改善にご協力ください。"
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDMのインターフェースは86言語に対応しています。Windows 11が提供する表示言語すべて、アフリカーンス語からベトナム語まで、中国語の2つの表記、スペイン語などを含みます。"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "RTMP、RTSP、MMS、または FTP 経由で送信されるストリーム。"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "オプション → 保存先 →"
@@ -15202,10 +15210,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "ビデオページ(yt-dlp)や画像ギャラリーにはヘルパーが必要ですが、イメージには含まれていません。"
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "RTMP、RTSP、MMS、または FTP 経由で送信されるストリーム。"
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "無料のオープンソース ダウンロード マネージャー、Mister Download Manager 0.5.2 をダウンロード: Windows インストーラーとポータブル zip、macOS .dmg、Linux AppImage、.deb、.rpm、さらにブラウザー拡張機能。広告なし、バンドル ソフトウェアなし。"
@@ -16462,6 +16466,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "入力可能なテキスト ボックスの下線"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "動画をダウンロードします。<x1/> は <x2/> から品質セレクターを取得します (<x3/> = 最高の単一ファイル; <x4/> = サイトにあるままの音声、変換なし; <x5/>、<x6/>、<x7/>、<x8/> = そのビットレートの MP3 形式の音声、<x9/> は最高の可変ビットレート; <x10/> = Opus 形式; <x11/> = FLAC 形式、ロスレスですがサイトの音声より良くはありません; 変換には ffmpeg が必要です)。<x12/>: MDM 独自のダウンローダーは、yt-dlp が見つけた各ストリームをこの数の接続 (デフォルトは 8、1 から 128) で取得し、ストリームを一度にこの数のピース (HLS、DASH) で取得します。<x13/> は字幕をその横に保存します: <x14/> (<x15/>) からの言語コード、またはアップローダーが提供したすべての字幕には <x16/> を指定します。<x17/> は代わりにサイトの自動キャプションを取得します。<x18/> はそれらを動画に埋め込みます (ffmpeg、MP4 または MKV が必要です)。<x19/> は、ダウンロードの接続と yt-dlp (および ffmpeg) の接続を、<x20/> のように 1 つのネットワーク アダプター経由で送信します。接続されていない場合、何も開始されません。"
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: <x2/>で設定するか、コマンドパレットで<g3>MCP: サーバーを追加</g3>を実行します。"
@@ -16470,6 +16478,10 @@
"source": "What it colours",
"text": "色付けの対象"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>多数の小さなピースに分割されて送信されるストリーム</g1> (YouTube 以外のほとんどのサイトが使用する HLS、DASH) は、一度に多数のピースとしてダウンロードされ、到着した順にディスクに保存された後、yt-dlp が結合するように 1 つのファイルに結合されます。AES-128 で暗号化されたピースは、ストリームのプレイリストに指定されたキーで復号されます。アドレスの有効期限が切れると、MDM は yt-dlp にストリームの新しいリストを要求し、不足しているピースのダウンロードを続行します。"
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Ubuntu の GNOME デスクトップで、デスクトップ独自のファイル アイコンを使用。"
diff --git a/i18n/site/ko.json b/i18n/site/ko.json
index 0a15411a..b2fd1507 100644
--- a/i18n/site/ko.json
+++ b/i18n/site/ko.json
@@ -2626,6 +2626,10 @@
"source": "What the page does",
"text": "페이지 기능"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "다른 종류의 조각으로 된 드문 스트림(Adobe의 HDS, Microsoft의 Smooth Streaming)과 사이트가 yt-dlp에 직접 키를 전달하는 스트림."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "원어민이 언어를 검토하고 개선하는 것을 환영합니다."
@@ -8534,6 +8538,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDM 인터페이스는 86개 언어로 제공됩니다. 아프리칸스어부터 베트남어까지, 두 가지 중국어 스크립트와 스페인어를 포함하여 Windows 11이 제공하는 모든 표시 언어를 지원합니다."
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "RTMP, RTSP, MMS 또는 FTP로 전송되는 스트림;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "옵션 → 저장 위치 →"
@@ -15206,10 +15214,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "비디오 페이지(yt-dlp) 및 이미지 갤러리는 도우미가 필요하며, 이미지에는 포함되어 있지 않습니다."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "RTMP, RTSP, MMS 또는 FTP를 통해 전송되는 스트림."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "무료 오픈 소스 다운로드 관리자인 Mister Download Manager 0.5.2를 다운로드하세요. Windows 설치 프로그램 및 휴대용 zip, macOS .dmg 및 Linux AppImage, .deb 및 .rpm, 그리고 브라우저 확장 프로그램이 있습니다. 광고나 번들 소프트웨어는 없습니다."
@@ -16466,6 +16470,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "입력 가능한 텍스트 상자 하단 선"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "동영상 다운로드; <x1/>는 <x2/>에서 품질 선택자를 가져옵니다 (<x3/> = 가장 좋은 단일 파일; <x4/> = 사이트에 있는 그대로의 사운드, 변환 없음; <x5/>, <x6/>, <x7/> 또는 <x8/> = 해당 비트레이트의 MP3 사운드, <x9/>는 가장 좋은 가변 비트레이트; <x10/> = Opus; <x11/> = FLAC, 무손실이지만 사이트 사운드보다 좋지는 않음; 변환에는 ffmpeg 필요). <x12/>: MDM 자체 다운로더는 yt-dlp가 찾은 각 스트림을 이 연결 수(기본값 8, 1~128)로 가져오며, 스트림 조각(HLS, DASH)은 이 개수만큼 동시에 가져옵니다. <x13/>는 자막을 함께 저장합니다: <x14/>(<x15/>)의 언어 코드 또는 업로더가 제공한 모든 자막에 대해 <x16/>; <x17/>는 대신 사이트의 자동 캡션을 가져옵니다; <x18/>는 자막을 동영상에 넣습니다 (ffmpeg, MP4 또는 MKV 필요). <x19/>는 <x20/>와 같이 다운로드 연결과 yt-dlp(및 ffmpeg) 연결을 하나의 네트워크 어댑터를 통해 보냅니다; 연결되지 않으면 아무것도 시작되지 않습니다."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: <x2/>에서 또는 명령 팔레트에서 <g3>MCP: 서버 추가</g3>:"
@@ -16474,6 +16482,10 @@
"source": "What it colours",
"text": "색상이 적용되는 곳"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>여러 개의 작은 조각으로 전송되는 스트림</g1>(대부분의 YouTube 외 사이트에서 사용하는 HLS, DASH 등)은 여러 조각이 동시에 다운로드되며, 각 조각은 도착하는 대로 디스크에 저장된 후 yt-dlp가 조각들을 합치듯이 하나의 파일로 순서대로 합쳐집니다. AES-128로 암호화된 조각은 스트림의 재생 목록에 명시된 키로 해독됩니다. 조각의 주소가 만료되면 MDM은 yt-dlp에 스트림의 새 목록을 요청하고 누락된 조각들을 계속 다운로드합니다."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Ubuntu의 GNOME 데스크톱에서 데스크톱 자체 파일 아이콘을 사용한 모습입니다."
diff --git a/i18n/site/nl.json b/i18n/site/nl.json
index 23349fea..812df674 100644
--- a/i18n/site/nl.json
+++ b/i18n/site/nl.json
@@ -2626,6 +2626,10 @@
"source": "What the page does",
"text": "Wat de pagina doet"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "de zeldzame streams in delen van andere soorten (Adobe's HDS, Microsoft's Smooth Streaming), en een waarvan de sleutel de site rechtstreeks aan yt-dlp geeft."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Moedertaalsprekers zijn van harte welkom om een taal te controleren en te verbeteren."
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "De interface van MDM is beschikbaar in 86 talen: elke weergavetaal die Windows 11 biedt, van Afrikaans tot Vietnamees, inclusief beide Chinese schriften, Spaans voor…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "een stream verzonden via RTMP, RTSP, MMS of FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opties → Opslaan in →"
@@ -15210,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Videopagina's (yt-dlp) en afbeeldingengalerijen hebben hun helpers nodig, die de image niet bevat."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "een stream die via RTMP, RTSP, MMS of FTP wordt verzonden."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Download Mister Download Manager 0.5.2, de gratis, open-source downloadmanager: Windows-installatieprogramma en draagbare zip, macOS .dmg en Linux AppImage, .deb en .rpm, plus de browserextensie. Geen advertenties, geen gebundelde software."
@@ -16470,6 +16474,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "De onderste lijn van een tekstvak terwijl erin getypt kan worden"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Download een video; <x1/> kiest een kwaliteitsselector van <x2/> (<x3/> = het beste losse bestand; <x4/> = alleen het geluid zoals de site het heeft, niet geconverteerd; <x5/>, <x6/>, <x7/> of <x8/> = het geluid als MP3 met die bitrate, <x9/> met de beste variabele bitrate; <x10/> = als Opus; <x11/> = als FLAC, lossless maar niet beter dan het geluid van de site; conversies vereisen ffmpeg). <x12/>: MDM's eigen downloader haalt elke stream die yt-dlp vindt op via dit aantal verbindingen (standaard 8, 1 tot 128), een stream in stukjes (HLS, DASH) dit aantal stukjes tegelijk. <x13/> slaat ondertitels ernaast op: taalcodes van <x14/> (<x15/>), of <x16/> voor elke ondertitel die de uploader heeft opgegeven; <x17/> gebruikt in plaats daarvan de automatische ondertitels van de site; <x18/> voegt ze toe aan de video (vereist ffmpeg, MP4 of MKV). <x19/> stuurt de downloadverbindingen, en die van yt-dlp (en ffmpeg), via één netwerkadapter, zoals voor <x20/>; als deze niet is verbonden, start er niets."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: in <x2/>, of <g3>MCP: Server toevoegen</g3> in het commandopalet:"
@@ -16478,6 +16486,10 @@
"source": "What it colours",
"text": "Wat het kleurt"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Een stream die in veel kleine delen wordt verzonden</g1> (HLS, DASH, zoals de meeste sites behalve YouTube die van hen verzenden) komt in evenveel delen tegelijk binnen, elk wordt op schijf bewaard zodra het arriveert en vervolgens in volgorde samengevoegd tot één bestand, zoals yt-dlp ze samenvoegt. Delen die met AES-128 zijn versleuteld, worden ontsleuteld met de sleutel die de afspeellijst van de stream aangeeft. Wanneer hun adressen verlopen, vraagt MDM yt-dlp om de nieuwe lijst van de stream en gaat verder met de delen die nog ontbreken."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Op Ubuntu's GNOME-desktop, met de eigen bestandsiconen van de desktop."
diff --git a/i18n/site/pl.json b/i18n/site/pl.json
index 85c1f63b..7e1598b1 100644
--- a/i18n/site/pl.json
+++ b/i18n/site/pl.json
@@ -2626,6 +2626,10 @@
"source": "What the page does",
"text": "Co robi strona"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "rzadkie strumienie w częściach innego rodzaju (Adobe HDS, Microsoft Smooth Streaming) oraz takie, których klucz witryna przekazuje bezpośrednio yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Rodzimych użytkowników danego języka zapraszamy do sprawdzania i ulepszania tłumaczeń."
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Interfejs MDM jest dostępny w 86 językach: we wszystkich językach wyświetlania oferowanych przez system Windows 11, od afrikaans po wietnamski, w tym w obu chińskich pismach, hiszpańskim dla…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "strumień wysyłany przez RTMP, RTSP, MMS lub FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opcje → Zapisz w →"
@@ -15210,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Strony wideo (yt-dlp) i galerie obrazów potrzebują swoich pomocników, których obraz nie zawiera."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "strumień wysyłany przez RTMP, RTSP, MMS lub FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Pobierz Mister Download Manager 0.5.2, bezpłatny menedżer pobierania o otwartym kodzie źródłowym: instalator i przenośny plik zip dla Windows, plik .dmg dla macOS oraz AppImage, .deb i .rpm dla Linux, a także rozszerzenie przeglądarki. Bez reklam, bez dodatkowego oprogramowania."
@@ -16458,10 +16462,18 @@
"source": "Click <g1>Load unpacked</g1> and choose the <x2/> folder.",
"text": "Kliknij <g1>Załaduj rozpakowane</g1> i wybierz folder <x2/>."
},
+ "fbb8c948c7d5543c": {
+ "source": "<g1>Dates and times</g1> in the list (<g2>Last Try Date</g2>, <g3>Added</g3>) and the Scheduler follow the system's region by default (on Windows <g4>Settings → Time &amp; language → Language &amp; region → Regional format</g4>; on macOS and Linux, your language's usual way), or your own date order, clock and first day of the week in <g5>Options → Regional</g5>. In English the list keeps IDM's own date text (<x6/>), on the system's 12- or 24-hour clock (<x7/>).",
+ "text": "<g1>Daty i godziny</g1> na liście (<g2>Data ostatniej próby</g2>, <g3>Dodano</g3>) oraz w Harmonogramie domyślnie są zgodne z ustawieniami regionalnymi systemu (w systemie Windows <g4>Ustawienia → Czas i język → Język i region → Format regionalny</g4>; w systemach macOS i Linux zgodnie ze standardami języka), lub z własnym formatem daty, zegarem i pierwszym dniem tygodnia w <g5>Opcje → Regionalne</g5>. W języku angielskim lista zachowuje oryginalny format daty IDM (<x6/>), z zegarem 12- lub 24-godzinnym (<x7/>)."
+ },
"fbba8f18d2fae06e": {
"source": "A text box's bottom line while it can be typed in",
"text": "Dolna linia pola tekstowego, gdy można w nim pisać"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Pobierz film; <x1/> wybiera jakość z <x2/> (<x3/> = najlepszy pojedynczy plik; <x4/> = sam dźwięk, w oryginalnym formacie ze strony, bez konwersji; <x5/>, <x6/>, <x7/> lub <x8/> = dźwięk jako MP3 z podaną przepływnością bitów, <x9/> z najlepszą zmienną przepływnością; <x10/> = jako Opus; <x11/> = jako FLAC, bezstratny, ale nie lepszy niż dźwięk ze strony; konwersje wymagają ffmpeg). <x12/>: własny program pobierający MDM pobiera każdy strumień znaleziony przez yt-dlp za pomocą tylu połączeń (domyślnie 8, od 1 do 128), a strumień w częściach (HLS, DASH) w tylu częściach jednocześnie. <x13/> zapisuje napisy obok: kody języków z <x14/> (<x15/>) lub <x16/> dla wszystkich udostępnionych przez przesyłającego; <x17/> zamiast tego pobiera automatyczne napisy ze strony; <x18/> umieszcza je w filmie (wymaga ffmpeg, MP4 lub MKV). <x19/> wysyła połączenia pobierania oraz yt-dlp (i ffmpeg) przez jeden adapter sieciowy, tak jak dla <x20/>; gdy nie jest podłączony, nic się nie uruchamia."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: w <x2/> lub <g3>MCP: Dodaj serwer</g3> w palecie poleceń:"
@@ -16470,6 +16482,10 @@
"source": "What it colours",
"text": "Co koloruje"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Strumień wysyłany w wielu małych częściach</g1> (HLS, DASH, jak większość witryn innych niż YouTube wysyła swoje) jest pobierany w tylu częściach jednocześnie, każda jest zapisywana na dysku w miarę jej nadejścia, a następnie łączona w jeden plik, tak jak yt-dlp je łączy. Części zaszyfrowane AES-128 są deszyfrowane kluczem wskazanym w playliście strumienia. Gdy ich adresy wygasną, MDM prosi yt-dlp o nową listę strumienia i kontynuuje pobieranie brakujących części."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Na pulpicie GNOME Ubuntu, z ikonami plików pulpitu."
diff --git a/i18n/site/pt-br.json b/i18n/site/pt-br.json
index 689316c1..9262969f 100644
--- a/i18n/site/pt-br.json
+++ b/i18n/site/pt-br.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "O que a página faz"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "os raros fluxos em partes de outros tipos (HDS da Adobe, Smooth Streaming da Microsoft) e um cuja chave o site entrega diretamente ao yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Falantes nativos são muito bem-vindos para verificar e melhorar um idioma."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "A interface do MDM está disponível em 86 idiomas: todos os idiomas de exibição que o Windows 11 oferece, do africâner ao vietnamita, incluindo os dois scripts chineses, espanhol para…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "um fluxo enviado via RTMP, RTSP, MMS ou FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opções → Salvar em →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Páginas de vídeo (yt-dlp) e galerias de imagens precisam de seus auxiliares, que a imagem não inclui."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "uma transmissão enviada via RTMP, RTSP, MMS ou FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Baixe Mister Download Manager 0.5.2, o gerenciador de downloads gratuito e de código aberto: instalador para Windows e zip portátil, .dmg para macOS e AppImage, .deb e .rpm para Linux, além da extensão do navegador. Sem anúncios, sem software extra."
@@ -16374,6 +16378,10 @@
"source": "Where reports are kept",
"text": "Onde os relatórios são mantidos"
},
+ "fadf100dc83489b4": {
+ "source": "The <g1>Categories</g1> pane will read as a tree, each category with its count, open or shut, and the menu bar and every right-click menu as menus whose items can be run. Screen readers will reach every row of a list, not only those in view, with its place (\"12 of 40\"), and lists such as Download video's qualities and Add torrent's files will read with their names and ticks. A window will show its contents the first time a screen reader reads it, and a drop-down's choice can be set by its text. In dark mode, grey notes and error texts will have the 4.5:1 contrast WCAG asks for. <g2>View → Theme</g2> adds <g3>High contrast</g3>: black and white, a bright accent, every edge drawn, text at 7:1 or more (see <g4>themes</g4>). <g5>View → Interface size</g5> will make every window larger, from 100 % to 200 % on top of the system's display scale, with <g6>Ctrl +</g6>, <g7>Ctrl −</g7> and <g8>Ctrl 0</g8> in any MDM window, as in a browser; a window larger than the screen scrolls the rest.",
+ "text": "O painel <g1>Categorias</g1> será lido como uma árvore, cada categoria com sua contagem, aberta ou fechada, e a barra de menu e cada menu de clique direito como menus cujos itens podem ser executados. Os leitores de tela alcançarão todas as linhas de uma lista, não apenas as visíveis, com sua posição (\"12 de 40\"), e listas como as qualidades de Baixar vídeo e os arquivos de Adicionar torrent serão lidas com seus nomes e marcas de seleção. Uma janela mostrará seu conteúdo na primeira vez que um leitor de tela a ler, e a escolha de um menu suspenso pode ser definida por seu texto. No modo escuro, notas cinzas e textos de erro terão o contraste de 4,5:1 exigido pelo WCAG. <g2>Exibir → Tema</g2> adiciona <g3>Alto contraste</g3>: preto e branco, um destaque brilhante, todas as bordas desenhadas, texto em 7:1 ou mais (veja <g4>temas</g4>). <g5>Exibir → Tamanho da interface</g5> aumentará todas as janelas, de 100% a 200% além da escala de exibição do sistema, com <g6>Ctrl +</g6>, <g7>Ctrl −</g7> e <g8>Ctrl 0</g8> em qualquer janela do MDM, como em um navegador; uma janela maior que a tela rola o restante."
+ },
"fafa608396fbddf1": {
"source": "Under <g1>Category</g1>, choose <g2>General</g2>.",
"text": "Em <g1>Category</g1>, escolha <g2>General</g2>."
@@ -16470,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "A linha inferior de uma caixa de texto enquanto ela pode ser digitada"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Baixar um vídeo; <x1/> usa um seletor de qualidade de <x2/> (<x3/> = o melhor arquivo único; <x4/> = apenas o áudio como está no site, sem conversão; <x5/>, <x6/>, <x7/> ou <x8/> = o áudio como MP3 nessa taxa de bits, <x9/> na melhor taxa variável; <x10/> = como Opus; <x11/> = como FLAC, sem perdas, mas não melhor que o áudio do site; as conversões precisam de ffmpeg). <x12/>: o próprio gerenciador de downloads do MDM baixa cada stream que o yt-dlp encontra usando essa quantidade de conexões (8 por padrão, de 1 a 128), e um stream em partes (HLS, DASH) essa quantidade de partes de uma vez. <x13/> salva legendas ao lado: códigos de idioma de <x14/> (<x15/>), ou <x16/> para todas as que o remetente forneceu; <x17/> usa as legendas automáticas do site; <x18/> as insere no vídeo (precisa de ffmpeg, MP4 ou MKV). <x19/> envia as conexões dos downloads, e as do yt-dlp (e ffmpeg), por um adaptador de rede, como para <x20/>; quando não está conectado, nada inicia."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: em <x2/>, ou <g3>MCP: Adicionar Servidor</g3> na paleta de comandos:"
@@ -16478,6 +16490,10 @@
"source": "What it colours",
"text": "O que colore"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Um fluxo enviado em muitas partes pequenas</g1> (HLS, DASH, como a maioria dos sites, exceto o YouTube, envia os seus) é baixado em várias partes de uma vez, cada uma sendo salva no disco assim que chega, e depois unida em ordem em um único arquivo, como o yt-dlp as une. As partes criptografadas com AES-128 são descriptografadas com a chave que a lista de reprodução do fluxo nomeia. Quando seus endereços expiram, o MDM pede ao yt-dlp a nova lista do fluxo e continua com as partes que ainda faltam."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "No desktop GNOME do Ubuntu, com os próprios ícones de arquivo do desktop."
@@ -16686,6 +16702,10 @@
"source": "IDM's layout and your IDM list, with torrents, video and 86 languages built in",
"text": "Visual do IDM e sua lista do IDM, com torrents, vídeo e 86 idiomas integrados"
},
+ "fed022d54c593f21": {
+ "source": "Windows' and dialogs' background",
+ "text": "Plano de fundo de Windows e caixas de diálogo"
+ },
"fedee11d1c9ca354": {
"source": "Selecting",
"text": "Selecionando"
diff --git a/i18n/site/pt.json b/i18n/site/pt.json
index 7eb4cdbd..404e6cbf 100644
--- a/i18n/site/pt.json
+++ b/i18n/site/pt.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "O que a página faz"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "os raros fluxos em partes de outros tipos (HDS da Adobe, Smooth Streaming da Microsoft) e um cuja chave o site entrega diretamente ao yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "A revisão e melhoria dos idiomas por falantes nativos é muito bem-vinda."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "A interface do MDM está disponível em 86 idiomas: todos os idiomas de exibição que o Windows 11 oferece, do africâner ao vietnamita, incluindo ambos os scripts chineses, espanhol para…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "um fluxo enviado por RTMP, RTSP, MMS ou FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Opções → Guardar em →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "As páginas de vídeo (yt-dlp) e galerias de imagens precisam dos seus auxiliares, que a imagem não inclui."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "uma transmissão enviada via RTMP, RTSP, MMS ou FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Transfira o Mister Download Manager 0.5.2, o gestor de transferências gratuito e de código aberto: instalador e zip portátil para Windows, .dmg para macOS e AppImage, .deb e .rpm para Linux, além da extensão do navegador. Sem anúncios, sem software extra."
@@ -16470,6 +16474,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "A linha inferior de uma caixa de texto enquanto pode ser editada"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Transferir um vídeo; <x1/> obtém um seletor de qualidade de <x2/> (<x3/> = o melhor ficheiro único; <x4/> = apenas o som tal como está no site, sem conversão; <x5/>, <x6/>, <x7/> ou <x8/> = o som como MP3 com essa taxa de bits, <x9/> com a melhor taxa de bits variável; <x10/> = como Opus; <x11/> = como FLAC, sem perdas, mas não melhor do que o som do site; as conversões precisam de ffmpeg). <x12/>: o próprio gestor de transferências do MDM obtém cada fluxo que o yt-dlp encontra através deste número de ligações (8 por predefinição, 1 a 128), um fluxo em partes (HLS, DASH) este número de partes de uma só vez. <x13/> guarda as legendas ao lado: códigos de idioma de <x14/> (<x15/>), ou <x16/> para todas as que o carregador forneceu; <x17/> obtém as legendas automáticas do site; <x18/> coloca-as no vídeo (precisa de ffmpeg, MP4 ou MKV). <x19/> envia as ligações das transferências, e as do yt-dlp (e ffmpeg), através de um adaptador de rede, como para <x20/>; quando não está ligado, nada começa."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: em <x2/>, ou <g3>MCP: Adicionar Servidor</g3> na paleta de comandos:"
@@ -16478,6 +16486,10 @@
"source": "What it colours",
"text": "O que colore"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Um fluxo enviado em muitas partes pequenas</g1> (HLS, DASH, como a maioria dos sites, exceto o YouTube, envia os seus) é transferido em várias partes de uma só vez, cada uma guardada em disco à medida que chega, e depois unidas por ordem num único ficheiro, tal como o yt-dlp as une. As partes encriptadas com AES-128 são desencriptadas com a chave que a lista de reprodução do fluxo indica. Quando os seus endereços expiram, o MDM pede ao yt-dlp a nova lista do fluxo e continua com as partes que ainda faltam."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "No ambiente de trabalho GNOME do Ubuntu, com os ícones de ficheiro próprios do ambiente de trabalho."
diff --git a/i18n/site/ru.json b/i18n/site/ru.json
index 803f06f3..3627ce35 100644
--- a/i18n/site/ru.json
+++ b/i18n/site/ru.json
@@ -2626,6 +2626,10 @@
"source": "What the page does",
"text": "Что делает страница"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "редкие потоки, состоящие из частей других типов (Adobe HDS, Microsoft Smooth Streaming), и потоки, ключ к которым сайт передаёт yt-dlp напрямую."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Носители языка очень приветствуются для проверки и улучшения языка."
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Интерфейс MDM доступен на 86 языках: все языки отображения, предлагаемые Windows 11, от африкаанс до вьетнамского, включая оба китайских письма, испанский для…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "поток, передаваемый по RTMP, RTSP, MMS или FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Параметры → Сохранить в →"
@@ -9278,6 +9286,10 @@
"source": "The default button's bottom edge",
"text": "Нижний край кнопки по умолчанию"
},
+ "8da81bf6e443e93a": {
+ "source": "The host serves only MDM's own extension. Its IDs are in one place, <x1/> (<x2/>): the unpacked copy's (<x3/>, from the manifest's public key), the Chrome Web Store's (<x4/>, signed with the store's own key: <x5/> leaves the manifest's key out of the store's copy), the Firefox add-on's (<x6/>) and its addons.mozilla.org page; the Edge and Opera stores' are placeholders, never served, until the extension is listed there. The host writes each browser's manifest with those IDs, and the app offers the store's copy (Add to Chrome, Add to Firefox) before the unpacked one.",
+ "text": "Хост обслуживает только собственное расширение MDM. Его идентификаторы находятся в одном месте, <x1/> (<x2/>): распакованной копии (<x3/>, из открытого ключа манифеста), Chrome Web Store (<x4/>, подписанной собственным ключом магазина: <x5/> исключает ключ манифеста из копии магазина), дополнения Firefox (<x6/>) и его страницы addons.mozilla.org; магазины Edge и Opera являются заполнителями, никогда не обслуживаются, пока расширение не будет там указано. Хост записывает манифест каждого браузера с этими идентификаторами, и приложение предлагает копию магазина (Добавить в Chrome, Добавить в Firefox) перед распакованной."
+ },
"8dafbe13895c785d": {
"source": "In short",
"text": "Кратко"
@@ -9514,6 +9526,10 @@
"source": "(blue)",
"text": "(синий)"
},
+ "918f09ee3a8310c4": {
+ "source": "Sign-in secrets (debrid accounts, Sites Logins' and the proxy's passwords) live in the system's keychain (<x1/>, #44): Windows Credential Manager (<x2/>), the Secret Service on Linux or the macOS keychain (<x3/>). The settings keep a <x4/> reference in their place, written only once the keychain has confirmed the secret; without a keychain (or with a locked one, never unlocked for MDM) the secret stays in the settings as before.",
+ "text": "Секреты входа (учетные записи debrid, логины сайтов и пароли прокси) хранятся в системной связке ключей (<x1/>, #44): диспетчер учетных данных Windows (<x2/>), Secret Service в Linux или связка ключей macOS (<x3/>). Параметры хранят ссылку <x4/> на своем месте, записываемую только после того, как связка ключей подтвердит секрет; без связки ключей (или с заблокированной, никогда не разблокированной для MDM) секрет остается в параметрах, как и раньше."
+ },
"91aff26fd329cf93": {
"source": "Mister Download Manager in 86 languages: picked by flag, switched at once, right to left for Arabic, Hebrew, Persian, Urdu and Uyghur.",
"text": "Mister Download Manager на 86 языках: выбирается по флагу, переключается сразу, справа налево для арабского, иврита, персидского, урду и уйгурского."
@@ -10814,6 +10830,10 @@
"source": "Speed Limiter settings: Maximum download speed for one file, Always turn on Speed Limiter on startup, and Limit all downloads together to, with Only while I'm using the computer",
"text": "Настройки ограничителя скорости: Максимальная скорость загрузки для одного файла, Всегда включать ограничитель скорости при запуске, и Ограничить все загрузки вместе до, с Только когда я использую компьютер"
},
+ "a4ec7f409ec80484": {
+ "source": "The download list and settings are saved atomically to the data folder (<x1/>): <x2/> on Windows, <x3/> on Linux, <x4/> on macOS, a <x5/> folder beside a portable copy, or <x6/> (<x7/>). The browser host reads the same file for the capture rules, so a change in Options applies to the next captured download.",
+ "text": "Список загрузок и параметры сохраняются атомарно в папку данных (<x1/>): <x2/> в Windows, <x3/> в Linux, <x4/> в macOS, папка <x5/> рядом с переносимой копией или <x6/> (<x7/>). Хост браузера читает тот же файл для правил захвата, поэтому изменение в Параметрах применяется к следующей захваченной загрузке."
+ },
"a50025a18eca7051": {
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for Spain and Mexico, French for France and Canada, Portuguese for Portugal and Brazil, and Serbian in Cyrillic and Latin.",
"text": "Интерфейс MDM доступен на 86 языках: все языки отображения, предлагаемые Windows 11, от африкаанс до вьетнамского, включая оба китайских письма, испанский для Испании и Мексики, французский для Франции и Канады, португальский для Португалии и Бразилии, а также сербский на кириллице и латинице."
@@ -12574,6 +12594,10 @@
"source": "Your browsers hand it their downloads, and proven open-source tools do the specialist work. <g1>Set up the extension</g1>.",
"text": "Ваши браузеры передают ему свои загрузки, а проверенные инструменты с открытым исходным кодом выполняют специализированную работу. <g1>Настройте расширение</g1>."
},
+ "bfccf2cc495dc164": {
+ "source": "One egui window painted to fixed pixel coordinates, plus one immediate viewport per dialog. <x1/> holds the state (downloads, queues, settings, the list's selection) and turns menu, toolbar, key and IPC commands into actions. Each dialog is its own module and returns an <x2/> (open, closed, done with a value). Windows-only calls are confined to <x3/> and their Linux and macOS counterparts to <x4/> (starting with the session, the browsers' host, sounds, show in folder, the crash handler); every other file is safe, portable Rust. Fonts come from the system: Windows' Fonts folder, macOS's system fonts, fontconfig on Linux (<x5/>). On Windows, Latin, Greek and Cyrillic text is drawn by DirectWrite (<x6/>, through egui's glyph rasterizer hook): View → Text → Smooth in its natural mode, anti-aliased at the size asked for and placed at quarter pixels with the font's own advances; Classic (the default) in GDI-classic mode, so each letter's hinted shape and whole-pixel width come together. Other scripts are shaped and drawn by egui.",
+ "text": "Одно окно egui, отрисованное в фиксированных пиксельных координатах, плюс один непосредственный видовой экран для каждого диалогового окна. <x1/> хранит состояние (загрузки, очереди, параметры, выбор списка) и преобразует команды меню, панели инструментов, клавиш и IPC в действия. Каждое диалоговое окно является собственным модулем и возвращает <x2/> (открыто, закрыто, выполнено со значением). Вызовы только для Windows ограничены <x3/>, а их аналоги для Linux и macOS — <x4/> (запуск с сеансом, хост браузеров, звуки, показать в папке, обработчик сбоев); все остальные файлы — безопасный, переносимый Rust. Шрифты берутся из системы: папка Fonts в Windows, системные шрифты macOS, fontconfig в Linux (<x5/>). В Windows латинский, греческий и кириллический текст рисуется с помощью DirectWrite (<x6/>, через хук растеризатора глифов egui): Вид → Текст → Сглаженный в естественном режиме, сглаженный до запрошенного размера и расположенный с точностью до четверти пикселя с собственными смещениями шрифта; Классический (по умолчанию) в режиме GDI-classic, так что подсказанная форма каждой буквы и ширина в целых пикселях объединяются. Другие скрипты формируются и рисуются egui."
+ },
"bfcf797517e5c279": {
"source": "MDM remembers the columns, their widths and the sort order.",
"text": "MDM запоминает столбцы, их ширину и порядок сортировки."
@@ -14354,6 +14378,10 @@
"source": "A proxy that asks for a login the VPN extension gives itself can't be shared: no other program has that login. The download then stops and says so, rather than going without the proxy. Use the VPN's own app, or choose its adapter under <g1>Network adapter</g1>.",
"text": "Прокси, который запрашивает логин, предоставляемый самим расширением VPN, не может быть общим: ни у одной другой программы нет этого логина. Загрузка тогда останавливается и сообщает об этом, вместо того чтобы идти без прокси. Используйте собственное приложение VPN или выберите его адаптер в разделе <g1>Сетевой адаптер</g1>."
},
+ "db773b614d9bb463": {
+ "source": "The windows are drawn with OpenGL (eframe's glow) or with the system's own graphics API through eframe's wgpu, with that one backend only: Direct3D 12 on Windows (the default there), Vulkan on Linux, Metal on macOS (choices there; OpenGL stays their default until real graphics cards have tried them, #206). View → Draw with picks one, from the next start. One code path does it on every system (<x1/>): when the chosen one can't start, the other one is tried, so the windows always open. A watched start with the system's API leaves a marker until its first frame is drawn: a start that ends before it (a crash inside the driver), one whose first frame doesn't come within 10 seconds (MDM then starts again with OpenGL), or a graphics card lost twice in 10 minutes is remembered with its reason, which the menu shows.",
+ "text": "Окна отрисовываются с помощью OpenGL (glow от eframe) или с помощью собственного графического API системы через wgpu от eframe, только с одним бэкендом: Direct3D 12 в Windows (по умолчанию), Vulkan в Linux, Metal в macOS (выбор там; OpenGL остается их по умолчанию, пока реальные видеокарты не попробуют их, #206). Вид → Отрисовка с помощью выбирает один, начиная со следующего запуска. Один путь кода делает это на каждой системе (<x1/>): когда выбранный не может запуститься, пробуется другой, так что окна всегда открываются. Контролируемый запуск с API системы оставляет маркер до отрисовки первого кадра: запуск, который заканчивается до этого (сбой в драйвере), запуск, первый кадр которого не появляется в течение 10 секунд (MDM затем снова запускается с OpenGL), или видеокарта, потерянная дважды за 10 минут, запоминается с указанием причины, которую показывает меню."
+ },
"db8b995c0ea581f5": {
"source": "The keys are written down",
"text": "Клавиши записаны"
@@ -15182,10 +15210,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Видеостраницы (yt-dlp) и галереи изображений требуют вспомогательных программ, которые образ не включает."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "поток, отправляемый по RTMP, RTSP, MMS или FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Скачайте Mister Download Manager 0.5.2 — бесплатный менеджер загрузок с открытым исходным кодом: установщик и портативный ZIP-архив для Windows, .dmg для macOS, AppImage, .deb и .rpm для Linux, а также расширение для браузера. Без рекламы и стороннего ПО."
@@ -15806,6 +15830,10 @@
"source": "<g1>Menus on macOS and Linux</g1>: clicking a menu item did nothing (the click moved the focus to the menu's own window, which closed it first). The list's right-click menu and the toolbar's drop-downs had the same fault.",
"text": "<g1>Меню на macOS и Linux</g1>: нажатие на пункт меню ничего не делало (клик перемещал фокус на собственное окно меню, что сначала закрывало его). Контекстное меню списка и выпадающие списки панели инструментов имели ту же ошибку."
},
+ "f1ffe13bf5cbb2c3": {
+ "source": "View → Interface size (<x1/>, #262) is egui's zoom factor over the display's own scale: every window is laid out in points, so it opens that much larger; one larger than the screen scrolls.",
+ "text": "Вид → Размер интерфейса (<x1/>, #262) — это коэффициент масштабирования egui поверх собственного масштаба дисплея: каждое окно располагается в точках, поэтому оно открывается настолько большим; окно, большее, чем экран, прокручивается."
+ },
"f20112b73092bc18": {
"source": "Installer",
"text": "Установщик"
@@ -16434,6 +16462,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Нижняя линия текстового поля, когда в него можно вводить текст"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Скачать видео; <x1/> принимает селектор качества из <x2/> (<x3/> = лучший отдельный файл; <x4/> = только звук в том виде, в каком он есть на сайте, без конвертации; <x5/>, <x6/>, <x7/> или <x8/> = звук в формате MP3 с указанным битрейтом, <x9/> с лучшим переменным битрейтом; <x10/> = в формате Opus; <x11/> = в формате FLAC, без потерь, но не лучше, чем звук на сайте; для конвертации требуется ffmpeg). <x12/>: собственный загрузчик MDM загружает каждый поток, найденный yt-dlp, через указанное количество соединений (по умолчанию 8, от 1 до 128), а поток, состоящий из частей (HLS, DASH), — по столько частей одновременно. <x13/> сохраняет субтитры рядом с видео: коды языков из <x14/> (<x15/>) или <x16/> для всех, предоставленных загрузчиком; <x17/> вместо этого использует автоматические субтитры сайта; <x18/> встраивает их в видео (требуется ffmpeg, MP4 или MKV). <x19/> направляет соединения для загрузок, а также yt-dlp (и ffmpeg) через один сетевой адаптер, как для <x20/>; если он не подключен, ничего не запускается."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: в <x2/> или <g3>MCP: Добавить сервер</g3> в палитре команд:"
@@ -16442,6 +16474,10 @@
"source": "What it colours",
"text": "Что окрашивает"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Поток, передаваемый множеством мелких частей</g1> (HLS, DASH, как большинство сайтов, кроме YouTube, передают свои), загружается по частям, каждая из которых сохраняется на диск по мере поступления, а затем объединяется в один файл, как это делает yt-dlp. Части, зашифрованные AES-128, расшифровываются с помощью ключа, указанного в плейлисте потока. Когда их адреса истекают, MDM запрашивает у yt-dlp новый список потока и продолжает загрузку недостающих частей."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "На рабочем столе GNOME в Ubuntu, с собственными значками файлов."
diff --git a/i18n/site/th.json b/i18n/site/th.json
index 0b4d3d2b..21b9e655 100644
--- a/i18n/site/th.json
+++ b/i18n/site/th.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "หน้าเว็บทำอะไรได้บ้าง"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "สตรีมที่แบ่งเป็นชิ้นส่วนชนิดอื่น ๆ ที่หายาก (Adobe HDS, Microsoft Smooth Streaming) และสตรีมที่เว็บไซต์ส่งคีย์ให้ yt-dlp โดยตรง"
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "ขอเชิญเจ้าของภาษาช่วยตรวจสอบและปรับปรุงคำแปลภาษาใดก็ได้"
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "ส่วนติดต่อผู้ใช้ของ MDM มี 86 ภาษา: ทุกภาษาที่ Windows 11 มีให้ ตั้งแต่ภาษาแอฟริกาถึงภาษาเวียดนาม รวมถึงอักษรจีนทั้งสองแบบ, ภาษาสเปนสำหรับ…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "สตรีมที่ส่งผ่าน RTMP, RTSP, MMS หรือ FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "ตัวเลือก → บันทึกไปที่ →"
@@ -15198,10 +15206,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "หน้าวิดีโอ (yt-dlp) และแกลเลอรีรูปภาพต้องการตัวช่วย ซึ่งอิมเมจไม่ได้รวมไว้"
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "สตรีมที่ส่งผ่าน RTMP, RTSP, MMS หรือ FTP"
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "ดาวน์โหลด Mister Download Manager 0.5.2 โปรแกรมช่วยดาวน์โหลดฟรีและโอเพนซอร์ส: ตัวติดตั้งและไฟล์ zip แบบพกพาสำหรับ Windows, ไฟล์ .dmg สำหรับ macOS และ AppImage, .deb และ .rpm สำหรับ Linux รวมถึงส่วนขยายเบราว์เซอร์ ไม่มีโฆษณา ไม่มีซอฟต์แวร์แถม"
@@ -16458,6 +16462,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "เส้นด้านล่างของกล่องข้อความขณะที่สามารถพิมพ์ได้"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "ดาวน์โหลดวิดีโอ; <x1/> ใช้ตัวเลือกคุณภาพจาก <x2/> (<x3/> = ไฟล์เดี่ยวที่ดีที่สุด; <x4/> = เสียงอย่างเดียวตามที่เว็บไซต์มี ไม่มีการแปลง; <x5/>, <x6/>, <x7/> หรือ <x8/> = เสียงเป็น MP3 ที่บิตเรตนั้น, <x9/> ที่บิตเรตแปรผันที่ดีที่สุด; <x10/> = เป็น Opus; <x11/> = เป็น FLAC, ไม่มีการสูญเสียแต่ไม่ดีไปกว่าเสียงของเว็บไซต์; การแปลงต้องใช้ ffmpeg) <x12/>: ตัวดาวน์โหลดของ MDM จะนำแต่ละสตรีมที่ yt-dlp พบผ่านการเชื่อมต่อจำนวนนี้ (ค่าเริ่มต้น 8, 1 ถึง 128), สตรีมที่แบ่งเป็นส่วน ๆ (HLS, DASH) จำนวนส่วนพร้อมกัน <x13/> บันทึกคำบรรยายข้าง ๆ: รหัสภาษาจาก <x14/> (<x15/>), หรือ <x16/> สำหรับทุกภาษาที่ผู้อัปโหลดให้มา; <x17/> ใช้คำบรรยายอัตโนมัติของเว็บไซต์แทน; <x18/> ใส่คำบรรยายลงในวิดีโอ (ต้องใช้ ffmpeg, MP4 หรือ MKV) <x19/> ส่งการเชื่อมต่อของการดาวน์โหลด และของ yt-dlp (และ ffmpeg) ผ่านอะแดปเตอร์เครือข่ายเดียว เช่นเดียวกับ <x20/>; เมื่อไม่ได้เชื่อมต่อ จะไม่มีอะไรเริ่มต้น"
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: ใน <x2/> หรือ <g3>MCP: เพิ่มเซิร์ฟเวอร์</g3> ใน command palette:"
@@ -16466,6 +16474,10 @@
"source": "What it colours",
"text": "สิ่งที่ระบายสี"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>สตรีมที่ส่งมาเป็นชิ้นเล็ก ๆ หลายชิ้น</g1> (HLS, DASH ซึ่งเว็บไซต์ส่วนใหญ่ที่ไม่ใช่ YouTube ใช้) จะถูกดาวน์โหลดพร้อมกันหลายชิ้น โดยแต่ละชิ้นจะถูกบันทึกลงดิสก์เมื่อมาถึง จากนั้นจะนำมารวมกันตามลำดับเป็นไฟล์เดียว เช่นเดียวกับที่ yt-dlp ทำ ชิ้นส่วนที่เข้ารหัสด้วย AES-128 จะถูกถอดรหัสด้วยคีย์ที่ระบุในเพลย์ลิสต์ของสตรีม เมื่อที่อยู่ของชิ้นส่วนหมดอายุ MDM จะขอรายการสตรีมใหม่จาก yt-dlp และดำเนินการดาวน์โหลดชิ้นส่วนที่ยังขาดอยู่ต่อไป"
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "บนเดสก์ท็อป GNOME ของ Ubuntu พร้อมไอคอนไฟล์ของเดสก์ท็อปเอง"
diff --git a/i18n/site/tr.json b/i18n/site/tr.json
index c99849fe..da6c414d 100644
--- a/i18n/site/tr.json
+++ b/i18n/site/tr.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Sayfa ne yapar"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "diğer türden parçalar halinde nadir akışlar (Adobe'un HDS'si, Microsoft'un Smooth Streaming'i) ve anahtarını sitenin doğrudan yt-dlp'ye verdiği bir akış."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Ana dili konuşanlar, bir dili kontrol etmek ve geliştirmek için çok hoş karşılanır."
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDM'nin arayüzü 86 dilde kullanılabilir: Windows 11'in sunduğu Afrikaans'tan Vietnamcaya tüm görüntüleme dilleri; her iki Çince yazı sistemi ve İspanyolca için…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "RTMP, RTSP, MMS veya FTP üzerinden gönderilen bir akış;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Seçenekler → Kaydedileceği yer →"
@@ -15210,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Video sayfaları (yt-dlp) ve resim galerileri, görüntünün içermediği yardımcılarına ihtiyaç duyar."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "RTMP, RTSP, MMS veya FTP üzerinden gönderilen bir yayın."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Mister Download Manager 0.5.2'yi indirin, ücretsiz, açık kaynaklı indirme yöneticisi: Windows yükleyici ve taşınabilir zip, macOS .dmg ve Linux AppImage, .deb ve .rpm, ayrıca tarayıcı uzantısı. Reklamsız, ek yazılımsız."
@@ -16470,6 +16474,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Yazılabilir durumdayken metin kutusunun alt çizgisi"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Bir video indir; <x1/>, <x2/> içinden bir kalite seçici alır (<x3/> = en iyi tek dosya; <x4/> = sitenin sunduğu haliyle, dönüştürülmemiş sadece ses; <x5/>, <x6/>, <x7/> veya <x8/> = o bit hızında MP3 olarak ses, <x9/> en iyi değişken bit hızında; <x10/> = Opus olarak; <x11/> = FLAC olarak, kayıpsız ama sitenin sesinden daha iyi değil; dönüştürmeler için ffmpeg gerekir). <x12/>: MDM'nin kendi indiricisi, yt-dlp'nin bulduğu her akışı bu kadar bağlantı üzerinden (varsayılan 8, 1 ila 128), bir akışı parçalar halinde (HLS, DASH) aynı anda bu kadar parça halinde getirir. <x13/> altyazıları yanına kaydeder: <x14/> (<x15/>) dil kodları veya yükleyicinin verdiği her biri için <x16/>; <x17/> bunun yerine sitenin otomatik altyazılarını alır; <x18/> bunları videoya yerleştirir (ffmpeg, MP4 veya MKV gerekir). <x19/> indirmelerin bağlantılarını ve yt-dlp'nin (ve ffmpeg'in) bağlantılarını, <x20/> için olduğu gibi tek bir ağ bağdaştırıcısı üzerinden gönderir; bağlı değilse hiçbir şey başlamaz."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: <x2/> içinde veya komut paletinde <g3>MCP: Sunucu Ekle</g3>:"
@@ -16478,6 +16486,10 @@
"source": "What it colours",
"text": "Ne renklendirir"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Çok sayıda küçük parça halinde gönderilen bir akış</g1> (HLS, DASH, çoğu sitenin YouTube dışındaki akışları gibi) aynı anda o kadar çok parça halinde iner, her biri geldikçe diske kaydedilir, ardından yt-dlp'nin birleştirdiği gibi sırayla tek bir dosyada birleştirilir. AES-128 ile şifrelenmiş parçalar, akışın oynatma listesinde belirtilen anahtarla şifreleri çözülür. Adresleri sona erdiğinde, MDM yt-dlp'den akışın yeni listesini ister ve eksik parçalarla devam eder."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Ubuntu'nun GNOME masaüstünde, masaüstünün kendi dosya simgeleriyle."
diff --git a/i18n/site/uk.json b/i18n/site/uk.json
index ee59a514..818bcdd0 100644
--- a/i18n/site/uk.json
+++ b/i18n/site/uk.json
@@ -2626,6 +2626,10 @@
"source": "What the page does",
"text": "Що робить сторінка"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "рідкісні потоки частинами інших типів (Adobe HDS, Microsoft Smooth Streaming) та ті, ключ до яких сайт передає yt-dlp безпосередньо."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Носії мови можуть допомогти перевірити й покращити переклад."
@@ -8538,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Інтерфейс MDM доступний 86 мовами: усі мови відображення, які пропонує Windows 11, від африкаанс до в’єтнамської, включно з обома китайськими письмовими системами, іспанською для…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "потік, що надсилається через RTMP, RTSP, MMS або FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Параметри → Зберегти до →"
@@ -15198,10 +15206,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Відеосторінки (yt-dlp) та галереї зображень потребують своїх помічників, яких образ не включає."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "потік, що надсилається через RTMP, RTSP, MMS або FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Завантажте Mister Download Manager 0.5.2, безкоштовний менеджер завантажень з відкритим кодом: інсталятор та портативний zip для Windows, .dmg для macOS та AppImage, .deb і .rpm для Linux, а також розширення для браузера. Без реклами та зайвого програмного забезпечення."
@@ -16458,6 +16462,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Нижня лінія текстового поля, коли в нього можна вводити текст"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Завантажити відео; <x1/> вибирає якість із <x2/> (<x3/> = найкращий окремий файл; <x4/> = лише звук, як він є на сайті, без конвертації; <x5/>, <x6/>, <x7/> або <x8/> = звук у форматі MP3 з таким бітрейтом, <x9/> з найкращим змінним бітрейтом; <x10/> = як Opus; <x11/> = як FLAC, без втрат, але не краще, ніж звук із сайту; для конвертації потрібен ffmpeg). <x12/>: власний завантажувач MDM завантажує кожен потік, знайдений yt-dlp, через таку кількість з’єднань (8 за замовчуванням, від 1 до 128), потік частинами (HLS, DASH) такою кількістю частин одночасно. <x13/> зберігає субтитри поруч: коди мов із <x14/> (<x15/>), або <x16/> для всіх, які надав завантажувач; <x17/> використовує автоматичні субтитри сайту; <x18/> вбудовує їх у відео (потрібен ffmpeg, MP4 або MKV). <x19/> надсилає з’єднання для завантажень, а також yt-dlp (і ffmpeg), через один мережевий адаптер, як для <x20/>; якщо він не підключений, нічого не починається."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: у <x2/>, або <g3>MCP: Додати сервер</g3> у палітрі команд:"
@@ -16466,6 +16474,10 @@
"source": "What it colours",
"text": "Що він забарвлює"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Потік, що надсилається багатьма невеликими частинами</g1> (HLS, DASH, як більшість сайтів, крім YouTube, надсилають свої), завантажується стількома частинами одночасно, кожна з яких зберігається на диску після надходження, а потім об'єднується в один файл, як їх об'єднує yt-dlp. Частини, зашифровані за допомогою AES-128, розшифровуються ключем, вказаним у списку відтворення потоку. Коли термін дії їхніх адрес закінчується, MDM запитує у yt-dlp новий список потоку та продовжує завантажувати відсутні частини."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "На робочому столі GNOME Ubuntu, з власними піктограмами файлів робочого столу."
diff --git a/i18n/site/vi.json b/i18n/site/vi.json
index 595f50fb..191ecf07 100644
--- a/i18n/site/vi.json
+++ b/i18n/site/vi.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "Trang này làm gì"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "các luồng hiếm gặp được chia thành các phần khác (HDS của Adobe, Smooth Streaming của Microsoft) và luồng có khóa mà trang web cung cấp trực tiếp cho yt-dlp."
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "Rất hoan nghênh người bản ngữ kiểm tra và cải thiện bản dịch."
@@ -8542,6 +8546,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "Giao diện của MDM có 86 ngôn ngữ: mọi ngôn ngữ hiển thị mà Windows 11 cung cấp, từ tiếng Afrikaans đến tiếng Việt, bao gồm cả hai dạng chữ Trung Quốc, tiếng Tây Ban Nha cho…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "một luồng được gửi qua RTMP, RTSP, MMS hoặc FTP;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "Tùy chọn → Lưu vào →"
@@ -15214,10 +15222,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "Các trang video (yt-dlp) và thư viện hình ảnh cần các công cụ hỗ trợ của chúng, mà ảnh không bao gồm."
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "một luồng được gửi qua RTMP, RTSP, MMS hoặc FTP."
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "Tải xuống Mister Download Manager 0.5.2, trình quản lý tải xuống miễn phí, mã nguồn mở: trình cài đặt và tệp zip di động cho Windows, tệp .dmg cho macOS và AppImage, .deb, .rpm cho Linux, cùng với tiện ích mở rộng trình duyệt. Không quảng cáo, không phần mềm đi kèm."
@@ -16474,6 +16478,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "Dòng dưới cùng của hộp văn bản khi có thể nhập liệu"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "Tải xuống video; <x1/> chọn chất lượng từ <x2/> (<x3/> = tệp đơn tốt nhất; <x4/> = chỉ âm thanh gốc, không chuyển đổi; <x5/>, <x6/>, <x7/> hoặc <x8/> = âm thanh MP3 với tốc độ bit đó, <x9/> với tốc độ bit biến đổi tốt nhất; <x10/> = định dạng Opus; <x11/> = định dạng FLAC, không mất dữ liệu nhưng không tốt hơn âm thanh gốc; cần ffmpeg để chuyển đổi). <x12/>: trình tải xuống của MDM dùng số kết nối này (mặc định 8, từ 1 đến 128) cho mỗi luồng yt-dlp tìm thấy, và số mảnh cùng lúc cho luồng dạng mảnh (HLS, DASH). <x13/> lưu phụ đề bên cạnh: mã ngôn ngữ từ <x14/> (<x15/>), hoặc <x16/> cho tất cả phụ đề người tải lên cung cấp; <x17/> dùng phụ đề tự động của trang web; <x18/> chèn phụ đề vào video (cần ffmpeg, MP4 hoặc MKV). <x19/> gửi các kết nối tải xuống, và của yt-dlp (cũng như ffmpeg), qua một bộ điều hợp mạng, như với <x20/>; khi không kết nối, không có gì bắt đầu."
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>: trong <x2/>, hoặc <g3>MCP: Thêm máy chủ</g3> trong bảng lệnh:"
@@ -16482,6 +16490,10 @@
"source": "What it colours",
"text": "Màu sắc cho"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>Luồng video được gửi dưới dạng nhiều phần nhỏ</g1> (HLS, DASH, như hầu hết các trang web khác ngoài YouTube gửi) sẽ được tải xuống từng phần một, mỗi phần được lưu trên đĩa khi đến, sau đó được ghép nối theo thứ tự thành một tệp duy nhất, giống như yt-dlp ghép nối. Các phần được mã hóa bằng AES-128 sẽ được giải mã bằng khóa mà danh sách phát của luồng chỉ định. Khi địa chỉ của chúng hết hạn, MDM sẽ yêu cầu yt-dlp danh sách luồng mới và tiếp tục với các phần còn thiếu."
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "Trên môi trường desktop GNOME của Ubuntu, với các biểu tượng tệp riêng của desktop."
diff --git a/i18n/site/zh-hans.json b/i18n/site/zh-hans.json
index b6827c13..7ab56f32 100644
--- a/i18n/site/zh-hans.json
+++ b/i18n/site/zh-hans.json
@@ -2630,6 +2630,10 @@
"source": "What the page does",
"text": "页面功能"
},
+ "278efae7472c5c89": {
+ "source": "the rare streams in pieces of other kinds (Adobe's HDS, Microsoft's Smooth Streaming), and one whose key the site hands yt-dlp directly.",
+ "text": "其他类型(Adobe 的 HDS、Microsoft 的 Smooth Streaming)的稀有分块流,以及网站直接将密钥交给 yt-dlp 的流。"
+ },
"279fabf85cf86d75": {
"source": "Native speakers are very welcome to check and improve a language.",
"text": "欢迎母语人士校对和改进各语言翻译。"
@@ -4650,6 +4654,10 @@
"source": "Source",
"text": "源"
},
+ "465aa7792ebfb03e": {
+ "source": "On Linux and macOS, MDM finds yt-dlp, ffmpeg and gallery-dl on your <x1/> and in the usual package-manager folders, including Homebrew's. A program you selected yourself takes priority, followed by MDM's own installed copy. The system copy is used when neither is present, and your package manager keeps it up to date: MDM never downloads over it on its own. If your distribution's yt-dlp is old, <g2>Use MDM's own copy</g2> in Helpers downloads MDM's, which keeps itself current and is used from then on.",
+ "text": "在 Linux 和 macOS 上,MDM 会在您的 <x1/> 以及包括 Homebrew 在内的常用包管理器文件夹中查找 yt-dlp、ffmpeg 和 gallery-dl。您自己选择的程序优先,其次是 MDM 自己安装的副本。当两者都不存在时,将使用系统副本,并且您的包管理器会使其保持最新:MDM 绝不会自行覆盖它。如果您的发行版中的 yt-dlp 过旧,请在“帮助程序”中勾选<g2>使用 MDM 自带的副本</g2>,MDM 将下载并使用自己的副本,该副本会自行保持最新。"
+ },
"465c0ee9455d1a69": {
"source": "<g1>Downloads</g1>: the Windows installer, a portable zip and a plain zip, the browser extension on its own (a zip for Chromium browsers, an <x2/> for Firefox, always the app's version), and <g3>macOS and Linux to try</g3>: a universal <x4/> and an AppImage, <x5/>, <x6/> and <x7/>, marked <x8/> because they are untested by us. There, MDM connects itself to Chrome, Edge, Brave, Vivaldi and Firefox, has its tray icon, follows the system's light or dark look and uses the system's fonts and ffmpeg. Tell us how they work for you.",
"text": "<g1>下载</g1>:Windows 安装程序、便携式 zip 和普通 zip、独立的浏览器扩展程序(Chromium 浏览器为 zip,Firefox 为 <x2/>,始终与应用版本一致),以及<g3>可试用的 macOS 和 Linux 版本</g3>:通用 <x4/> 和 AppImage、<x5/>、<x6/> 和 <x7/>,标记为 <x8/>,因为我们尚未对其进行测试。在这些版本中,MDM 会自动连接到 Chrome、Edge、Brave、Vivaldi 和 Firefox,拥有托盘图标,遵循系统的浅色或深色外观,并使用系统字体和 ffmpeg。请告诉我们它们对您来说如何。"
@@ -8534,6 +8542,10 @@
"source": "MDM's interface comes in 86 languages: every display language Windows 11 offers, from Afrikaans to Vietnamese, including both Chinese scripts, Spanish for…",
"text": "MDM 界面支持 86 种语言:Windows 11 提供的所有显示语言,从南非荷兰语到越南语,包括两种中文字体、西班牙语等…"
},
+ "81e129770ec4dcbd": {
+ "source": "a stream sent over RTMP, RTSP, MMS or FTP;",
+ "text": "通过 RTMP、RTSP、MMS 或 FTP 发送的流;"
+ },
"81ea369617c129d6": {
"source": "Options → Save to →",
"text": "选项 → 保存到 →"
@@ -15206,10 +15218,6 @@
"source": "Video pages (yt-dlp) and image galleries need their helpers, which the image doesn't include.",
"text": "视频页面 (yt-dlp) 和图片库需要其辅助程序,而镜像中不包含这些程序。"
},
- "e93cc4bc200a5ffe": {
- "source": "a stream sent over RTMP, RTSP, MMS or FTP.",
- "text": "通过 RTMP、RTSP、MMS 或 FTP 发送的流。"
- },
"e96fd5ce65ea0012": {
"source": "Download Mister Download Manager 0.5.2, the free, open-source download manager: Windows installer and portable zip, macOS .dmg and Linux AppImage, .deb and .rpm, plus the browser extension. No ads, no bundled software.",
"text": "下载 Mister Download Manager 0.5.2,这款免费、开源的下载管理器:提供 Windows 安装程序和便携版 zip、macOS .dmg 以及 Linux AppImage、.deb 和 .rpm,另有浏览器扩展。无广告,无捆绑软件。"
@@ -16466,6 +16474,10 @@
"source": "A text box's bottom line while it can be typed in",
"text": "可输入时文本框的底线"
},
+ "fbc41fd4efa0fd9a": {
+ "source": "Download a video; <x1/> takes a quality's selector from <x2/> (<x3/> = the best single file; <x4/> = the sound alone as the site has it, not converted; <x5/>, <x6/>, <x7/> or <x8/> = the sound as an MP3 at that bitrate, <x9/> at its best variable one; <x10/> = as Opus; <x11/> = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). <x12/>: MDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. <x13/> saves subtitles beside it: language codes from <x14/> (<x15/>), or <x16/> for every one the uploader gave; <x17/> takes the site's automatic captions instead; <x18/> puts them into the video (needs ffmpeg, MP4 or MKV). <x19/> sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for <x20/>; when it isn't connected, nothing starts.",
+ "text": "下载视频;<x1/> 从 <x2/> 获取画质选择器(<x3/> = 最佳单一文件;<x4/> = 网站提供的纯音频,不转换;<x5/>、<x6/>、<x7/> 或 <x8/> = 该比特率的 MP3 音频,<x9/> 为最佳可变比特率;<x10/> = Opus 格式;<x11/> = FLAC 格式,无损但音质不优于网站源;转换需要 ffmpeg)。<x12/>:MDM 自己的下载器通过这么多连接(默认 8 个,1 到 128 个)下载 yt-dlp 找到的每个流,HLS、DASH 等分段流则同时下载这么多片段。<x13/> 将字幕保存到旁边:语言代码来自 <x14/>(<x15/>),或 <x16/> 表示上传者提供的所有字幕;<x17/> 改为获取网站的自动字幕;<x18/> 将字幕嵌入视频中(需要 ffmpeg,MP4 或 MKV 格式)。<x19/> 通过一个网络适配器发送下载连接以及 yt-dlp(和 ffmpeg)的连接,如 <x20/>;如果未连接,则不开始任何操作。"
+ },
"fbc5c79e5fad811f": {
"source": "<g1>VS Code</g1>: in <x2/>, or <g3>MCP: Add Server</g3> in the command palette:",
"text": "<g1>VS Code</g1>:在<x2/>中,或在命令面板中选择<g3>MCP: 添加服务器</g3>:"
@@ -16474,6 +16486,10 @@
"source": "What it colours",
"text": "着色对象"
},
+ "fc0380f46b815fa6": {
+ "source": "<g1>A stream sent in many small pieces</g1> (HLS, DASH, as most sites other than YouTube send theirs) comes down that many pieces at once, each kept on disk as it arrives, then joined in order into one file, as yt-dlp joins them. Pieces encrypted with AES-128 are decrypted with the key the stream's playlist names. When their addresses expire, MDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.",
+ "text": "<g1>以许多小分块发送的流</g1>(HLS、DASH,大多数网站(YouTube 除外)都采用这种方式)会同时下载许多分块,每个分块在到达时都保存在磁盘上,然后按顺序合并成一个文件,就像 yt-dlp 合并它们一样。用 AES-128 加密的分块会用流播放列表指定的密钥解密。当它们的地址过期时,MDM 会向 yt-dlp 请求流的新列表,并继续下载仍缺失的分块。"
+ },
"fc08963d3bab24c0": {
"source": "On Ubuntu's GNOME desktop, with the desktop's own file icons.",
"text": "在 Ubuntu 的 GNOME 桌面上,使用桌面自带的文件图标。"