Tutorial: How to create thumbnails
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
A frequently requested feature for VOD is thumbnail generation. Although we don't currently offer anything out of the box, projects like Lenstube have figured out how to build this feature.
Here's Sasi's code:
https://github.com/lenstube-xyz/lenstube/blob/9cc4645e8cb8ddd1b8280bdb4b04604a8cdbdf71/packages/utils/functions/generateVideoThumbnails.ts. Heads up: Sasi stores the video in memory so it's likely not to work with larger files.
Here's a Fiddle: https://jsfiddle.net/giu_do/e98tffu6/
We'd like a tutorial on building an application that uses thumbnails, using either the logic Sasi has used or some other open-sourced project. The tutorial should include a sample application that has the thumbnail functionality built in.
Contributor guide
Assessment
This issue has not been assessed yet.