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

gefragt vor einem Jahr217 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen