-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Thumbnail/screenshots with transcoding job #103
Comments
I've started an implementation that looks like your proposal a couple months ago, early on in the project, but I decided to drop it for various reasons I'll mention below. The goal is still to have thumbnails available in players. This could be a bit lengthy :)
The person behind HLS.js told me they have I-Frame only playlist support planned in 2025, and since our player is basically an extended version of HLS.js, this'll fit right in. Let me know what you think about this. Edit: on second thought, having a couple of frames extracted sounds like a good thing for use cases beyond player thumbnails, such as poster images, ... |
Thank you for your detailed response! Also to easily identify the output files the input could have a key or id field that is returned by the output data. An example can be found here. The key field is always returned unchanged, this might require a different input format where screenshots are defined one by one and we can give each one a different unique key. |
Yes, sounds good. I'd see this as a separate job that pushes thumbnails on S3, the same way segments are pushed with the transcode job. Today the transcode job orchestrates a package job when the packageAfter flag is set to true, but with yet another job being orchestrated by transcode I doubt this fits in. The bigger plan is to construct a media pipeline "sort of" job that orchestrates what happens underneath (that work is planned soonish). I'll pick up your feature when the latter is done. |
A cool feature would be the ability to make thumbnails/screenshots in transcoding jobs.
With fluent-ffmpeg it's easy as calling the "screenshots" function on the fluent-ffmpeg command, more info in the docs
Suggested input format for configuring screenshots in a transcode job:
This example would generate 8 screenshots with different sizes taken at different times in the video.
Some things to consider:
The text was updated successfully, but these errors were encountered: