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

demandé il y a un an217 vues
1 réponse
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
répondu il y a un an
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions