简体   繁体   English

在PHP SDK中的AWS Elastic Transcoder中指定缩略图尺寸和生成的缩略图数量

[英]Specify thumbnail dimensions and number of generated thumbnails in AWS Elastic Transcoder in PHP SDK

Is it possible to specify the size of the thumbnails and the number of generated thumbnails when creating a job in Elastic Transcoder? 在Elastic Transcoder中创建作业时,是否可以指定缩略图的大小和生成的缩略图的数量?

I'm using the PHP SDK of AWS. 我正在使用AWS的PHP SDK。

Use the job preset to set thumbnail properties. 使用作业预设来设置缩略图属性。 You can set the maximum width and height of the generated thumbnails in the preset. 您可以在预设中设置生成的缩略图的最大宽度和高度。 As for the number of thumbnails you can only set an interval value. 至于缩略图的数量,您只能设置一个间隔值。 So if you were to set interval to 10 it will generate a thumbnail every 10 seconds. 因此,如果将间隔设置为10,它将每10秒生成一个缩略图。 You can create as many presets as necessary from within the Elastic Transcoder console https://console.aws.amazon.com/elastictranscoder/home . 您可以在Elastic Transcoder控制台https://console.aws.amazon.com/elastictranscoder/home中创建所需数量的预设。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM