Stage 中的 Azure 编码作业错误:GenerateOutputMediaMetadata
Azure encoding job error in Stage: GenerateOutputMediaMetadata
在过去的两天里,我一直在尝试 运行 Azure 中的媒体编码作业,但我不知道为什么会失败。
这是我的工作流程:
我在存储容器中上传了一个名称为 GUID 的文件。
我生成一个 sas uri 并将其作为 JobInputHttp 提供。
转换使用 BuiltInStandardEncoderPreset
-> AACGoodQualityAudio
每次作业失败大约 50% 并出现错误:
ErrorProcessingTask An error has occurred. Stage:
GenerateOutputMediaMetadata. Code: System.ArgumentNullException.
我正在使用 .NET Core 并使用最新版本的 Microsoft.Azure.Management.Media
(2.0.4)。有谁知道为什么会发生这个错误,我该如何解决?
相同的做法
您创建的转换似乎带有自定义预设,而不是内置的 AACGoodQualityAudio 预设 - 正确吗?
对于该转换,您需要显式修改 filenamePattern 以包含扩展名
"filenamePattern": "{Basename}.mp4"
或隐式
"filenamePattern": "{Basename}{Extension}"
谢谢
在过去的两天里,我一直在尝试 运行 Azure 中的媒体编码作业,但我不知道为什么会失败。
这是我的工作流程:
我在存储容器中上传了一个名称为 GUID 的文件。
我生成一个 sas uri 并将其作为 JobInputHttp 提供。
转换使用
BuiltInStandardEncoderPreset
->AACGoodQualityAudio
每次作业失败大约 50% 并出现错误:
ErrorProcessingTask An error has occurred. Stage: GenerateOutputMediaMetadata. Code: System.ArgumentNullException.
我正在使用 .NET Core 并使用最新版本的 Microsoft.Azure.Management.Media
(2.0.4)。有谁知道为什么会发生这个错误,我该如何解决?
您创建的转换似乎带有自定义预设,而不是内置的 AACGoodQualityAudio 预设 - 正确吗?
对于该转换,您需要显式修改 filenamePattern 以包含扩展名
"filenamePattern": "{Basename}.mp4"
或隐式
"filenamePattern": "{Basename}{Extension}"
谢谢