简体   繁体   English

我们可以为AWS Elastic Transcoder的输出文件设置自动AspectRatio吗?

[英]Can we have auto AspectRatio preset for output files from AWS Elastic Transcoder?

I'm working on AWS Elastic Transcoder using PHP API. 我正在使用PHP API开发AWS Elastic Transcoder I would like to have the video output to have the same AspectRatio as the input video. 我希望视频输出具有与输入视频相同的AspectRatio

Do we need a custom preset for that? 我们是否需要自定义预设? I tried seeing the options. 我尝试查看选项。 But, there is no option for auto AspectRation 但是,没有自动AspectRation选项

Try creating a custom preset and use a "Sizing Policy" that preserves aspect ration, such as Fit, keep and ShrinkToFit. 尝试创建自定义预设,并使用保留尺寸比例的“尺寸调整策略”,例如“适合”,“保持”和“ ShrinkToFit”。 "Display Aspect Ratio" should be set to auto. “显示纵横比”应设置为自动。

There are many combinations, so run few experiments. 组合很多,因此请进行少量实验。 see Sizing Policy 请参阅尺码政策

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

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