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

get image #30305

Closed
alicera opened this issue Dec 2, 2021 · 3 comments
Closed

get image #30305

alicera opened this issue Dec 2, 2021 · 3 comments
Labels

Comments

@alicera
Copy link

alicera commented Dec 2, 2021

How to get the youtube images?
like opencv get the frame

@Prasantacharya
Copy link

as in get the thumbnail, or get the frames of the video?
For the thumbnail, you could do something like youtube-dl --write-thumbnail <video-link>
For getting all the frames, after you download the video, I would use something like ffmpeg to extract the frames, the command would look something like: ffmpeg -i <video-file> -ss <video-length> -vframes 1 out.png

@alicera
Copy link
Author

alicera commented Dec 6, 2021

How to use the command line to get different size images if the youtube link has three resolutions

youtube-dl --write-thumbnail <video-link>

@ghost
Copy link

ghost commented Dec 9, 2021

Not related to youtube-dl. Go find other forums.

There's --write-all-thumbnails option.

@dirkf dirkf closed this as completed Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants