$ 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. |