![]() If you are archiving, add the usual -write-xxx and -embed-xxx options you may have. This set of options allow for the download to effectively continue even after interruption. $ youtube-dl -ignore-errors -continue -no-overwrites -download-archive progress.txt usual options URL Using youtube-dl for a playlist usually boils down to the following options: $ youtube-dl -external-downloader aria2c -external-downloader-args '-c -j 3 -x 3 -s 3 -k 1M' URL Playlist You can often get around this by choosing non DASH streams or by using aria2, an external downloader which supports multi-connection downloads. $ youtube-dl -write-auto-sub -sub-lang LANG URLĪdd -skip-download to get only subtitles. $ youtube-dl -write-sub -sub-lang LANG URL To download a video with selected subtitles (comma separated): $ youtube-dl -x -f bestaudio -add-metadata -embed-thumbnail URL Subtitles To also include album art (requires atomicparsley): By default this will remove the downloaded video, include -k to keep it. This will download the video and copy its audio as post process. If an audio-only stream is not available, exclude -f bestaudio from the example above. Use -x for audio-only downloads (requires FFmpeg):ĭepending on the available source streams, this will often correct the audio-only container. When multiple formats of a video are available, youtube-dl will download the best ones by default. Tip: In some cases (like YouTube) URL can be substituted with the video ID. f bestvideo+bestaudio/bestvideo+bestaudio/bestvideo+bestaudio/best/best The syntax is simply one command-line option per line. The system-wide configuration file is /etc/nf and the user-specific configuration file is ~/.config/youtube-dl/config. There are also various graphical frontends to youtube-dl and/or its forks, such as tartube AUR and yt-dlg ( youtube-dl-gui-git AUR). youtube-dlc AUR is another fork with many of the aforementioned new features. ![]() Various forks of youtube-dl also exist and may contain additional features, in particular yt-dlp adds support for more sites, downloading comments, improvements to format preferences, and other changes. It is recommended to also install FFmpeg as it is used for muxing for some sites. Install the youtube-dl package, or youtube-dl-git AUR for the development version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |