![]() ![]()
All this (or almost exactly this) is described in the first article, the intro to youtube-dl. If cmd shows error, file not found, then we need to download ffmpeg exe files and place them into the same folder where youtube-dl is stored. You may already have it, try run a cmd command “ffmpeg” and see if anything good shows. So we are not stopping here, we want perfection, we want to convert youtube to mp3, or at least convert video to mp3 after it was downloaded. ![]() But it’s not an audio player, VLC is for video. It’s a normal format, it can be played by VLC, for example. Please, note, red arrow pointer shows that audio downloaded is in WEBM format. The image below shows exactly what was going on during execution of this command: youtube-dl download video as audio ![]() Next we type in the command and see what happens: #How to use ffmpeg to download youtube videos to mp3 windowsAs you remember from the first youtube-dl article, you need to CTRL+ESC and type CMD, then ENTER which will open the windows command line processor (examples below also apply to Linux). You just need to supply “ -f bestaudio” option to youtube-dl command and it will download best audio from provided video link. Well, for the sake of my story, i chose another useless dance music celebrity. If you’re wondering why not Bieber like I usually do. Let’s see how it can be done. We’re going to mess today with this following video Tiësto – Live Electric Daisy Carnival Las Vegas 2017, it is almost 1.5hrs long, it’s a mix DJ Tiesto did on EDC Las Vegas, right in his official youtube account: After having mastered youtube-dl, I can now set up several downloads at once and have youtube-dl post-process them (extract audio only, convert to audio format of my choice, etc). In my opinion, this is the best, fastest and most comfortable way to do this. I then have my computer convert video format or AAC/WEBM audio format to mp3. I use youtube-dl and download video/audio directly to my computer, avoiding any third party services. This is too long and I have a solution for that. Some resources try to serve their streams as fast as the video bandwidth goes, so to download whole 1hr sometimes may take 45-50 minutes. 2 actions, and first of them too takes the longest. So, for you to get the actual MP3 file, somebody or some site has to download the video or at least the audio-less video, and convert it to mp3. Why such a long wait sometimes? Because youtube supplies their audio as AAC (WEBM) or MP4A, which is same thing, just packaged as audio file or audio-only video file respectively. #How to use ffmpeg to download youtube videos to mp3 plusPlus I might sometimes forget and close the browser window before download finishes or before even they process all the audio and download even starts. Very few of the video downloading websites support such long sessions (up to 20-30 minutes). #How to use ffmpeg to download youtube videos to mp3 fullIn case 1hr video (if you’re wondering how come so long – I like downloading full length live dj mixes) – audio download takes time. I like to download videos using youtube-dl, because I usually go over several different videos (of length from 5 minutes to 2-3 hours), and download their audio. There are many ways to convert youtube to mp3 and today we’re going to look into the one i find most comfortable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |