[responses_200_schema_properties_Job_properties_Config_properties_Outputs_title]トランスコードジョブの出力設定一覧
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ice:GetMediaConvertJob |
get |
*All Resource
|
なし | なし |
リクエスト構文
GET HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| JobId |
string |
任意 |
トランスコードタスクの ID。 |
****d80e4e4044975745c14b**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答データ。 |
||
| RequestId |
string |
リクエストの ID。 |
4BAEA8E8-1C16-5CD3-AC50-CCBA81A53402 |
| Job |
object |
トランスコードタスク。 |
|
| RequestId |
string |
トランスコードタスク作成リクエストの ID。 |
******11-DB8D-4A9A-875B-275798****** |
| ClientToken |
string |
トランスコードタスク作成リクエストの冪等性キー。 |
780018cb-55ba-466d-8acc-946c0c319a0e |
| JobId |
string |
トランスコードタスクの ID(32 文字の文字列)。 |
******4579b5e748b99a27f6d6****** |
| Config |
object |
トランスコードタスクの構成。 |
|
| Inputs |
array |
トランスコードタスクの入力。 |
|
| MediaConvertInput |
トランスコードタスクの入力。 |
||
| Outputs |
array |
出力設定。 |
|
| MediaConvertOutput |
出力設定。 |
||
| OutputGroups |
array |
出力グループ設定。 |
|
| MediaConvertOutputGroup |
出力グループ設定。 |
||
| JobName |
string |
タスク名。 |
job-1-20241205-102045 |
| PipelineId |
string |
キューの ID。 |
83500cb2a3b94fabb0956e38d64bd16d |
| UserData |
string |
ユーザー定義データ。 |
{"videoId":"ddd333"} |
| Code |
string |
トランスコードタスクが失敗した場合に返されるエラーコード。 |
InvalidParameter.ResourceContentBad |
| Message |
string |
トランスコードタスクが失敗した場合に返されるエラーメッセージ。 |
The resource operated InputFile is bad |
| State |
string |
トランスコードタスクのステータス。有効な値は以下のとおりです。
|
Complete |
| OutputDetails |
array |
トランスコード後の出力の詳細情報。各要素は対応する出力設定に該当します。 |
|
| MediaConvertOutputDetail |
トランスコード後の出力の詳細情報。 |
||
| OutputGroupDetails |
array |
出力グループの詳細情報。各要素は対応する出力グループ設定に該当します。 |
|
| MediaConvertOutputGroupDetail |
出力グループの詳細情報。 |
||
| Percent |
integer |
[responses_200_schema_properties_Job_properties_OutputGroupDetails_items_description]ApsaraVideo Media Processing の出力グループの結果。 |
0 |
| CreateTime |
string |
ジョブ作成時刻(UTC)。形式:yyyy-MM-ddTHH:mm:ssZ。 |
2024-12-07T13:01:07Z |
| FinishTime |
string |
ジョブ完了時刻(UTC)。形式:yyyy-MM-ddTHH:mm:ssZ。 |
2024-12-07T13:01:07Z |
例
成功レスポンス
JSONJSON
{
"RequestId": "4BAEA8E8-1C16-5CD3-AC50-CCBA81A53402",
"Job": {
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"ClientToken": "780018cb-55ba-466d-8acc-946c0c319a0e ",
"JobId": "******4579b5e748b99a27f6d6******",
"Config": {
"Inputs": [
{
"Name": "InputVideo",
"InputFile": {
"Type": "OSS",
"Media": "http://bucket.loction.aliyuncs.com/path/to/video.mp4"
}
}
],
"Outputs": [
{
"OutputFile": {
"Type": "OSS",
"Media": "http://bucket.loction.aliyuncs.com/path/to/video.mp4"
},
"Priority": 6,
"OverrideParams": "{}",
"Features": "{}",
"TemplateId": "****96e8864746a0b6f3****",
"Name": "output-video"
}
],
"OutputGroups": [
{
"GroupConfig": {
"OutputFileBase": {
"Type": "OSS",
"Media": "http://bucket.loction.aliyuncs.com/path/to/video.mp4"
},
"ManifestName": "manifest",
"Type": "Hls"
},
"Outputs": [
{
"Priority": 6,
"OverrideParams": "{}",
"Features": "{}",
"OutputFileName": "720p.mp4",
"TemplateId": "****96e8864746a0b6f3****\n",
"Name": "group-output"
}
],
"Name": "hls-group"
}
],
"JobName": "job-1-20241205-102045"
},
"PipelineId": "83500cb2a3b94fabb0956e38d64bd16d",
"UserData": "{\"videoId\":\"ddd333\"}",
"Code": "InvalidParameter.ResourceContentBad",
"Message": "The resource operated InputFile is bad",
"State": "Complete",
"OutputDetails": [
{
"Status": "Success",
"TaskId": "******4215e042b3966ca5441e******",
"Message": "The resource operated InputFile is bad\n",
"FinishTime": "2024-12-07T13:01:07Z",
"CreateTime": "2024-12-07T06:06:58Z",
"Code": "InvalidParameter.ResourceContentBad\n",
"Name": "720P-mp4",
"Result": {
"OutputFile": {
"Type": "OSS",
"Media": "oss://bucket/path/to/video.mp4\n",
"Url": "oss://bucket/path/to/video.mp4"
},
"OutFileMeta": {
"VideoStreamInfoList": [
{
"Rotate": "0",
"Codec_tag": "0x001b",
"Sar": "478:477",
"Start_time": "1.473556",
"Fps": "25.0",
"Index": "0",
"Duration": "403.039989",
"Lang": "cn",
"Codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"PixFmt": "yuv420p",
"Bit_rate": "888.563",
"Profile": "High",
"Has_b_frames": "2",
"Codec_time_base": "1/50",
"Dar": "16:9",
"Avg_fps": "25.0",
"Codec_tag_string": "[27][0][0][0]",
"Codec_name": "h264",
"Height": "478",
"Level": "31",
"Time_base": "1/90000",
"Width": "848",
"NumFrames": "10040"
}
],
"AudioStreamInfoList": [
{
"CodecTag": "0x000f",
"CodecTimeBase": "1/44100",
"ChannelLayout": "stereo",
"StartTime": "1.473556",
"Index": "1",
"Duration": "403.039989",
"Lang": "cn",
"SampleFmt": "fltp",
"CodecName": "aac",
"Bitrate": "0.f",
"Channels": "2",
"Timebase": "1/90000",
"CodecTagString": "[15][0][0][0]",
"SampleRate": "44100",
"CodecLongName": "AAC (Advanced Audio Coding)"
}
],
"FileBasicInfo": {
"FileUrl": "http://bucket.oss-cn-shanghai.aliyuncs.com/path/to/file.m3u8",
"FileStatus": "Normal",
"MediaId": "9066406c306771f0bfa35107e0c90102",
"FileType": "source_file",
"FileName": "file.m3u8",
"Region": "cn-shanghai",
"FormatName": "hls,applehttp",
"Duration": "403.039999",
"Height": "478",
"Bitrate": "888.563",
"Width": "848",
"FileSize": "31737"
}
}
}
}
],
"OutputGroupDetails": [
{
"Status": "Success",
"TaskId": "******22dad741d086a50325f9******",
"Message": "The resource operated \"InputFile\" is bad",
"FinishTime": "2025-03-21T01:48:41Z\n",
"CreateTime": "2025-03-21T01:48:41Z",
"Outputs": [
{
"Status": "Success",
"TaskId": "******4215e042b3966ca5441e******",
"Message": "The resource operated InputFile is bad\n",
"FinishTime": "2024-12-07T13:01:07Z",
"CreateTime": "2024-12-07T06:06:58Z",
"Code": "InvalidParameter.ResourceContentBad\n",
"Name": "720P-mp4",
"Result": {
"OutputFile": {
"Type": "OSS",
"Media": "oss://bucket/path/to/video.mp4\n",
"Url": "oss://bucket/path/to/video.mp4"
},
"OutFileMeta": {
"VideoStreamInfoList": [
{
"Rotate": "0",
"Codec_tag": "0x001b",
"Sar": "478:477",
"Start_time": "1.473556",
"Fps": "25.0",
"Index": "0",
"Duration": "403.039989",
"Lang": "cn",
"Codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"PixFmt": "yuv420p",
"Bit_rate": "888.563",
"Profile": "High",
"Has_b_frames": "2",
"Codec_time_base": "1/50",
"Dar": "16:9",
"Avg_fps": "25.0",
"Codec_tag_string": "[27][0][0][0]",
"Codec_name": "h264",
"Height": "478",
"Level": "31",
"Time_base": "1/90000",
"Width": "848",
"NumFrames": "10040"
}
],
"AudioStreamInfoList": [
{
"CodecTag": "0x000f",
"CodecTimeBase": "1/44100",
"ChannelLayout": "stereo",
"StartTime": "1.473556",
"Index": "1",
"Duration": "403.039989",
"Lang": "cn",
"SampleFmt": "fltp",
"CodecName": "aac",
"Bitrate": "0.f",
"Channels": "2",
"Timebase": "1/90000",
"CodecTagString": "[15][0][0][0]",
"SampleRate": "44100",
"CodecLongName": "AAC (Advanced Audio Coding)"
}
],
"FileBasicInfo": {
"FileUrl": "http://bucket.oss-cn-shanghai.aliyuncs.com/path/to/file.m3u8",
"FileStatus": "Normal",
"MediaId": "9066406c306771f0bfa35107e0c90102",
"FileType": "source_file",
"FileName": "file.m3u8",
"Region": "cn-shanghai",
"FormatName": "hls,applehttp",
"Duration": "403.039999",
"Height": "478",
"Bitrate": "888.563",
"Width": "848",
"FileSize": "31737"
}
}
}
}
],
"Code": "InvalidParameter.ResourceContentBad",
"Name": "hls-group"
}
],
"Percent": 0,
"CreateTime": "2024-12-07T13:01:07Z\n",
"FinishTime": "2024-12-07T13:01:07Z\n"
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。