Skip to content
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

Is it possible to restrict/convert the image file-type of a thumbnail when using --embed-thumbnail ? #13

Open
adanvdo opened this issue Jun 22, 2022 · 0 comments

Comments

@adanvdo
Copy link
Contributor

adanvdo commented Jun 22, 2022

This is really a problem in yt-dlp, but I was curious if we might be able to add support for either restricting the file-type of the thumbnail used when using --embed-thumbnail, or converting an available thumbnail to a specific file-type before it is embedded?

The problem is that when you download OPUS audio from a YT url the thumbnails are in webp format which cannot be embedded. I do not know if the ThumbnailData contains multiple file-types we can choose from or not. If it doesnt, the next thing I can think of is to convert the existing Thumbnail to JPG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant