There is currently no authorization information disclosed in the API.
Request parameters
Parameter
Type
Required
Description
Example
AnalysisJobIds
string
Yes
The transcoding progress.
bb558c1cc25b45309aab5be44d19****
Response parameters
Parameter
Type
Description
Example
object
RequestId
string
The status of the job. Valid values:
Submitted: The job has been submitted.
Analyzing: The job is being run.
Success: The job is successful.
Fail: The job fails.
5CA6E020-4102-4FFF-AA56-5ED7ECD811A1
AnalysisJobList
object []
The job configuration.
CreationTime
string
The quality control on the job output.
2014-01-10T12:00:00Z
Percent
long
The playback mode. Valid values:
network: online playback
local: playback on on-premises devices
Default value: network.
86
State
string
The quality level of the job output. Default value: 25.
Success
AnalysisConfig
object
The control on the attributes of the job output.
QualityControl
object
Indicates whether deinterlacing was forced to run. Valid values:
Auto: Deinterlacing was automatically run.
Force: Deinterlacing was forced to run.
None: Deinterlacing was forced not to run.
MethodStreaming
string
The cropping configuration of video images.
network
RateQuality
string
The top margin that was cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
25
PropertiesControl
object
The width of the video after the margins were cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
Deinterlace
string
The height of the video after the margins were cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
Auto
Crop
object
The left margin that was cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
Top
string
The cropping mode. Valid values: Valid values:
Auto: Cropping was automatically run.
Force: Cropping was forced to run.
None: Cropping was forced not to run.
This parameter is required if the value of the Crop parameter is not an empty JSON object.
8
Width
string
The error message returned when the job fails.
8
Height
string
The priority of the job in the MPS queue to which the job is added.
Valid values: 1 to 10. A value of 10 indicates the highest priority.
Default value: 10.
8
Left
string
The message sent by Message Service (MNS) to notify the user of the job result.
8
Mode
string
The ID of the success message. This parameter is not returned if the job fails.
Auto
Message
string
The error message returned when the job fails. This parameter is not returned if the job is successful.
The resource operated \"PipelineId\" cannot be found
Priority
string
The error code returned when the job fails. This parameter is not returned if the job is successful.
8
MNSMessageResult
object
The list of matched preset templates.
MessageId
string
The video codec configuration.
3ca84a39a9024f19853b21be9cf9****
ErrorMessage
string
The size of the buffer.
Unit: KB.
Default value: 6000.
The resource operated \"PipelineId\" cannot be found
ErrorCode
string
The level of the independent denoising algorithm.
InvalidParameter.ResourceNotFound
TemplateList
object []
The average bit rate range of the video.
Video
object
The upper limit of the total bitrate. Unit: Kbit/s.
Bufsize
string
The lower limit of the total bitrate. Unit: Kbit/s.
6000
Degrain
string
The pixel format for video color encoding. Valid values: standard pixel formats such as yuv420p and yuvj420p.
5
BitrateBnd
object
The video codec format. Valid values: H.264 and H.265. Default value: H.264.
Max
string
The height of the video.
Unit: pixel.
Default value: the original height of the video.
1500
Min
string
The level of quality control on the video.
800
PixFmt
string
The average bitrate of the video. Unit: Kbit/s.
yuv420p
Codec
string
The maximum video bitrate.
Valid values: 10 to 50000.
Unit: Kbit/s.
H.264
Height
string
The codec profile. Valid values:
baseline: applicable to mobile devices.
main: applicable to standard-definition devices.
high: applicable to high-definition devices.
Default value: high.
720
Qscale
string
The constant rate factor, which is the default quality control setting.
Default value when the Codec parameter is set to H.264: 23. Default value when the Codec parameter is set to H.265: 26.
If this parameter is returned, the setting of the Bitrate parameter is invalid.
15
Bitrate
string
The maximum number of frames between two keyframes. Default value: 250.
1000
Maxrate
string
The width of the video.
Unit: pixel.
Default value: the original width of the video.
2000
Profile
string
The frame rate.
The value is 60 if the frame rate of the input file exceeds 60.
Default value: the frame rate of the input file.
high
Crf
string
The preset video algorithm. Valid values: veryfast, fast, medium, slow, and slower. Default value: medium.
26
Gop
string
The scan mode. Valid values:
interlaced: An interlaced scan was performed.
progressive: A progressive scan was performed.
250
Width
string
The general transcoding configuration.
1280
Fps
string
The transcoding mode. Default value: onepass. Valid values:
onepass
twopass
CBR
25
Preset
string
The status of the template. Valid values:
Normal: The template is in the normal state.
Deleted: The template is deleted.
medium
ScanMode
string
The transmuxing configuration.
interlaced
TransConfig
object
The GIF format.
TransMode
string
The interval between two consecutive loops for the GIF format. Unit: 0.01s. For example, a value of 500 indicates 5 seconds.
onepass
State
string
The number of loops for the GIF or WebP format. Default value: 0.
Normal
MuxConfig
object
The segment configuration.
Gif
object
The length of the segment. Unit: seconds.
FinalDelay
string
The name of the template.
0
Loop
string
The audio codec configuration.
0
Segment
object
The codec profile of the audio file. Valid values when the Codec parameter is set to aac:
aac_low
aac_he
aac_he_v2
aac_ld
aac_eld
Duration
string
The audio codec format. Default value: aac. Valid values:
aac
mp3
vorbis
flac
10
Name
string
The sampling rate.
Unit: Hz.
Default value: 44100.
FLV-UD
Audio
object
The level of quality control on the audio.
Profile
string
The number of sound channels. Default value: 2.
aac_low
Codec
string
The audio bitrate of the output file.
Valid values: 8 to 1000.
Unit: Kbit/s.
Default value: 128.
aac
Samplerate
string
The ID of the transcoding template.
44100
Qscale
string
The container configuration.
15
Channels
string
The container format.
2
Bitrate
string
The custom data.
128
Id
string
The error code returned when the job fails.
S00000000-00****
Container
object
The information about the job input.
Format
string
The name of the input file uploaded to the Object Storage Service (OSS) bucket.
flv
UserData
string
The ID of the OSS region.
testid-001
Code
string
The name of the OSS bucket to which the input file is uploaded.
InvalidParameter.ResourceNotFound
InputFile
object
The ID of the ApsaraVideo Media Processing (MPS) queue to which the job is added.
Object
string
The ID of the template analysis job.
example.flv
Location
string
The IDs of the template analysis jobs that do not exist. If all queried job IDs exist, the response does not contain this parameter.
oss-cn-hangzhou
Bucket
string
You can call this operation to query up to 10 template analysis jobs at a time.
QPS limit
You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limit.
example-bucket
PipelineId
string
The level of quality control on the video.
bb558c1cc25b45309aab5be44d19****
Id
string
The status of the job. Valid values:
Submitted: The job has been submitted.
Analyzing: The job is being run.
Success: The job is successful.
Fail: The job fails.
57f6aa3f84824309bcba67231b406****
NonExistAnalysisJobIds
array
The message sent by Message Service (MNS) to notify the user of the job result.
string
The operation that you want to perform. Set the value to QueryAnalysisJobList.