为AWS Elemental Media Convert创建作业时出现问题

时间:2019-07-11 08:26:36

标签: json amazon-web-services aws-media-convert

为AWS Elemental Media Convert创建作业时遇到一些问题。 我遵循了以下顺序。

1。)创建一个新工作

2。)添加输入和配置

3。)添加文件输出组并配置目标设置

4。)在“输出”下,将“容器”更改为“无容器”

5。)在“输出”下,删除音频

6。)在输出->视频下,将编解码器从JPEG更改为帧捕获

7。)配置帧速率(将产生捕获的速率(下面有更多注释和示例))

8。)配置最大捕获设置

我遇到以下错误:

  

工作内容跟踪错误:   / outputGroups:应该与架构不匹配

这是我的工作JSON:

{
  "Settings": {
    "AdAvailOffset": 0,
    "Inputs": [
  {
    "FilterEnable": "AUTO",
    "PsiControl": "USE_PSI",
    "FilterStrength": 0,
    "DeblockFilter": "DISABLED",
    "DenoiseFilter": "DISABLED",
    "TimecodeSource": "EMBEDDED",
    "VideoSelector": {
      "ColorSpace": "FOLLOW",
      "Rotate": "DEGREE_0"
    },
    "AudioSelectors": {
      "Audio Selector 1": {
        "Offset": 0,
        "DefaultSelection": "DEFAULT",
        "ProgramSelection": 1
      }
    },
    "FileInput": "s3://field-live-user-data/udariyan.mp4"
  }
],
"OutputGroups": [
  {
    "Name": "File Group",
    "OutputGroupSettings": {
      "Type": "FILE_GROUP_SETTINGS",
      "FileGroupSettings": {
        "Destination": "s3://field-live-user-data/"
      }
    },
    "Outputs": [
      {
        "VideoDescription": {
          "ScalingBehavior": "DEFAULT",
          "TimecodeInsertion": "DISABLED",
          "AntiAlias": "ENABLED",
          "Sharpness": 50,
          "CodecSettings": {
            "Codec": "FRAME_CAPTURE",
            "FrameCaptureSettings": {
              "FramerateNumerator": 30,
              "FramerateDenominator": 100,
              "MaxCaptures": 2,
              "Quality": 80
            }
          },
          "DropFrameTimecode": "ENABLED",
          "ColorMetadata": "INSERT",
          "Width": 1280,
          "Height": 720
        },
        "ContainerSettings": {
          "Container": "RAW"
        },
        "Extension": "jpg"
      }
    ],
    "CustomName": "customGroup"
      }
    ]
  },
  "Queue": "arn:aws:mediaconvert:us-east-1:469030323850:queues/Default",
  "Role": "arn:aws:iam::469030323850:role/myMediaConverter"
}

1 个答案:

答案 0 :(得分:1)

当前,您不能拥有仅具有帧捕获功能的作业模板:

AWS Dev forums on this topic