-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i download thumbnails in png/jpg format? #28457
Comments
Anyone who can help? |
If you are talking about YouTube's thumbnails, it seems that if you specify a user-agent which doesn't handle webp, you can get maxresdefault.jpg.
|
I just tried that and noticed that in that case the quality of the image is much worse... |
With FFmpeg (Unix commands): To To |
Thanks guys! I'll check it out. And turn it into something like this:
|
There is already an option to do this in the yt-dlp fork of this repo. :)
So try e.g.:
To convert to highest quality So:
|
Thank you very much bro you helped me! |
Thank you @nicolaasjan, this command is perfect. |
👍️ See top answer at Stack Overflow:
That gives a ~128KB image instead of a ~80KB image for the video in my example. 🙂 |
Perfect ! |
Checklist
Question
Hello, I try to download the thumbnails files in png/jpg format but they are always downloaded by default in webp format.
I'm inserting this code in cmd:
youtube-dl --write-thumbnail [URL playlist]
The files are downloaded directly to the computer in webp format
I tried to add -f:
youtube-dl -f --write-thumbnail [URL playlist]
But it still wouldn't let me choose the format I wanted.
I know there's an commend called:
--write-all-thumbnails
But I don't understand why you can't choose to download in jpg/png format
At the end of the day, it's the same quality.
For example:
https://i.ytimg.com/vi_webp/HOYDj769s6k/maxresdefault.webp
https://i.ytimg.com/vi/HOYDj769s6k/maxresdefault.jpg
It's the same picture with a different extension.
I've seen a report on it before and it's closed, but I didn't understand the solution.
Can someone explain to me where I'm wrong?
The text was updated successfully, but these errors were encountered: