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 ()
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.
CopyC#
ValidationException
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.
Declaration Syntax
C# |
CreatePresetResponse CreatePreset( CreatePresetRequest request )
Parameters
- request (CreatePresetRequest)
- Container for the necessary parameters to execute the CreatePreset service method.
Return Value
The response from the CreatePreset service method, as returned by ElasticTranscoder.
Exceptions
Exception | Condition |
---|---|
AccessDeniedException |
General authentication failure. The request was not signed correctly.
|
IncompatibleVersionException | |
InternalServiceException |
Elastic Transcoder encountered an unexpected exception while trying to fulfill the
request.
|
LimitExceededException |
Too many operations for a given AWS account. For example, the number of pipelines
exceeds the maximum allowed.
|
ValidationException |
One or more required parameter values were not provided in the request.
|