Live data from Hacker News

Show HN: YTPics – Download pictures from YouTube videos

ytpics.com

11–20 of 41 posts

Re: Show HN: YTPics – Download pictures from YouTube videos

#12
post #7

Earlier quoted context omitted.

How is that done ?

VLC has the option to “Take Snapshot” and it can play online media. This is unless I'm missing something very obvious!

In the description it says app is for mobile devices

Re: Show HN: YTPics – Download pictures from YouTube videos

#16
post #11

A one line combination of YouTube-dl and ffmpeg can do this btw (without downloading the whole video)

I was gonna say that realistically your one liner is gonna need to be ran probably 20, 30 times before you’re able to pick the exact frame that you want.

But with a little bit extra work you could make that one liner into a script that will extract a range of frames surrounding the chosen timestamp.

Re: Show HN: YTPics – Download pictures from YouTube videos

#17
post #12

Earlier quoted context omitted.

VLC has the option to “Take Snapshot” and it can play online media. This is unless I'm missing something very obvious!

In the description it says app is for mobile devices

My bad; I'm sorry for jumping into conclusions.

Re: Show HN: YTPics – Download pictures from YouTube videos

#18
post #12

Earlier quoted context omitted.

VLC has the option to “Take Snapshot” and it can play online media. This is unless I'm missing something very obvious!

In the description it says app is for mobile devices

VLC runs on mobile devices: https://www.videolan.org/vlc/download-android.html

Re: Show HN: YTPics – Download pictures from YouTube videos

#19
post #11

A one line combination of YouTube-dl and ffmpeg can do this btw (without downloading the whole video)

This would be a good place to share that one line.

yt-dlp ${youtube_video_url} --get-url

ffmpeg -ss ${seconds} -i "${first_url_from_yt-dlp}" -t 1 -r 4/1 -q:v 2 -vf scale="0:-1" ${target}

-r 4/1: 4 frames per second

Again this app is for mobile devices which lack yt-dlp+ffmpeg

Re: Show HN: YTPics – Download pictures from YouTube videos

#20

I have extracted frames with vlc before before. They always look like shit. Like with a lower resolution. Why? Like if you freeze a youtube video the pic looks clean.

I think that's just VLC being VLC, or maybe VLC's youtube support doesn't get the high quality streams. When I play youtube videos with mpv (which uses yt-dlp), 's' to snapshot produces clean images.
Post reply on HN