Issue of not finding HdrToSdrToneMapper during Mediaconvert conversion with Lambda trigger

0

When I create and run the job, it works fine.

However, an issue occurs when executed with lambda trigger.

After reading the Mediaconvert API Document, it says that HdrToSdrToneMapper can be used, but the following issues occur.

document

https://docs.aws.amazon.com/mediaconvert/latest/apireference/presets.html

part of job.json

        "VideoDescription": {
          "Width": 480,
          "Height": 270,
          "VideoPreprocessors": {
            "ColorCorrector": {
              "Brightness": 50,
              "ColorSpaceConversion": "FORCE_P3D65_SDR",
              "Contrast": 60,
              "Hue": 0,
              "Saturation": 50,
              "HdrToSdrToneMapper": "VIBRANT"
            }
          },

I hope anyone can help.

cloudewatch Exception Unknown parameter in Settings.OutputGroups[0].Outputs[0].VideoDescription.VideoPreprocessors.ColorCorrector: "HdrToSdrToneMapper", must be one of: Brightness, ColorSpaceConversion, Contrast, Hdr10Metadata, Hue, SampleRangeConversion, Saturation

asked a year ago212 views
1 Answer
0

If you are able to run a MediaConvert job from the AWS console, yet have problems with a Lambda generated trigger, there may be something different in the job or template json the Lambda function uses. Take the json from the successfully run console job and use that in the Lambda function.

More specific to the error you are seeing, the values for HdrToSdrToneMapper listed in the error do not match the selections in the console. Odd. Try running with leaving that parameter bank in the original job creation.

AWS
Mike-ME
answered a year ago
  • If I remove the HdrToSdrToneMapper option it works fine. But I need HdrToSdrToneMapper option. Is there anything that needs to be added to use this option?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions