thumbnail
This block is part of the video group and was last modified in core v15.0.0.
thumbnail v15.0.0 Extracts a single frame from a video as a JPEG poster image. Runs inline : it decodes one frame, not the whole file.
- flow
flow - file required
valueVideo file. Accepts a file object (from another file block) or a relative path string.
- output file
valueOutput path for the .jpg, relative to the entity root : e.g.
public/clips/thumb123.jpg. When empty, a hash-named .jpg is written alongside the input. - at (s)
numberTimestamp to grab, in seconds. When it lands past the end of the video the midpoint is used instead, so a short clip still gets a picture.
- max size
numberLongest-side cap in pixels. Set to 0 to keep the source size.
- quality
numberJPEG quality on ffmpeg's scale: 2 is best, 31 is worst. Values outside that range fall back to 3.
- flow
flow - success
condition - output file
valuePath the JPEG was written to, relative to the entity root : feed it to
get linkor store it directly. - width
numberWidth of the written thumbnail.
- height
numberHeight of the written thumbnail.
- error
value
poster frame |
video still |
screenshot |
video thumbnail |
A typical wiring for thumbnail: a function trigger starts the flow; value feeds the file pin; the flow out pin feeds debug.
Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v15.0.0.
Back to
video Return to the main group to view all sub-groups Back to video Return to the group to view all blocks within this group