[Feature Request] video thumbnail
Closed this issue · 2 comments
mickael-kerjean commented
I've seen a lot of people requesting video thumbnail. The main problem with it and the main reason it's not here yet is the difficulty to make this efficient as doing a ffmpeg on the file is a no go from a performance standpoint.
An idea to explore is to figure if it's not possible to download say: 1MB of video and find if there's some thumbnail hidden as metadata?
mickael-kerjean commented
ref:
- https://www.mux.com/articles/extract-thumbnails-from-a-video-with-ffmpeg
- https://www.bannerbear.com/blog/how-to-set-a-custom-thumbnail-for-a-video-file-using-ffmpeg/
cat day0.mp4 | head -c 3M | ffmpeg -i pipe: -vf "select='gte(t,9)',scale=320:-1" -frames:v 1 thumbnail.png
mickael-kerjean commented
done in ff67ed9: plg_video_thumbnail