video-on-demand-on-aws icon indicating copy to clipboard operation
video-on-demand-on-aws copied to clipboard

The following property in '/SettingsJson/Inputs/0' isn't supported: FileInput.

Open bbrower21 opened this issue 1 year ago • 1 comments

Describe the bug A clear and concise description of what the bug is. Not understanding why I am receiving an issue upon deploying from the CDK due to the key FileInput in my settingsJson config.

To Reproduce Steps to reproduce the behavior.

Example JSON:

settingsJson:

{
        "Inputs": [
          {
            "TimecodeSource": "ZEROBASED",
            "VideoSelector": {},
            "AudioSelectors": {
              "Audio Selector 1": {
                "DefaultSelection": "DEFAULT",
                "SelectorType": "TRACK",
                "Tracks": [1]
              }
            },
            "FileInput": "s3://{inputBucket}/{key}.flac",
          }
        ],

Expected behavior A clear and concise description of what you expected to happen. I would expect FileInput to be recognized given that the console uses it to create jobs

Please complete the following information about the solution:

  • [ ] Version: [e.g. v1.0.0]
  • [ ] Region: [e.g. us-east-1]
  • [ ] Was the solution modified from the version published on this repository?
  • [ ] If the answer to the previous question was yes, are the changes available on GitHub?
  • [ ] Have you checked your service quotas for the sevices this solution uses?
  • [ ] Were there any errors in the CloudWatch Logs?

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.

This output was given to me by the console; however it will not deploy:

{
    "Inputs": [
      {
        "TimecodeSource": "ZEROBASED",
        "VideoSelector": {},
        "AudioSelectors": {
          "Audio Selector 1": {
            "DefaultSelection": "DEFAULT",
            "SelectorType": "TRACK",
            "Tracks": [
              1
            ]
          }
        },
        "FileInput": "s3://{inputBucket}/{key}.mp3"
      },
      {
        "TimecodeSource": "ZEROBASED",
        "VideoSelector": {},
        "AudioSelectors": {
          "Audio Selector 1": {
            "DefaultSelection": "DEFAULT",
            "SelectorType": "TRACK",
            "Tracks": [
              1
            ]
          }
        },
        "FileInput": "s3://{inputBucket}/{key}.flac"
      }
    ],
    "OutputGroups": [
      {
        "Name": "File Group",
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "REDACTED"
          }
        },
        "Outputs": [
          {
            "AudioDescriptions": [
              {
                "CodecSettings": {
                  "Codec": "MP3",
                  "Mp3Settings": {
                    "RateControlMode": "CBR",
                    "SampleRate": 44100,
                    "Bitrate": 128000
                  }
                },
                "AudioSourceName": "Audio Selector 1"
              }
            ],
            "ContainerSettings": {
              "Container": "RAW"
            },
            "NameModifier": "full-128",
            "Extension": "mp3"
          }
        ],
        "CustomName": "MP3 128 Kbps"
      },
      {
        "Name": "File Group",
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "REDACTED"
          }
        },
        "Outputs": [
          {
            "AudioDescriptions": [
              {
                "CodecSettings": {
                  "Codec": "MP3",
                  "Mp3Settings": {
                    "RateControlMode": "CBR",
                    "SampleRate": 44100
                  }
                },
                "AudioSourceName": "Audio Selector 1"
              }
            ],
            "ContainerSettings": {
              "Container": "RAW"
            },
            "NameModifier": "full-192",
            "Extension": "mp3"
          }
        ],
        "CustomName": "MP3 192 Kbps"
      },
      {
        "Name": "File Group",
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "REDACTED"
          }
        },
        "Outputs": [
          {
            "AudioDescriptions": [
              {
                "CodecSettings": {
                  "Codec": "AAC",
                  "AacSettings": {
                    "Bitrate": 32000,
                    "CodingMode": "CODING_MODE_2_0",
                    "SampleRate": 44100,
                    "CodecProfile": "HEV1"
                  }
                },
                "AudioSourceName": "Audio Selector 1"
              }
            ],
            "ContainerSettings": {
              "Container": "MP4",
              "Mp4Settings": {}
            },
            "NameModifier": "full-32",
            "Extension": "mp4"
          }
        ],
        "CustomName": "MP4 32 Kbps"
      },
      {
        "Name": "File Group",
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "REDACTED"
          }
        },
        "Outputs": [
          {
            "AudioDescriptions": [
              {
                "CodecSettings": {
                  "Codec": "AAC",
                  "AacSettings": {
                    "Bitrate": 192000,
                    "CodingMode": "CODING_MODE_2_0",
                    "SampleRate": 44100
                  }
                },
                "AudioSourceName": "Audio Selector 1"
              }
            ],
            "ContainerSettings": {
              "Container": "MP4",
              "Mp4Settings": {}
            },
            "NameModifier": "full-192",
            "Extension": "mp4"
          }
        ],
        "CustomName": "MP4 192 Kbps"
      },
      {
        "Name": "File Group",
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "REDACTED"
          }
        },
        "Outputs": [
          {
            "AudioDescriptions": [
              {
                "CodecSettings": {
                  "Codec": "AAC",
                  "AacSettings": {
                    "Bitrate": 64000,
                    "CodingMode": "CODING_MODE_2_0",
                    "SampleRate": 44100,
                    "CodecProfile": "HEV1"
                  }
                },
                "AudioSourceName": "Audio Selector 1"
              }
            ],
            "ContainerSettings": {
              "Container": "MP4",
              "Mp4Settings": {}
            },
            "NameModifier": "full-64",
            "Extension": "mp4"
          }
        ],
        "CustomName": "MP4 64 Kbps"
      }
    ],
    "TimecodeConfig": {
      "Source": "ZEROBASED"
    }
  }

bbrower21 avatar May 10 '23 22:05 bbrower21

Thanks for your feedback. We are currently reviewing this with our engineering team.

raulmlamzn avatar Jul 27 '23 18:07 raulmlamzn