我使用AWS转码器输出MP4视频& jpg海报缩略图。一切正常但缩略图始终是视频的第一帧,有时可能只是空白。我希望缩略图在2秒内被捕获到视频中。我无法看到任何调整此设置,有可能吗?
我目前的设置是:
while(x%y != 0 || y == 0);
答案 0 :(得分:2)
You can define in the preset that you use for the Job : interval generate in thumbnails
Example preset for Thumbnails with 2 second interval :
Format jpg
Interval 2
Max Width 700
Max Height 394
Sizing Policy ShrinkToFit
Padding Policy Pad
The tumbnail with the filename "video-00002.jpg" corresponds to the frame at 2 seconds.
[...]
The file you need is : video-00002.jpg
Here the documentation : Transcoder thumbnail preset settings