Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
6 tasks
bbrower21 opened this issue May 10, 2023 · 1 comment
Open
6 tasks
Labels

Comments

@bbrower21
Copy link

bbrower21 commented May 10, 2023

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 bbrower21 added the bug label May 10, 2023
@raulmlamzn
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants