![]() ![]() ![]() In that case, the command will look like this: $ yt-dlp -x -embed-thumbnail -audio-format mp3 If you want to have cover art for the song file, you can add the -embed-thumbnail option: To download a video as a song file, you can use one of the following commands: $ yt-dlp -x -audio-format mp3 The supported audio formats are “ best“, “ aac“, “ vorbis“, “ mp3“, “ m4a“, “ opus“, or “ wav“ “ best” is set by default. -audio-format – specifies the audio format in which the file will be downloaded.-extract-audio (short option -x) – Convert video files to audio-only files.Now to download a video as an mp3 track, we need the following two options: If you are looking for a specific option, I recommend using the grep command and searching for a specific word as shown. The yt-dlp command has quite an extensive "help" page and if you want to review it, simply type: $ yt-dlp -help ![]() $ sudo chmod a+rx /usr/local/bin/yt-dlp # Make executableĭownload MP3 (Songs) from YouTube Video on Linux $ sudo zypper install yt-dlp Īlternatively, to install the most latest version of yt-dlp, use the following curl or wget to download the official binary file for your operating system. The package yt-dlp is available for RHEL-based and Debian-based distributions and it can be easily installed by using your favorite package manager. If you haven’t checked the above article yet, here is how to install it: Install yt-dlp – A Youtube Video Downloader for Linux ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |