I use yt-dlp to download videos off YouTube quite frequently. I'll use the videos as reference, and I often use it to grab the VOD for one of my livestreams, since there's no simpler way (I'm not going to dig through the bowel's of YouTube's UI to try to download one of my own videos...).
But I also can't handle the default
.webm videos in all my video editing tools natively, and transcoding is annoying. So I've settled on the following
yt-dlp command to first try to pull a native MP4 version off YouTube, and failing that, transcode to MP4 immediately after downloading:
yt-dlp -S res,ext:mp4:m4a --recode mp4 https://www.youtube.com/watch?v=dQw4w9WgXcQ
And if you weren't aware,
yt-dlp does an excellent job pulling video files from other sites as well, should the need arise.
Interesting. Is this tool related to youtube-dl? that is the one I've been using. If so, are you aware of any of the pros-cons between the two?
PS. Love your videos. Keep up the great work. Hope your health is getting back under control.
yt-dlpis a more maintained version of
youtube-dl(there have been a few times when the original project went unmaintained for a while).
thank you, was wondering what the best option was for this. transcoding was taking a long time per video..
Jeff since you have given back so much useful information to me over the years, here is yt-dlp tip I would suggest to everyone.
I would first run this command to check the different qualities of the video that are available on the YT servers:
Considering you want to download the highest quality mp4 file from YT, here is the command to use:
Here are the explanations of the variables I used in the yt-dlp commands:
In this case
%%(title)sgets the title from YT video and
%%(ext)sgets the extension from YT for this video would be mp4.
I hope you find this information useful.
Take care of yourself and your family!
I wonder what the difference is, between: