编码错误代码Encoding error codes

媒体服务徽标media services logo


下表列出了在执行编码任务期间发生错误的情况下可能返回的错误代码。The following table lists error codes that could be returned in case an error was encountered during the encoding task execution. 若要获取 .NET 代码中的错误详细信息,请使用 ErrorDetails 类。To get error details in your .NET code, use the ErrorDetails class. 若要获取 REST 代码中的错误详细信息,请使用 ErrorDetail REST API。To get error details in your REST code, use the ErrorDetail REST API.

ErrorDetail.CodeErrorDetail.Code 出错的可能原因Possible causes for error
未知Unknown 执行任务期间发生未知的错误Unknown error while executing the task
ErrorDownloadingInputAssetMalformedContentErrorDownloadingInputAssetMalformedContent 涵盖下载输入资产时出错(例如,错误的文件名称、文件长度为零、格式不正确,等等)的错误类别。Category of errors that covers errors in downloading input asset such as bad file names, zero length files, incorrect formats and so on.
ErrorDownloadingInputAssetServiceFailureErrorDownloadingInputAssetServiceFailure 涵盖服务端问题(例如,下载时发生网络或存储错误)的错误类别。Category of errors that covers problems on the service side - for example network or storage errors while downloading.
ErrorParsingConfigurationErrorParsingConfiguration 任务 <see cref="MediaTask.PrivateData"/>(配置)无效的错误类别,例如,配置不是有效的系统预设或包含无效的 XML。Category of errors where task <see cref="MediaTask.PrivateData"/> (configuration) is not valid, for example the configuration is not a valid system preset or it contains invalid XML.
ErrorExecutingTaskMalformedContentErrorExecutingTaskMalformedContent 在执行任务期间因输入媒体文件内部问题导致失败的错误类别。Category of errors during the execution of the task where issues inside the input media files cause failure.
ErrorExecutingTaskUnsupportedFormatErrorExecutingTaskUnsupportedFormat 媒体处理器无法处理提供的文件(不支持的媒体格式或与配置不匹配)的错误类别。Category of errors where the media processor cannot process the files provided - media format not supported, or does not match the Configuration. 例如,尝试从只包含视频的资产生成只包含音频的输出For example, trying to produce an audio-only output from an asset that has only video
ErrorProcessingTaskErrorProcessingTask 媒体处理器在处理与内容无关的任务时发生的其他错误类别。Category of other errors that the media processor encounters during the processing of the task that are unrelated to content.
ErrorUploadingOutputAssetErrorUploadingOutputAsset 上传输出资产时的错误类别Category of errors when uploading the output asset
ErrorCancelingTaskErrorCancelingTask 涵盖尝试取消任务时失败的错误类别Category of errors to cover failures when attempting to cancel the Task
TransientErrorTransientError 包含暂时性问题的错误类别(例如Category of errors to cover transient issues (eg. Azure 存储的临时网络问题)temporary networking issues with Azure Storage)

若要获得媒体服务团队的帮助,请打开支持票证To get help from the Media Services team, open a support ticket.

媒体服务学习路径Media Services learning paths

媒体服务 v3(最新版本)Media Services v3 (latest)

查看最新版本的 Azure 媒体服务!Check out the latest version of Azure Media Services!

媒体服务 v2(旧版)Media Services v2 (legacy)