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

posta un anno fa217 visualizzazioni
1 Risposta
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
con risposta un anno fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande