AudionAudion

Download

YOUTUBE_DOWNLOAD_EN.md

Download

Русский

Purpose

The DOWNLOAD section uses yt-dlp from the program folder (Tools\yt-dlp; for YouTube, Deno is needed next to it, and it is installed together with yt-dlp). The modes of the section are format profiles: BEST MP4, SAFE MP4, OWN VIDEO, FOR UPLOAD, OWN AUDIO, SUBTITLES. What is downloaded goes into output\Download (or into Download of the selected Target); the progress of the download is shown as [download] lines in the journal. A file is named <uploader>\<date> - <title> [<id>].<ext>, in a playlist <number> - <title> [<id>].<ext>; at the end the journal names every file written in an [OK] line, and the outcome of the console command lists them in downloaded.

Sources

The Source field of the section:

journal which formats the link offers (resolution, codecs, size), without downloading anything. A link to a video inside a playlist takes this one video.

button for the path).

Section downloads a piece by time, not the whole video.

Format profiles

modewhat it takes
BEST MP4the best video and sound, merged into MP4/M4A; a general profile without special requirements. The picture may come in AV1, which not every program plays
SAFE MP4for fragile links that break off: another client, retries, IPv4
OWN VIDEOthe resolution, codec, sound and container are set by the fields below
FOR UPLOADH.264 with AAC sound in MP4: what any platform and program accepts
OWN AUDIOonly the sound, in the selected format
SUBTITLESonly the subtitles, without media

The presets above the fields (Download profile) are ready combinations: Best MP4 video, 1080p AVC MP4, Safe Safari, AV1 if available, Audio MP3, Batch from urls.txt.

Video and sound

Fields:

Recommendations:

Download tuning

Ticks:

playlist.

Parallel - how many fragments are downloaded at once; Client - which client yt-dlp presents itself as to YouTube (Default, Safari, Android).

Subtitles

Fields:

It is better to give the languages explicitly, for example:

ru,en

or:

en.*,ru.*

depending on the yt-dlp format and the source.

Cookies

Links where yt-dlp must see a sign-in to an account need cookies. The Cookies field:

clipboard).

The shield next to the file seals it with DPAPI for this Windows account into config\cookies.dpapi: a download with File takes this copy, and the open file is no longer needed; it can be deleted.

File is the default: the sealed copy, or without it the file of the field, goes with every download when there is one. A public link needs no cookies - choose None for it.

Rules:

Download archive

Use download archive turns on the yt-dlp archive (config\download-archive.txt). It is off by default, so that the user decides explicitly whether links that were already downloaded are skipped.

Turn the archive on if a batch repeats regularly and it matters not to download the same thing twice.

Dry run

Dry run and the COMMAND button show the real yt-dlp call before the run.

Check it when you change:

Typical errors

A playlist was downloaded instead of one video

These are links from input\urls.txt: turn on No playlist.

Try:

  1. SAFE MP4 or the Safe Safari preset;
  2. IPv4;
  3. the browser cookies;
  4. update yt-dlp: SETTINGS → COMPONENTS → UPDATE, or SERVICE → «Install yt-dlp».

Wrong subtitles

Check Subtitle languages and separate the manual and the automatic ones. Some sources have only automatic ones.

MP4 did not come out

Reasons:

For compatibility choose FOR UPLOAD.

All projects