查询模板分析作业接口,模板分析作业完成后,返回可用的预置模板列表。

请求参数

名称 类型 是否必须 描述
Action String 操作接口名,系统规定参数,取值:QueryAnalysisJobList
AnalysisJobIds String 模板分析作业ID列表。
  • 一次最多查询10个。
  • 多个使用逗号“,”作为分隔符。

返回参数

名称 类型 描述
AnalysisJobList AliyunAnalysisJob[ ] 模板分析作业列表
NonExistAnalysisJobIds String[ ] 不存在的模板分析作业ID列表,无数据时该结构不返回

示例

请求示例
http://mts.cn-hangzhou.aliyuncs.com/?Action=QueryAnalysisJobList&AnalysisJobIds=31fa3c9ca8134f9cec2b4b0b0f787830&<公共参数>

返回示例

XML
<QueryAnalysisJobListResponse>
        <RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
        <AnalysisJobList list="true">
            <AnalysisJob>
                <Id>88c6ca184c0e47098a5b665e2a126797</Id>
                <InputFile>
                    <Bucket>example-bucket</Bucket>
                    <Location>oss-cn-hangzhou</Location>
                    <Object>example.flv</Object>
                </InputFile>
                <AnalysisConfig>
                    <QualityControl>
                        <RateQuality>25</RateQuality>
                        <MethodStreaming>network</MethodStreaming>
                    </QualityControl>
                </AnalysisConfig>
                <UserData>testid-001</UserData>
                <State>Success</State>
                <Code> </Code>
                <Message> </Message>
                <Percent>100</Percent>
                <CreationTime>2014-01-10T12:00:00Z</CreationTime>
                <PipelineId>88c6ca184c0e47098a5b665e2a126797</PipelineId>
                <TemplateList list="true">
                    <Template>
                        <Id>S00000000-000020</Id>
                        <Name>FLV-UD</Name>
                        <Container>
                            <Format>flv</Format>
                        </Container>
                        <Video>
                            <Codec>Auto</Codec>
                            <Profile>Auto</Profile>
                            <Bitrate>Auto</Bitrate>
                            <Crf>Auto</Crf>
                            <Width>Auto</Width>
                            <Height>Auto</Height>
                            <Fps>Auto</Fps>
                            <Gop>Auto</Gop>
                        </Video>
                        <Audio>
                            <Codec>Auto</Codec>
                            <Samplerate>Auto</Samplerate>
                            <Bitrate>Auto</Bitrate>
                            <Channels>Auto</Channels>
                        </Audio>
                        <State>Normal</State>
                    </Template >
                </TemplateList>
            </AnalysisJob>
        </AnalysisJobList>
    </QueryAnalysisJobListResponse>
JSON
{
        "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
        "AnalysisJobList": {
            "AnalysisJob": [{
                "Id": "88c6ca184c0e47098a5b665e2a126797",
                "InputFile": {
                            "Bucket": "example-bucket",
                            "Location": "oss-cn-hangzhou",
                            "Object": "example.flv"
                    },
                "AnalysisConfig": {
                    "QualityControl": {
                        "RateQuality": 25,
                        "MethodStreaming": "network"
                    }
                },
                "UserData":"testid-001",
                "State": "Success",
                "Code": "",
                "Message": "",
                "Percent": 100,
                "PipelineId": "88c6ca184c0e47098a5b665e2a126797",
                "CreationTime”:”2014-01-10T12:00:00Z"
                "TemplateList": {
                    "Template": [{
                        "Id": "S00000000-000020",
                        "Name": "FLV-UD",
                        "Container": {
                            "Format": "flv"
                            },
                        "Video": {
                            "Codec": "Auto",
                            "Profile": "Auto",
                            "Bitrate": "Auto",
                            "Crf": "Auto",
                            "Width": "Auto",
                            "Height": "Auto",
                            "Fps": "Auto",
                            "Gop": "Auto"
                            },
                        "Audio": {
                            "Codec": "AAC",
                            "Samplerate": "44100",
                            "Bitrate": "Auto",
                            "Channels": "Auto"
                            },
                        "State": "Normal"
                        }]
                    }
                }]
            }
    }