Second
The selected second’s frame will appear after formatting the video into image.
e:sec
This transformation can be used only with formatting.
Parameters
- float (only positive): selected second
Limitations
- Only positive float
- If given higher value than the overall duration, the last frame will be selected
- Enterprise feature, not available for every user. For more information, please contact our support »
Dependencies
Examples
See the following examples about the possible ways of usage.
Without second
With second (5)
format:jpeg_sec:5
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->toJpeg()->second(5);