Mengambil informasi detail tentang Pekerjaan komposit klip, termasuk status Pekerjaan, linimasa, Templat dan data, ID Sumber daya aset keluaran, alamat penyimpanan, Durasi, dan informasi Pekerjaan lainnya. API ini hanya mendukung pengkuerian data Pekerjaan pemotongan langsung dalam satu tahun terakhir.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetLiveEditingJob |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
JobId pengeditan langsung. |
****d80e4e4044975745c14b**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
****36-3C1E-4417-BDB2-1E034F**** |
| LiveEditingJob |
object |
Pekerjaan pengeditan langsung. |
|
| JobId |
string |
ID pekerjaan pengeditan langsung. |
****cdb3e74639973036bc84**** |
| ProjectId |
string |
ID proyek pengeditan langsung. |
****fddd7748b58bf1d47e95**** |
| Status |
string |
Status pekerjaan pengeditan langsung. Nilai valid:
|
Success |
| Clips |
string |
Daftar segmen klip. |
[{\"StartTime\": \" 2021-06-21T08:01:00Z\", \"EndTime\": \" 2021-06-21T08:03:00Z\" }] |
| UserData |
string |
Data pengguna. |
{"key": "value'} |
| CreationTime |
string |
Waktu pembuatan pekerjaan pengeditan langsung, dalam format UTC. |
2020-12-23T13:33:40Z |
| ModifiedTime |
string |
Waktu modifikasi pekerjaan pengeditan langsung, dalam format UTC. |
2020-12-23T13:33:49Z |
| CompleteTime |
string |
Waktu penyelesaian pekerjaan pengeditan langsung, dalam format UTC. |
2020-12-23T13:33:52Z |
| MediaId |
string |
ID resource aset keluaran. |
****0cc6ba49eab379332c5b**** |
| MediaURL |
string |
URL file resource aset keluaran. |
http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4 |
| Code |
string |
Kode kesalahan pekerjaan komposit klip. Catatan: Perhatikan bidang ini ketika pekerjaan gagal. |
InvalidParameter |
| Message |
string |
Paket kesalahan pekerjaan komposit klip. Catatan: Perhatikan bidang ini ketika pekerjaan gagal. |
The specific parameter LiveStreamConfig is not valid. |
| LiveStreamConfig |
object |
Konfigurasi pengeditan langsung. |
|
| AppName |
string |
The name of the application to which the live stream belongs. |
app |
| DomainName |
string |
The domain name of the live stream. |
domain.com |
| StreamName |
string |
The name of the live stream. |
streamName |
| MediaProduceConfig |
object |
Konfigurasi komposit pengeditan langsung. |
|
| Mode |
string |
The editing mode. Default value: Accurate. |
Accurate |
| OutputMediaConfig |
object |
Konfigurasi penyimpanan media komposit keluaran. |
|
| MediaURL |
string |
The URL of the output file. |
https://testice-testbucket.oss-cn-shanghai.aliyuncs.com/test.mp4 |
| StorageLocation |
string |
If OutputMediaTarget is set to vod-media, this parameter indicates the storage location of the media asset in ApsaraVideo VOD. The storage location is the path of the file in ApsaraVideo VOD, excluding the prefix http://. Example: outin-xxxxxx.oss-cn-shanghai.aliyuncs.com. |
outin-xxxxxx.oss-cn-shanghai.aliyuncs.com |
| FileName |
string |
If OutputMediaTarget is set to vod-media, this parameter indicates the file name of the output file. The value contains the file name extension but not the path. |
test.mp4 |
| Width |
integer |
The width of the output file. You can leave this parameter empty. The default value is the maximum width of the input materials. |
640 |
| Height |
integer |
The height of the output file. You can leave this parameter empty. The default value is the maximum height of the input materials. |
480 |
| Bitrate |
integer |
The bitrate of the output file. Unit: Kbit/s. You can leave this parameter empty. The default value is the maximum bitrate of the input materials. |
1000 |
| VodTemplateGroupId |
string |
The ID of the VOD transcoding template group. If VOD transcoding is not required, set the value to VOD_NO_TRANSCODE. |
VOD_NO_TRANSCODE |
Contoh
Respons sukses
JSONformat
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****",
"LiveEditingJob": {
"JobId": "****cdb3e74639973036bc84****",
"ProjectId": "****fddd7748b58bf1d47e95****",
"Status": "Success",
"Clips": "[{\\\"StartTime\\\": \\\" 2021-06-21T08:01:00Z\\\", \\\"EndTime\\\": \\\" 2021-06-21T08:03:00Z\\\" }]",
"UserData": "{\"key\": \"value'}",
"CreationTime": "2020-12-23T13:33:40Z",
"ModifiedTime": "2020-12-23T13:33:49Z",
"CompleteTime": "2020-12-23T13:33:52Z",
"MediaId": "****0cc6ba49eab379332c5b****",
"MediaURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4",
"Code": "InvalidParameter",
"Message": "The specific parameter LiveStreamConfig is not valid.",
"LiveStreamConfig": {
"AppName": "app",
"DomainName": "domain.com",
"StreamName": "streamName"
},
"MediaProduceConfig": {
"Mode": "Accurate"
},
"OutputMediaConfig": {
"MediaURL": "https://testice-testbucket.oss-cn-shanghai.aliyuncs.com/test.mp4",
"StorageLocation": "outin-xxxxxx.oss-cn-shanghai.aliyuncs.com",
"FileName": "test.mp4",
"Width": 640,
"Height": 480,
"Bitrate": 1000,
"VodTemplateGroupId": "VOD_NO_TRANSCODE"
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.