#how do i get thumbnails for a video gallery?

14 messages · Page 1 of 1 (latest)

wheat garden
simple dagger
#

how to? @wheat garden

wheat garden
#

And "how" to extract the thumbnails depends on your back-end language, for php it's pretty easy... But no idea about other languages

simple dagger
#

okay thanks! @wheat garden

wheat garden
#

No problem 🙂

simple dagger
#

i extracted the folder but don't know what to do next @wheat garden

wheat garden
#

If you cannot run ffmpeg commands, you need to add ffmpeg to environment variables

simple dagger
#

ok

wheat garden
#

When you can run ffmpeg commands, you can do command like
ffmpeg -i input_video.mp4 -vf "select='not(mod(n,300))'" -vframes 5 thumbnail_%03d.png
to extract thumbnails, just edit the video filename

#

And how you use this in your back-end video upload script, well... That kinda depends on what language you are using and what your video upload script looks like