# Downloads de vídeo

VDM downloads videos from their web pages: YouTube, Vimeo, Dailymotion, Twitch, TikTok, X, Instagram, Facebook, Reddit, SoundCloud and well over a thousand other sites. **yt-dlp**, an open-source program whose community keeps it working as sites change, finds the video on the page; VDM's own downloader then brings it in, the way it downloads any file.

## Iniciar uma transferência de vídeo

- Give the video's page address to **Add URL** (**Ctrl+N**). VDM recognises video pages and opens the video window, already looking the page up.
- Ou escolha **Tarefas → Transferir vídeo de uma página...**, cole o endereço em **Endereço da página** e clique em **Procurar**.

Qualquer outro endereço de página que seja uma página web, e não um ficheiro, também é oferecido à janela de vídeo. Num site para o qual o yt-dlp não tem um leitor próprio, o vídeo é aquele que a página indica, quando o nomeia (no que diz aos motores de busca e nas pré-visualizações de ligações: o seu JSON-LD, `og:video` ou `twitter:player`), em vez do primeiro leitor escrito no seu HTML, e o ficheiro é nomeado como a página o nomeia.

1. Cole o endereço da página e clique em Procurar.

   [![Transferir vídeo de uma página, com a caixa Endereço da página e Procurar](https://vdm.mikaillab.com/help/images/help/video-lookup.webp)](https://vdm.mikaillab.com/help/images/help/video-lookup.webp) [![Transferir vídeo de uma página, com a caixa Endereço da página e Procurar](https://vdm.mikaillab.com/help/images/help/video-lookup-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-lookup-dark.webp)
2. Escolha uma qualidade e, em seguida, clique em Transferir Agora.

   [![A janela de vídeo após Procurar: as qualidades com os seus tamanhos, Guardar em, Nome do ficheiro e Legendas](https://vdm.mikaillab.com/help/images/help/video-qualities.webp)](https://vdm.mikaillab.com/help/images/help/video-qualities.webp) [![A janela de vídeo após Procurar: as qualidades com os seus tamanhos, Guardar em, Nome do ficheiro e Legendas](https://vdm.mikaillab.com/help/images/help/video-qualities-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-qualities-dark.webp)
3. A transferência decorre como a de qualquer outro ficheiro, na respetiva linha e janela.

   [![A janela de progresso de um vídeo enquanto o yt-dlp o carrega](https://vdm.mikaillab.com/help/images/help/video-progress.webp)](https://vdm.mikaillab.com/help/images/help/video-progress.webp)

## yt-dlp e ffmpeg

VDM offers its two helpers on its first start, and again the first time they are needed. It downloads them from their official releases with its own downloader, so a cut connection resumes, and uses your proxy settings:

- **yt-dlp** (about 23 MB) looks the page up and finds where the video and its sound come from; VDM downloads them ([How a video comes down](#how-a-video-comes-down)). The first time, click **Install yt-dlp**. VDM checks the download against the signature yt-dlp's developers publish before it uses it.
- **ffmpeg** (about 80 MB) joins a video and its sound when a site keeps them apart, which most sites do for the higher qualities, and turns the sound into an MP3, Opus or FLAC file. Click **Install ffmpeg** when VDM offers it. VDM installs only a build its maintainers checked: the download must match the SHA-256 in VDM's own list of builds, which carries VDM's signature. When that list can't be downloaded or checked, VDM says so and installs nothing; you can still choose your own ffmpeg in **Helpers...**.
- **Each processor gets its own build:** yt-dlp's for x64, ARM64 and 32-bit Windows and for Linux on ARM, and ffmpeg's for x64 and ARM64 Windows. No ffmpeg is built for 32-bit Windows that VDM can check, so there VDM offers none: choose your own in **Helpers...** (below), or download the qualities that come with their sound.

You can install them ahead of time too: in **Helpers...**, a helper that isn't there yet says *Not installed yet*, and **Install yt-dlp**, **Install ffmpeg** or **Install gallery-dl** in its row downloads VDM's own copy, checked the same way, and keeps it up to date from then on. Where VDM has no copy for your system, the button is greyed out and the row says what to do instead.

Both are kept in a `tools` folder in VDM's data folder. For YouTube, yt-dlp also needs a JavaScript runtime, which VDM can download too: see [A JavaScript runtime for YouTube](#javascript-runtime).

### Manter atualizados

Sites change all the time, and a newer yt-dlp is usually what makes a page that stopped working download again. So VDM keeps its own copies of yt-dlp, gallery-dl, ffmpeg and Node.js up to date by itself:

- **When:** a few seconds after VDM starts, then again while it runs: yt-dlp and gallery-dl at most every 6 hours, Node.js once a day, ffmpeg once a week (a newer ffmpeg comes when VDM's list of checked builds names one, usually with a new version of VDM). VDM remembers when it last asked, so starting it many times doesn't ask again.
- **How:** each new version is downloaded and checked exactly as the first install was (yt-dlp's, gallery-dl's and Node.js's signed checksum lists, VDM's signed list of ffmpeg builds), never an older one, and installed beside the one in use.
- **Quando muda:** apenas enquanto nenhuma transferência, pesquisa ou outra execução estiver a usar esse auxiliar. Um vídeo a ser transferido quando o novo yt-dlp chega termina com aquele com que começou; o novo é usado a partir do momento em que a última transferência que o usava termina.
- **A versão anterior permanece**, para que possa voltar a ela. As mais antigas são removidas.
- **A video that fails** with an error that usually means yt-dlp is out of date for the site (*Unable to extract*, *Unsupported URL*, YouTube's *Sign in to confirm you're not a bot*, *HTTP Error 403*, a failed signature or *n challenge*, *Requested format is not available*), or a gallery whose gallery-dl reports an unexpected error: VDM looks for a newer version at once, installs it if there is one, and tries that download again with it, once. Its log says so. If there is none, the error stands as before.
- **A check that fails** (no connection, GitHub busy) is tried again an hour later. It is written in VDM's log, never shown as an error.

In **Helpers...**, each of VDM's own copies says how it stands: *Up to date*, *Version X available*, *Updated to X*, or *Version X is ready: used once its downloads end*. **Update** gets the newest version of that one now, **Go back to X** uses the previous version again (automatic updates then wait for a version newer than the one you left; **Update** brings it back), and **Check for updates** checks them all. Untick **Keep VDM's helpers up to date automatically** to update only when you ask. Programs you chose with **Use another program...**, and your system's copies, say *Updated by you*: VDM leaves them to you.

Na linha de comandos, `update-helpers` verifica e atualiza todos e imprime as suas versões ([Linha de comandos](https://vdm.mikaillab.com/pt/help/command-line.html)).

### Utilizar as suas próprias cópias

On Linux and macOS, VDM finds yt-dlp, ffmpeg and gallery-dl on your `PATH` and in the usual package-manager folders, including Homebrew's. A program you selected yourself takes priority, followed by VDM's own installed copy. The system copy is used when neither is present, and your package manager keeps it up to date: VDM never downloads over it on its own. If your distribution's yt-dlp is old, **Use VDM's own copy** in Helpers downloads VDM's, which keeps itself current and is used from then on.

Already have yt-dlp or ffmpeg for another program? Use those instead of a second copy: in **Download video from a page**, click **Helpers...**, then **Use another program...** beside yt-dlp or ffmpeg, and choose the program. VDM runs it once to check that it is that program, and uses it from then on, the command line too. VDM doesn't update a program you chose: keep it up to date yourself (yt-dlp: `yt-dlp -U`, or your package manager). **Use VDM's own copy** goes back to the one VDM downloads and checks.

[![A janela dos auxiliares de vídeo: yt-dlp e ffmpeg, cada um com a sua versão e Utilizar outro programa...](https://vdm.mikaillab.com/help/images/help/video-helpers.webp)](https://vdm.mikaillab.com/help/images/help/video-helpers.webp) [![A janela dos auxiliares de vídeo: yt-dlp e ffmpeg, cada um com a sua versão e Utilizar outro programa...](https://vdm.mikaillab.com/help/images/help/video-helpers-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-helpers-dark.webp)

Auxiliares...: utilizar a sua própria cópia do yt-dlp ou do ffmpeg.

### Um runtime JavaScript para o YouTube

YouTube hides most of a video's qualities behind small puzzles that yt-dlp solves with a JavaScript runtime: **Node.js**, **Deno**, **QuickJS** or **Bun**. Without one, a look-up is slow, the list is short (sometimes only the sound and a low quality) or it fails with *Requested format is not available*, and VDM says so: *YouTube needs a JavaScript runtime to list its video qualities*. Other sites don't need one.

The quickest way is VDM's own copy of Node.js: click **Install Node.js** beside that message, or, in **Helpers...**, **Install Node.js** in the **JavaScript runtime (for YouTube)** row. The first start's setup offers it too, in its **Video helpers** step, when your computer has no runtime. VDM downloads Node.js's newest long-term support (LTS) build for your system and processor from [nodejs.org](https://nodejs.org) with its own downloader (about 40 MB on Windows, 60 MB on Linux and macOS; Windows x64, ARM64 and 32-bit, Linux x64 and ARM64, macOS), checks the release's checksum list against the signing keys of Node.js's releasers and the download against that list before it uses it, keeps only the `node` program in the `tools` folder beside yt-dlp and ffmpeg, and from then on tells yt-dlp to use it. It keeps it up to date the way it keeps yt-dlp's ([Keeping them up to date](#helper-updates)), never with an older version. 32-bit Windows gets the newest LTS line Node.js still builds for it, 22, which Node.js supports until April 2027; after that VDM has no Node.js for 32-bit Windows, and a runtime of your own (**Use another program...**) is needed there. VDM never installs a Node.js older than the LTS line current when that VDM was made, whatever nodejs.org's list says. The video is looked up again by itself once Node.js is in.

Already have one? Then nothing needs downloading: a runtime on your computer comes first. VDM finds Deno, Node.js (22 or newer, also one installed with nvm), QuickJS and Bun by itself, in the order yt-dlp prefers them, and passes over one too old for yt-dlp (Node.js 20, say) or a Node.js whose line has reached its end of life on nodejs.org's schedule (then VDM's own is used, which it keeps on a supported release). A supported Node.js of your computer's is used as it is: you or your package manager keep it up to date. Helpers says which one yt-dlp uses and where it is: *Node.js 24.11.0, your system's, nothing to download*. To use another one, a portable copy or one that isn't on the `PATH`, click **Use another program...** in that row and choose its program (`node.exe`, `deno.exe`, `qjs.exe`, `bun.exe`): VDM asks it for its version first and refuses one yt-dlp can't use. **Use VDM's own copy** goes back to the one VDM finds or downloads. (Choosing your own runtime was [YairDies](https://github.com/YairDies)' idea.)

Earlier versions of VDM installed Deno. That copy keeps working until VDM's Node.js is in place (the next update check brings it, or **Use VDM's own copy**); then yt-dlp switches to Node.js and VDM removes its own Deno, once no download is using it. A Deno you installed yourself is never touched, nor VDM's own once you chose it with **Use another program...**. While VDM asks the runtimes on your computer for their versions, Helpers says *Looking for a JavaScript runtime on this computer...*.

If you'd rather install one yourself, any of them works; then look the video up again. If VDM still says so, the new program's folder isn't on the `PATH` VDM started with (Windows' installers add it for programs started after them): quit VDM (**Tasks → Exit**) and start it again.

- **Windows**: `winget install DenoLand.Deno`, ou `winget install OpenJS.NodeJS.LTS`. Os instaladores em [deno.com](https://deno.com) e [nodejs.org](https://nodejs.org) também funcionam.
- **Ubuntu e Debian**:`sudo apt install nodejs`
- **Fedora**:`sudo dnf install nodejs`
- **Arch**: `sudo pacman -S nodejs`, ou`sudo pacman -S deno`
- **macOS**: `brew install deno`, ou`brew install node`
- **Qualquer sistema**, Deno apenas para o seu utilizador: `curl -fsSL https://deno.land/install.sh | sh` (no Windows, em PowerShell: `irm https://deno.land/install.ps1 | iex`)

A distribution's yt-dlp can also be too old for YouTube: if the list stays short, click **Use VDM's own copy** beside yt-dlp in **Helpers...**. A yt-dlp older than 2025.11.12 can't be told of a runtime at all; VDM then leaves the runtime out rather than stop the look-up.

## Escolher a qualidade

1. Wait for the list. It shows each quality with its size, best first, then the sound alone: - A video's line says its resolution, the file it makes, its picture's codec, its frame rate and whether it is HDR: `2160p MP4 · AV1 · 60 fps · HDR`. MP4 is only the file: what's inside it can be AV1, VP9 or H.264, and the codec says which, the very one that downloads (should the site no longer offer that stream, VDM takes the nearest of the same codec and resolution first). A resolution that comes in several (AV1, VP9 and H.264, HDR and SDR) has a line for each: AV1 makes the smallest file, H.264 plays on the most devices, and an HDR video looks washed out on a screen without HDR. `SDR` is said only beside an HDR line of the same resolution. - **Most compatible (H.264 + AAC)**, second in the list: the best H.264 video the site has (YouTube's usually go up to 1080p) with AAC sound (in stereo when the site has it beside surround), in an MP4 that Premiere Pro and other editors, older TVs and most phones open as it is. YouTube's best qualities are AV1 or VP9 with Opus sound, which some of them can't read. The line says its resolution: `Most compatible (H.264 + AAC) · 1080p`. VDM picks those streams, it doesn't convert anything: when the site has no H.264 video with AAC sound the line isn't there, and when the best line already is that, it isn't listed twice. - The size is that of exactly what downloads, the video and its sound. A size with `~` before it (`~532 MB`) is only an estimate: the site didn't say the size, so it comes from the stream's bitrate and length. - **Audio only, original**: the site's own file, not converted, once for each type the site has it in (WebM with Opus inside, M4A), the best first. The best sound there is, in the smallest file. - **Audio only MP3** at its best variable bitrate (VBR) and at 320, 256, 192 and 128 kbps, for players that only take MP3. - **Audio only OPUS**: an `.opus` file. When the site's sound is Opus already (YouTube's usually is), it's only moved into that file, not converted, so nothing is lost. - **Audio only FLAC**: a lossless `.flac` file, for a library or a program that wants FLAC. It can't add quality: the site's sound is already compressed with losses, and FLAC keeps it exactly as it came, in a file several times bigger. The window says so when you choose it.
2. Escolha uma opção. Sem o ffmpeg, só são listadas as qualidades que incluem o respetivo áudio, e não são disponibilizadas as opções MP3, Opus ou FLAC (que são criadas pelo ffmpeg).
3. Verifique **Guardar em** (a pasta da categoria Vídeo por predefinição) e **Nome do ficheiro**, que deriva do título do vídeo. Um título longo é encurtado, no final de uma palavra, para que os ficheiros guardados ao lado do vídeo enquanto este é transferido se ajustem ao limite do sistema para o comprimento de um caminho; um nome que digite é mantido como o digitou.
4. When the video's sound comes in several languages, choose one in **Sound** (see [The sound's language](#sound-language)). Choose **Subtitles** if you want them (see below). **Embed chapters** is ticked: see [Chapters](#chapters). To keep only a stretch of it, tick **Only a part**: see [Download only a part](#part). For a sound alone, **Put the video's thumbnail in the audio file as its cover** is ticked: see [A cover for the sound](#cover).
5. Clique em **Transferir Agora**, ou em **Mais tarde** para adicioná-lo à lista sem iniciar.

O vídeo é então transferido como qualquer outro ficheiro, com a sua própria linha na lista e a sua janela de progresso.

## Como um vídeo é transferido

yt-dlp looks the page up and picks the quality's video and sound. VDM's own downloader then brings each of them in, one after the other, the way it downloads any file:

- **Através de várias ligações**: tantas quantas as que **Opções → Ligação** permite para um ficheiro. A tabela de ligações da janela de progresso mostra cada uma, e o mapa de segmentos mostra o vídeo e depois o som.
- **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, VDM asks yt-dlp for the stream's new list and carries on with the pieces still missing.
- **Sob os seus limites de velocidade**: os do **Limitador de Velocidade**, os do próprio vídeo (o separador **Limitador de Velocidade** da sua janela de progresso) e o limite para todas as transferências em conjunto. Uma alteração é aplicada de imediato.
- **Paused and resumed** like a file, also after quitting VDM: 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). VDM asks yt-dlp for a fresh one for the same quality and carries on from where it stopped.

Depois, o yt-dlp faz o que faz após uma transferência: junta o vídeo e o seu som com o ffmpeg num único MP4, guarda ou incorpora as legendas, coloca os capítulos no ficheiro e converte o som para uma escolha de MP3, Opus ou FLAC.

YouTube serves each connection's long requests slowly, so VDM asks for the video in pieces of 10 MB at most, as yt-dlp does, and several at once.

Alguns vídeos o yt-dlp ainda transfere por si só, através da sua própria ligação, e a janela de progresso indica-o:

- um fluxo em direto ainda a ser gravado ([A gravar um fluxo em direto](#recording-a-live-stream));
- um fluxo enviado por RTMP, RTSP, MMS ou FTP;
- 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.

Para esses, um novo limite de velocidade reinicia a transferência a partir do ponto onde estava ([Limites de velocidade](#speed-limits)); um fluxo em direto que está a ser gravado retoma-o na próxima vez que iniciar.

### A gravar um fluxo em direto

A live stream, a broadcast still going on, is recorded by yt-dlp with ffmpeg into an unfinished file, so VDM can't know its length. While it records, the progress window says **Recording...**, and **Downloaded** and **Transfer rate** follow the size of what has been recorded so far.

- **A gravar... mostra a partir do momento em que o gravador abre o seu ficheiro**, depois de se ter ligado ao fluxo (alguns segundos após o início da transferência; até então a janela indica **A ligar...**; um fluxo que não pode ser alcançado nunca chega lá). **Transferido** mostra o que chegou ao disco, e o gravador escreve-o em blocos de 256 KB, por isso permanece a 0 KB até o primeiro bloco ser escrito (o que pode demorar um pouco num fluxo de baixa taxa de bits), depois cresce bloco a bloco. **Parar e guardar** antes do primeiro bloco ainda não guarda nada: a transferência fica parada, com o seu ficheiro vazio, para **Retomar** gravar de novo. Um ficheiro inacabado vazio deixado por uma execução anterior é removido quando a gravação recomeça (não contém nada), por isso uma gravação retomada mostra **A gravar...** a partir do mesmo momento.
- **Stop and save** is what the progress window's pause button reads for a live stream that is recording. It, **Stop** and **Stop All** in the list (toolbar and menus), a queue's stop (by hand, at its scheduled stop time, or through the API) and the phone page's pause all end the recording and keep it. VDM makes the recording an MP4 itself, as yt-dlp does when a live stream ends: the streams are copied as they are, nothing is converted. The window says **Saving...** meanwhile, and the download is then **Complete**, as when a live stream ends by itself: the queue goes on and the completion notice and actions run.
- **Os últimos momentos podem estar em falta:** no máximo o último 1 MiB que o gravador ainda não tinha escrito. Isso corresponde a alguns segundos de vídeo, e até cerca de um minuto para um fluxo apenas com som.
- **Se o MP4 não puder ser criado**, a gravação é mantida como um ficheiro MPEG-TS (`.ts`), que a maioria dos leitores abre. Se isso também não for possível, a transferência indica-o e o ficheiro inacabado permanece como está.
- **A gravação é removida apenas quando o MP4 a contém na totalidade**: desde que a gravação esteja a um segundo, a sua imagem e o seu som também (durações do ffprobe; sem elas, pelo menos 90 % do tamanho da gravação). Um MP4 mais curto é mantido com a gravação ao lado, como `My stream (recording 1).ts`, e o registo da transferência indica o motivo (se a gravação não puder ser renomeada, o registo indica-o: permanece como o ficheiro inacabado).
- **A live stream that ends by itself** while VDM records it is made an MP4 the same way, with the same check: yt-dlp is told to leave its recording as it is, and VDM makes the MP4 of it (when it has ffmpeg and the recording is the MPEG-TS yt-dlp made). From the moment yt-dlp says the recording is finished, the window says **Saving...** (only a moment when there is no MP4 to make), and a Stop waits for it: the download is then **Complete**. The recording goes only when the MP4 holds all of it, it is kept beside a shorter one, and if no MP4 can be made it is the download's `.ts` file (`My stream (recording 1).ts` when `My stream.ts` is taken). Subtitles asked to go inside the video are saved beside it instead, and no chapters are added: the recording isn't changed once it is made.
- **MP3, Opus ou FLAC de uma transmissão em direto:** o som é guardado conforme solicitado, e a gravação da qual foi feito permanece ao lado, como `My stream (recording 1).ts`.
- **Uma imagem e um som que o yt-dlp juntou** depois de a transmissão terminar permanecem ao lado do vídeo, como o yt-dlp os deixou, quando o vídeo não contém ambos na totalidade; caso contrário, são eliminados.
- **A recording yt-dlp finished but VDM didn't make an MP4 of** (a try that failed just after, or VDM closed meanwhile) is still MPEG-TS under the MP4's name. Before the download starts again, VDM makes it an MP4 with the same check (the list says **Merging** meanwhile, and a Stop waits for it, then stops the download before anything else runs): when the MP4 holds all of it, it is the download. Otherwise the recording is kept as `My stream (recording 1).ts` and the download starts over. Without VDM's ffmpeg it is set aside the same way. The same goes for a normal video in pieces (HLS) VDM's engine left as MPEG-TS in `My video.mp4` when yt-dlp failed or was stopped while it fixed it up.
- **Uma gravação em várias partes** (uma parte de imagem e uma de som que o yt-dlp deixou separadas) é transformada num único MP4 com todas elas. Se não puderem ser unidas, a transferência indica-o e cada parte permanece como está.
- **Cancel** in the progress window only stops the download: the recording stays in its unfinished file. So does reaching a [download limit](https://vdm.mikaillab.com/pt/help/queues-and-scheduler.html#download-limits), which counts a recording as it grows and stops it as it stops other downloads. **Resume**, or VDM starting the download again by itself (after a network adapter change or the download limit, or a queue that starts when VDM opens), records the stream anew. It first sets the earlier recording aside, next to it, as `My stream (recording 1).ts` (then `(recording 2)`, and so on), so nothing is recorded over; so it does when the stream has ended meanwhile and the download goes on as a normal video. (An unfinished MPEG-TS file yt-dlp downloads directly, without its resume state, is taken for a recording the same way: it starts over, what it had kept aside.) If that file can't be set aside, VDM doesn't record over it and says so.
- Estas gravações mantidas não são os ficheiros próprios da transferência: **Eliminar** com os seus ficheiros deixa-os.
- Closing VDM while a live stream records, or while it saves one, stops it without saving: the recording stays in its unfinished file (a half-made MP4 is left as `<name>.temp.mp4`, which **Delete** with its files removes), and it is set aside when the download starts again. The command line (`voltdownloadmanager-cli`) doesn't save a live stream this way.
- Um fluxo em direto guardado por uma paragem de fila conta como concluído, por isso uma fila diária não o inicia novamente no dia seguinte.

## The sound's language

More and more videos come with their sound in several languages: the one they were made in, the original, and others dubbed (YouTube's dubbed and automatically dubbed tracks, for one). When the site names each track's language, **Download video** has a **Sound** list under **File name**, the original first and marked: `English, original`, then `Deutsch · German`, `Español · Spanish`... (each language in its own words, and in English when that differs). A video in one language has no such list and looks as before.

- **The qualities follow it.** Every line in the list is then in that language: a video line joins its picture with that language's sound and its size is theirs, and **Audio only** (as the site has it), **MP3**, **Opus** and **FLAC** take that language's sound. A video line whose file carries another language's sound (YouTube's 360p in one file) isn't offered for a dubbed language; without ffmpeg, which joins a picture and a sound, only the sound in that language is.
- **One sound track per file.** The file has the language chosen, never two.
- **For every video and playlist**: **Options → Regional → Videos' sound** chooses one language, which every video looked up starts on when it has it (in **Download video**, where you can still choose another, and in the button over a video) and which every video of a playlist downloads with. A video without that language comes with its original sound. **Each video's original**, the default, keeps every video in the language it was made in.
- **The button over a video** says the language of each line's sound in its menu, and its **Audio** tab has each other language's sound as the site has it too.
- If the site no longer offers that language when the download starts, the video comes with its original sound.

## A cover for the sound

A sound saved alone has no picture, so music players show an empty square. With **Put the video's thumbnail in the audio file as its cover** ticked in **Download video** (under **Embed chapters**), the picture the site shows for that video becomes the file's cover once it is saved.

- It is ticked to begin with, and stays as you leave it for the next video. It applies to a playlist's sound too.
- **Which files**: an M4A as the site has it (**Audio only, original M4A**), and an MP3, Opus or FLAC. A WebM (**Audio only, original WEBM**, YouTube's Opus as it comes) can't hold a cover: choose M4A or Opus instead. Videos are saved as they are.
- **How**: VDM brings the picture in with its own connections (your proxy and network adapter, as every download), from where the site says that video's picture is, nothing from anywhere else. ffmpeg puts it into the file as its cover (Opus files as the picture comment music players read in them), copying the sound as it is: nothing is encoded again. A WebP picture is made a JPEG first.
- **It needs ffmpeg.** Without it, or when the picture can't be had, the file is saved as before, without a cover, and the download's log says why.

## Legendas

Quando o vídeo tem legendas, a lista **Legendas** apresenta-as: primeiro, as línguas das legendas carregadas pelo utilizador que enviou o vídeo (e **Todas as do carregador**, quando há várias), depois as legendas automáticas do site, assinaladas como *automáticas*. Entre estas, só são listadas as legendas na língua falada e as respetivas traduções para inglês e para a língua da interface. Sites como o YouTube oferecem traduções automáticas para todas as línguas disponíveis.

[![A lista de Legendas da janela de vídeo, com Colocá-las no vídeo](https://vdm.mikaillab.com/help/images/help/video-subtitles.webp)](https://vdm.mikaillab.com/help/images/help/video-subtitles.webp) [![A lista de Legendas da janela de vídeo, com Colocá-las no vídeo](https://vdm.mikaillab.com/help/images/help/video-subtitles-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-subtitles-dark.webp)

Escolha as legendas; selecione «Colocá-las no vídeo» para as manter dentro do ficheiro.

- Se forem guardadas junto ao vídeo, ficam com o nome deste e o código da língua: `My video.fr.srt`. Leitores como o VLC e o MPV detetam-nas automaticamente. Com o ffmpeg, são sempre SRT; sem ele, são guardadas no formato original do site (muitas vezes WebVTT, `.vtt`).
- **Colocá-las no vídeo** coloca-as dentro do ficheiro, como faixas que ativa no leitor. Requer ffmpeg e um vídeo MP4 ou MKV. A gravação de uma transmissão em direto mantém-nas ao lado ([A gravar uma transmissão em direto](#recording-a-live-stream)).
- Uma opção só de áudio (**Só áudio**, MP3, Opus, FLAC) não inclui legendas.

VDM offers the same choice again for the next video when it has that language.

A site may refuse subtitles when it's asked too often: YouTube does, most of all for its translated captions. The video is saved all the same. VDM asks for the subtitles once more after 20 seconds, and if they still don't come, the **Download complete** window and the download's log say which ones are missing and why. Try them again later. When subtitles meant to go inside the video only come on that second try, they're saved beside it instead.

## Capítulos

Muitos vídeos são divididos em capítulos na sua página: a lista do YouTube por baixo do leitor, com um título e uma hora de início para cada parte. Com **Incorporar capítulos** selecionado, em **Legendas**, eles são incluídos no ficheiro de vídeo, para que leitores como o VLC, MPV, MPC-HC e o Media Player do Windows os listem e saltem de um para o outro.

- Está selecionado para começar e mantém-se como o deixou para o próximo vídeo.
- Precisa do ffmpeg, que os escreve. Um vídeo sem capítulos é guardado como está.
- Vão para um vídeo (MP4, MKV, WebM) e para o som como o site o tem (**Só áudio, original**), não para um ficheiro MP3, Opus ou FLAC, nem para a gravação de uma transmissão em direto.
- A linha de comandos (`video-get`) também os inclui, sempre que o ffmpeg estiver presente.

Com **Dividir em capítulos** selecionado (ao lado de **Incorporar capítulos**, ou abaixo numa língua longa), o vídeo também é dividido em ficheiros de capítulo individuais (`<filename> - <NN> - <chapter name>.<ext>`, ou `<filename> - <NN>.<ext>` quando sem título). O vídeo completo também é mantido.

- Requer ffmpeg e permanece como o deixou para o próximo vídeo.
- Splitting uses stream copy without re-encoding, so it runs losslessly and near-instantly. Each cut lands on a keyframe, so a chapter can start a second or a few early (yt-dlp's `--force-keyframes-at-cuts` makes it exact, but re-encodes, so VDM does not turn it on by default).
- Um vídeo sem capítulos ou com um único capítulo é guardado como um único ficheiro sem divisão.
- O título de um capítulo é encurtado para se ajustar aos limites do sistema para nomes de ficheiros e caminhos; numa pasta muito profunda, um capítulo é nomeado apenas pelo seu número.
- Não é oferecido com **Apenas uma parte**: uma parte não tem capítulos.
- As opções `video-get` e `playlist-get` da linha de comandos suportam-no via `--split-chapters`.
- Eliminar a transferência juntamente com os seus ficheiros também limpa os seus ficheiros de capítulo divididos, preservando ficheiros não relacionados na mesma pasta.

## Transferir apenas uma parte

Para guardar apenas um trecho de um vídeo ou de um som (uma cena, uma música de uma longa mistura, alguns minutos de um podcast), selecione **Apenas uma parte** na linha **Parte**, em **Legendas**, e digite onde começa e onde termina.

[![A linha Parte da janela de vídeo: Apenas uma parte selecionada, de 1:30 a 4:10, um corte rápido, o tamanho da parte ao lado](https://vdm.mikaillab.com/help/images/help/video-part.webp)](https://vdm.mikaillab.com/help/images/help/video-part.webp) [![A linha Parte da janela de vídeo: Apenas uma parte selecionada, de 1:30 a 4:10, um corte rápido, o tamanho da parte ao lado](https://vdm.mikaillab.com/help/images/help/video-part-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-part-dark.webp)

Apenas de 1:30 a 4:10, corte rápido; uma parte não tem legendas nem capítulos.

- Os **Tempos** são digitados como `1:30` (um minuto e meio), `1:02:03` (uma hora, dois minutos e três segundos) ou em segundos (`90`). As caixas começam no vídeo completo, de 0:00 até ao seu fim; **Para cima** e **Para baixo** movem um tempo em um segundo, **Page Up** e **Page Down** em dez. Uma caixa fica vermelha enquanto o seu tempo não pode ser (não é um tempo, o fim vem antes do início, está para além do fim do vídeo, ou a parte é o vídeo inteiro), e **Transferir Agora** indica o porquê.
- **Corte rápido, nos fotogramas-chave**, a primeira opção: a imagem e o som são copiados como estão, nada é recodificado, por isso é rápido e não perde qualidade. Uma imagem só pode começar de forma limpa num fotograma-chave, por isso a parte começa no último antes do seu início: no máximo, alguns segundos antes, nunca depois. Um som isolado num M4A começa onde indicar; num WebM (Opus), no último ponto de procura antes, o que pode ser dez segundos antes.
- **Corte exato, recodificado**: a parte começa e termina onde indicou. O ffmpeg recodifica-a (H.264 e AAC num MP4, VP9 e Opus num WebM, o som isolado no seu próprio formato), o que demora tanto tempo quanto a codificação desses minutos no seu computador, e a imagem pode perder um pouco de qualidade.
- **O tamanho** junto aos tempos é uma estimativa: a proporção da parte em relação ao todo.
- **Nome do ficheiro** indica a parte: `My video (1m30s-4m10s).mp4`. Um nome que digite é mantido como o digitou.
- **Sem legendas e sem capítulos** acompanham uma parte: seriam os do vídeo inteiro, nos tempos do vídeo inteiro. **Legendas** e **Incorporar capítulos** ficam a cinzento enquanto **Apenas uma parte** estiver selecionado.
- É necessário o **ffmpeg**, que corta a parte, e um vídeo cuja duração o site indique (não uma transmissão em direto). Os vídeos de uma lista de reprodução são transferidos na íntegra.
- **Do navegador**: o menu do botão **Transferir vídeo** sobre um vídeo tem **Transferir uma parte a partir daqui...**. Abre esta janela com **Apenas uma parte** selecionado e o seu início onde o vídeo está a ser reproduzido.

How a part comes down: yt-dlp's ffmpeg finds the part in each stream by the stream's own index (an MP4's or a WebM's, an HLS stream's playlist) and reads only that part, never the whole file. What it reads comes in through VDM's own connections, in requests of a MB at most, several at once: a part comes about as fast as a whole video would (YouTube sends one long request at about the video's own pace), under your speed limits (a change applies at once), and through your proxy or network adapter. The progress window shows what has come against the part's estimated size. Paused and resumed, a part starts again from its beginning: ffmpeg can't go on from the middle of a cut. A stream sent another way (a DASH manifest, RTMP) is read by ffmpeg itself.

## Listas de reprodução e canais

Cole o endereço de uma lista de reprodução (`youtube.com/playlist?list=…`) ou dos vídeos de um canal (`youtube.com/@name/videos`) e clique em **Procurar**. Em vez das qualidades de um vídeo, a janela lista os vídeos da lista, cada um com a sua duração.

[![A janela de vídeo listando os vídeos de uma lista de reprodução, cada um com a sua duração e uma caixa para selecionar, e uma qualidade para todos](https://vdm.mikaillab.com/help/images/help/video-playlist.webp)](https://vdm.mikaillab.com/help/images/help/video-playlist.webp) [![A janela de vídeo listando os vídeos de uma lista de reprodução, cada um com a sua duração e uma caixa para selecionar, e uma qualidade para todos](https://vdm.mikaillab.com/help/images/help/video-playlist-dark.webp)](https://vdm.mikaillab.com/help/images/help/video-playlist-dark.webp)

Uma lista de reprodução: todos os vídeos selecionados, uma qualidade para todos.

- Uma lista de reprodução é listada na íntegra, à medida que os seus vídeos são carregados: a linha acima da lista indica o progresso ("A listar os vídeos: 1.200 de 6.000"). **Parar de listar** mantém os que foram listados até agora, e **Listar o resto** continua a partir daí. Se o site deixar de responder a meio (o YouTube pode fazê-lo, se for solicitado com demasiada frequência), a janela indica após quantos vídeos e porquê, e **Listar o resto** tenta novamente a partir daí.
- Um canal é listado 50 vídeos de cada vez, os mais recentes primeiro. **Carregar mais** lista os próximos 50.
- Cada vídeo começa selecionado. Desselecione os que não quer, ou use **Selecionar tudo** e **Não selecionar nada**. Vídeos privados e eliminados ficam a cinzento e não podem ser selecionados.
- **The sound's language**: every video of the list downloads with **Options → Regional → Videos' sound**'s language when it has it, else its original ([The sound's language](#sound-language)).
- **Qualidade** aplica-se a todos os vídeos: **Melhor qualidade**, **Mais compatível (H.264 + AAC)** (a melhor imagem H.264 de cada vídeo com som AAC; um vídeo que não tenha nenhum não é transferido), **Até** uma altura (cada vídeo nessa altura, ou a mais próxima abaixo dela), **Só áudio, original**, **Só áudio MP3**, **Só áudio OPUS** ou **Só áudio FLAC**. Sem o ffmpeg, apenas as qualidades que vêm com o seu som são oferecidas, e não MP3, Opus ou FLAC.
- Os vídeos vão para uma pasta com o nome da lista, dentro de **Guardar em**, cada um com o seu próprio título.

**Transferir Agora** adiciona cada vídeo como a sua própria transferência e inicia a fila principal, que executa tantos em simultâneo quanto definido no [Agendador](https://vdm.mikaillab.com/pt/help/queues-and-scheduler.html) (**Transferir N ficheiros ao mesmo tempo**). **Mais tarde** adiciona-os sem iniciar. Adicionar mais de 500 de uma vez pergunta primeiro.

VDM lists at most 20,000 videos of one list.

Um endereço de página que aponta para um vídeo dentro de uma lista de reprodução ou um mix (por exemplo `watch?v=…&list=…`) transfere esse vídeo, nunca a lista inteira.

## Limites de velocidade

Videos keep to the [Speed Limiter](https://vdm.mikaillab.com/pt/help/connections-and-speed.html#speed-limiter): the limit for one file, a video's own limit (the **Speed Limiter** tab of its progress window), and the limit for all downloads together, which they share with every other download. VDM's own downloader brings them in, so a change applies at once, as for a file.

A video yt-dlp downloads by itself ([How a video comes down](#how-a-video-comes-down)) takes a limit only as it starts: when you turn the limiter on or off, change its settings or the video's own limit, VDM stops it and starts it again with the new limit, and it goes on from where it was (the log says "Stopped: the speed limit changed; starting again with it"). A live stream that is recording is the exception: restarting it would cut the recording, so it keeps recording and takes the limit the next time it starts. Under the limit for all downloads, such videos share it evenly: when another starts, the ones running with more than their share start again with it; when one ends, the others keep theirs. A gallery's pictures that VDM brings in follow a change at once; what gallery-dl still fetches itself starts again with the new limit, skipping the files already saved. Other changes (torrents taking more or less of the limit for all downloads, **Only while I'm using the computer**) apply to the next one that starts.

## Através do adaptador de uma VPN

With **Options → Proxy / Socks → [Network adapter](https://vdm.mikaillab.com/pt/help/options.html#proxy--socks)** set, video downloads go through that adapter too, with the same kill switch as other downloads. VDM's own downloader opens its connections through the adapter as for any file; for yt-dlp's look-ups (and what it downloads itself, with the ffmpeg it starts) VDM hands it a proxy of its own on this computer, and opens every connection through the adapter, looking the names up with the DNS you chose in **Options → Connection** (without an adapter, yt-dlp uses the system's DNS). When the adapter disconnects, the video download stops, and it starts again when the adapter is back. Formats sent over RTMP, RTSP, MMS or FTP can't go through it and are refused.

## Sites que exigem início de sessão

Alguns vídeos só são reproduzidos para um utilizador com sessão iniciada: um vídeo de membro ou privado, um com restrição de idade. E o YouTube, por vezes, pede a qualquer utilizador de uma rede de que duvida (uma VPN, um endereço partilhado ou na nuvem) para "Iniciar sessão para confirmar que não é um bot". O yt-dlp precisa então dos cookies do seu navegador, os pequenos ficheiros que o mantêm com sessão iniciada.

- **O botão Transferir vídeo por cima do vídeo** passa os cookies dessa página, da janela e perfil em que está (uma janela privada, um contentor do Firefox), para a pesquisa e a transferência, para que esteja com sessão iniciada como está no navegador. Nada a configurar. Cada cookie vai com o domínio para o qual o navegador o guarda, por isso um início de sessão no YouTube Music (music.youtube.com) ou no site móvel do YouTube também chega a www.youtube.com.
- Um **endereço colado** (Adicionar URL, Transferir vídeo de uma página, uma lista de reprodução): escolha o seu navegador em **Opções → Inícios de Sessão de Sites → Cookies para sites de vídeo**. O yt-dlp lê, então, os cookies desse navegador neste computador para cada vídeo que pesquisa ou transfere. Quando a extensão transmite os cookies da própria página, estes são usados em vez disso: são dessa página e dessa sessão.
- **Uma conta secundária, num perfil próprio**: não tem de emprestar a sua conta principal ao yt-dlp. Crie um segundo perfil no seu navegador, inicie sessão no site com uma conta secundária e coloque esse perfil em **Perfil** (o seu nome, ou a sua pasta com **...**). O yt-dlp lê apenas os cookies desse perfil. Os programadores do yt-dlp também aconselham isto: um site pode limitar uma conta que vê ser usada por um programa.

Signed in, YouTube sometimes refuses what it gives a visitor: its servers answer the video with *HTTP Error 403: Forbidden*, or the look-up with its bot check, where a private window plays it. When YouTube refuses a video anyone may watch that way, VDM looks it up once more without your cookies, as a private window would, and the download's log says so. A private, members' or age-restricted video keeps them.

[![Opções, Inícios de Sessão de Sites: Cookies para sites de vídeo, Do navegador: Firefox](https://vdm.mikaillab.com/help/images/help/options-logins.webp)](https://vdm.mikaillab.com/help/images/help/options-logins.webp) [![Opções, Inícios de Sessão de Sites: Cookies para sites de vídeo, Do navegador: Firefox](https://vdm.mikaillab.com/help/images/help/options-logins-dark.webp)](https://vdm.mikaillab.com/help/images/help/options-logins-dark.webp)

Cookies para sites de vídeo: desativado, ou um navegador e o seu perfil.

Sign in to the site in that browser first. VDM never logs or shows the cookies; the download's log names only the browser they came from.

### Que navegadores

**Do navegador** lista os navegadores que o yt-dlp lê: Firefox, Chrome, Edge, Brave, Opera, Vivaldi, Chromium e Whale, e Safari no macOS. **Perfil** é opcional: o nome de um perfil (`Profile 1`) ou a sua pasta; vazio, o perfil usado por último.

- **O Firefox** funciona em todos os sistemas. Se iniciou sessão há pouco tempo com o Firefox aberto, feche-o uma vez para que ele grave o início de sessão nos seus ficheiros.
- **Chrome, Edge e Brave no Windows** bloqueiam os seus cookies a si próprios (Chrome 127 e posterior, «app-bound encryption»), e o yt-dlp também não os consegue ler enquanto o navegador está aberto. A janela indica isso; escolha o Firefox, ou use o botão sobre o vídeo, que funciona com qualquer navegador.
- **No Linux**, os navegadores da família Chrome mantêm a chave dos seus cookies no porta-chaves do sistema (GNOME Keyring, KWallet); o yt-dlp pede-a, por isso deve estar desbloqueado.
- **Outro navegador baseado no Chromium** (Helium, Thorium, ungoogled-chromium...): escolha **Chromium** e a pasta de perfil desse navegador (a sua pasta `Default`, ou `Profile 1`...; em `~/.config` no Linux, `%LOCALAPPDATA%` no Windows). O yt-dlp lê a pasta, mas um navegador que mantém a sua chave sob o seu próprio nome no porta-chaves, ou bloqueia os seus cookies como o Chrome, não pode ser lido desta forma: use o botão da sua extensão.

## Quando um servidor de vídeo não pode ser alcançado

Some sites, YouTube among them, send each viewer to a nearby video server, sometimes one inside the internet provider's own network. If that server can't be reached from your connection, a browser quietly switches to another one, but yt-dlp on its own would give up. Before each video download VDM checks the servers in the video's links and, if one doesn't answer, switches to the next one the site lists. The download's log says when this happens.

## Se um vídeo não transferir

- Passe o rato sobre o **Estado** do download, ou abra a sua janela de progresso, para ler a mensagem do yt-dlp.
- **Nenhum vídeo nesta página pode ser transferido** significa que o yt-dlp não encontrou nada na página. Verifique se o endereço é a página própria do vídeo.
- **Este vídeo exige que inicie sessão**, ou o site exige que inicie sessão: consulte [Sites que exigem início de sessão](#sites-that-want-you-signed-in).
- Sites change often, and a newer yt-dlp usually fixes it. VDM keeps its own yt-dlp up to date by itself, and when a download fails in a way that usually means yt-dlp is out of date, it looks for a newer one at once and tries again ([Keeping them up to date](#helper-updates)). To check right now: **Helpers...** → **Check for updates**. If you chose your own yt-dlp in Helpers, update it yourself (`yt-dlp -U`, or your package manager).
- **The path is too long for Windows** (or **the file name is too long**) means the folder and the file name together, with the files saved beside the video while it downloads, are longer than the system allows: 259 characters on Windows unless long paths are turned on there, 255 a name (255 bytes on Linux and macOS). VDM shortens a title by itself, so this comes from a name you typed or a very deep **Save to** folder: add the video again with a shorter name, or a folder nearer the top of the drive.
- Videos protected with DRM (most paid streaming services) can't be downloaded, and VDM doesn't try. The browser extension's [Media on this page](https://vdm.mikaillab.com/pt/help/browser-integration.html#media-on-this-page) shows such a stream as **Protected** and doesn't send it.
- Uma página cujo vídeo a janela não consegue encontrar: reproduza o vídeo no seu navegador e, em seguida, use a opção [Multimédia nesta página](https://vdm.mikaillab.com/pt/help/browser-integration.html#media-on-this-page) da extensão para enviar o stream que a página carregou.
- A transferência pode ser contra os termos de alguns sites. Verificar isso é da sua responsabilidade.
- Ainda com problemas? Use **Ajuda → Comunicar um problema** e inclua o endereço da página.

## Próximos passos

- [Tutorial: transferir um vídeo de uma página →](https://vdm.mikaillab.com/pt/help/guide-video-from-page.html)
- [Torrents →](https://vdm.mikaillab.com/pt/help/torrents.html)
- [Resolução de problemas →](https://vdm.mikaillab.com/pt/help/troubleshooting.html)

## Relacionado

- [Galerias de imagens](https://vdm.mikaillab.com/pt/help/galleries.html)
- [Torrents](https://vdm.mikaillab.com/pt/help/torrents.html)
- [Torrents e a sua segurança](https://vdm.mikaillab.com/pt/help/torrent-security.html)
- [Contas de serviço de desbridamento](https://vdm.mikaillab.com/pt/help/debrid.html)

[Editar esta página no GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/video.md) [Comunicar um problema com esta página](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Video%20downloads&page=https%3A//vdm.mikaillab.com/help/video.html) [Histórico da página](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/video.md)

Gratuito, de código aberto, sem anúncios, sem período de avaliação.

[Download Volt Download Manager](https://vdm.mikaillab.com/pt/download.html)
