The ID of the MPS queue to which the job is added. To view the MPS queue ID, log on to the MPS console and choose Global Settings > Pipelines in the left-side navigation pane. If you want to enable asynchronous notifications, make sure that the queue is bound to a Message Service (MNS) topic.
The information about the preset template analysis job that was submitted.
testid-001
PipelineId
string
Yes
The time when the job was created.
bb558c1cc25b45309aab5be44d19****
Priority
string
No
The transcoding progress.
10
Response parameters
Parameter
Type
Description
Example
object
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.
RequestId
string
The job configuration.
B52658D4-07AB-43CD-82B0-210958A65E23
AnalysisJob
object
The quality control on the job output.
CreationTime
string
The playback mode. Valid values:
network: online playback
local: playback on on-premises devices
Default value: network.
2014-01-10T12:00:00Z
Percent
long
The quality level of the job output.
100
State
string
The control on the attributes of the job output.
Success
AnalysisConfig
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.
QualityControl
object
The cropping configuration of video images.
MethodStreaming
string
The top margin that was cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
network
RateQuality
string
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.
50
PropertiesControl
object
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.
Deinterlace
string
The left margin that was cropped out.
Note This parameter is invalid if the Mode parameter is set to Auto or None.
Force
Crop
object
The cropping mode. Valid values: Valid values:
Auto: Cropping was automatically run. This is the default value.
Force: Cropping was forced to run.
None: Cropping was forced not to run.
Top
string
The error message returned when the job fails.
8
Width
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
Height
string
The message sent by MNS to notify the user of the job result.
8
Left
string
The ID of the success message. This parameter is not returned if the job fails.
8
Mode
string
The error message returned when the job fails. This parameter is not returned if the job is successful.
Auto
Message
string
The error code 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 list of matched preset templates.
10
MNSMessageResult
object
The video codec configuration.
MessageId
string
The size of the buffer.
Unit: KB.
Default value: 6000.
3ca84a39a9024f19853b21be9cf9****
ErrorMessage
string
The level of the independent denoising algorithm.
The resource operated \"PipelineId\" cannot be found
ErrorCode
string
The average bitrate range of the video.
InvalidParameter.ResourceNotFound
TemplateList
object []
The upper limit of the total bitrate. Unit: Kbit/s.
Video
object
The pixel format for video color encoding. Valid values: standard pixel formats such as yuv420p and yuvj420p.
Bufsize
string
The video codec format. Default value: H.264.
5000
Degrain
string
The height of the video.
Unit: pixel.
Default value: the original height of the video.
5
BitrateBnd
object
The level of quality control on the video.
Max
string
The average bitrate of the video. Unit: Kbit/s.
20
Min
string
The maximum video bitrate. Unit: Kbit/s.
10
PixFmt
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.
yuvj420p
Codec
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.
H.264
Height
string
The maximum number of frames between two keyframes. Default value: 250.
1880
Qscale
string
The width of the video.
Unit: pixel.
Default value: the original width of the video.
15
Bitrate
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.
10
Maxrate
string
The preset video algorithm. Valid values: veryfast, fast, medium, slow, and slower. Default value: medium.
10
Profile
string
The scan mode. Valid values:
interlaced: An interlaced scan was performed.
progressive: A progressive scan was performed.
baseline
Crf
string
The general transcoding configuration.
27
Gop
string
The transcoding mode. Valid values: onepass, twopass, and CBR. Default value: onepass.
1
Width
string
The status of the template. Valid values:
Normal: The template is in the normal state.
Deleted: The template is deleted.
1990
Fps
string
The transmuxing configuration.
60
Preset
string
The GIF format.
medium
ScanMode
string
The interval between two consecutive loops for the GIF format. Unit: 0.01s. For example, a value of 500 indicates 5 seconds.
progressive
TransConfig
object
The number of loops for the GIF or WebP format. Default value: 0.
TransMode
string
The segment configuration.
onepass
State
string
The length of the segment. Unit: seconds.
Normal
MuxConfig
object
The name of the template.
Gif
object
The audio codec configuration.
FinalDelay
string
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, and aac_eld.
0
Loop
string
The audio codec format. Default value: aac.
0
Segment
object
The sampling rate.
Unit: Hz.
Default value: 44100.
Duration
string
The level of quality control on the audio.
60
Name
string
The number of sound channels. Default value: 2.
FLV-UD
Audio
object
The audio bitrate of the output file.
Unit: Kbit/s.
Default value: 128.
Profile
string
The ID of the transcoding template.
aac_low
Codec
string
The container configuration.
mp3
Samplerate
string
The container format.
32000
Qscale
string
The custom data.
10
Channels
string
The error code returned when the job fails. This parameter is not returned if the job is successful.
1
Bitrate
string
The information about the job input.
8
Id
string
The name of the input file uploaded to the OSS bucket.
S00000000-00****
Container
object
The ID of the OSS region.
Format
string
The name of the OSS bucket to which the input file is uploaded.
flv
UserData
string
The ID of the MPS queue to which the job is added.
testid-001
Code
string
The ID of the template analysis job.
InvalidParameter.ResourceNotFound
InputFile
object
After you call the SubmitAnalysisJob operation to submit a preset template analysis job, ApsaraVideo Media Processing (MPS) intelligently analyzes the input file of the job and recommends a suitable preset template. You can call the QueryAnalysisJobList operation to query the analysis result or enable asynchronous notifications to receive the analysis result.
The analysis result is retained only for two weeks since it is generated. It is deleted after two weeks. If you use the recommended preset template in a transcoding job after two weeks, the job fails, and the AnalysisResultNotFound error code is returned.
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.
Object
string
The scan mode. Valid values:
interlaced: An interlaced scan was performed.
progressive: A progressive scan was performed.
example.flv
Location
string
The length of the segment. Unit: seconds.
oss-cn-hangzhou
Bucket
string
The transcoding progress.
example-bucket
PipelineId
string
The preset video algorithm. Valid values: veryfast, fast, medium, slow, and slower. Default value: medium.