Amazon.ElasticTranscoder.AmazonElasticTranscoderClient.CreatePreset C# (CSharp) Method

CreatePreset() public method

The CreatePreset operation creates a preset with settings that you specify.

Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.

Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services.

/// General authentication failure. The request was not signed correctly. /// /// /// /// Elastic Transcoder encountered an unexpected exception while trying to fulfill the /// request. /// /// Too many operations for a given AWS account. For example, the number of pipelines /// exceeds the maximum allowed. /// /// One or more required parameter values were not provided in the request. ///
public CreatePreset ( CreatePresetRequest request ) : CreatePresetResponse
request Amazon.ElasticTranscoder.Model.CreatePresetRequest Container for the necessary parameters to execute the CreatePreset service method.
return Amazon.ElasticTranscoder.Model.CreatePresetResponse
        public CreatePresetResponse CreatePreset(CreatePresetRequest request)
        {
            var marshaller = new CreatePresetRequestMarshaller();
            var unmarshaller = CreatePresetResponseUnmarshaller.Instance;

            return Invoke<CreatePresetRequest,CreatePresetResponse>(request, marshaller, unmarshaller);
        }