如何获取AWS弹性转码中预设的元数据(MaxWidth、MaxHeight等)

How to get metadata ( MaxWidth, MaxHeight etc) of preset in AWS elastic trans coding

在out ongong项目中使用aws elastic transcoder。 我想获取 aws elastic transcoder preset id 的元数据,关于 MaxWidth,MaxHeight 等。

解决方案: 按照这个 link - https://docs.aws.amazon.com/cli/latest/reference/elastictranscoder/read-preset.html

步骤:

  1. 在您的系统中安装 aws cli
  2. aws cli 使用密钥配置
  3. aws elastictranscoder read-preset --id (1351620000001-500020) // 你会得到详细信息