Class: TencentCloud::Ivld::V20210903::DescribeVideoSummaryDetailResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210903/models.rb

Overview

DescribeVideoSummaryDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, failedreason = nil, asrset = nil, textsummary = nil, textsegset = nil, shotsegset = nil, textsegmatchshotscoreset = nil, ttsresulturlset = nil, videoresulturl = nil, videorotateresulturl = nil, requestid = nil) ⇒ DescribeVideoSummaryDetailResponse

Returns a new instance of DescribeVideoSummaryDetailResponse.



1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
# File 'lib/v20210903/models.rb', line 1485

def initialize(status=nil, failedreason=nil, asrset=nil, textsummary=nil, textsegset=nil, shotsegset=nil, textsegmatchshotscoreset=nil, ttsresulturlset=nil, videoresulturl=nil, videorotateresulturl=nil, requestid=nil)
  @Status = status
  @FailedReason = failedreason
  @AsrSet = asrset
  @TextSummary = textsummary
  @TextSegSet = textsegset
  @ShotSegSet = shotsegset
  @TextSegMatchShotScoreSet = textsegmatchshotscoreset
  @TTSResultURLSet = ttsresulturlset
  @VideoResultURL = videoresulturl
  @VideoRotateResultURL = videorotateresulturl
  @RequestId = requestid
end

Instance Attribute Details

#AsrSetObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def AsrSet
  @AsrSet
end

#FailedReasonObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def FailedReason
  @FailedReason
end

#RequestIdObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def RequestId
  @RequestId
end

#ShotSegSetObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def ShotSegSet
  @ShotSegSet
end

#StatusObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def Status
  @Status
end

#TextSegMatchShotScoreSetObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def TextSegMatchShotScoreSet
  @TextSegMatchShotScoreSet
end

#TextSegSetObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def TextSegSet
  @TextSegSet
end

#TextSummaryObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def TextSummary
  @TextSummary
end

#TTSResultURLSetObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def TTSResultURLSet
  @TTSResultURLSet
end

#VideoResultURLObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def VideoResultURL
  @VideoResultURL
end

#VideoRotateResultURLObject

1: 等待处理中2: 处理中3: 处理成功4: 处理失败

Parameters:

  • Status:

    任务的状态

  • FailedReason:

    如果处理失败,返回失败的原因

  • AsrSet:

    提取出的视频的 Asr 结果

  • TextSummary:

    文本摘要结果

  • TextSegSet:

    文本摘要分割结果

  • ShotSegSet:

    镜头分割结果

  • TextSegMatchShotScoreSet:

    数组第 i 个结构 TextSegMatchShotConfidenceSet 表示第 i 个文本摘要分割结果和所有镜头的匹配度。

  • TTSResultURLSet:

    TTS 输出音频下载地址列表

  • VideoResultURL:

    合成视频输出下载地址

  • VideoRotateResultURL:

    合成后的视频横竖屏转换后的视频下载地址

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1483
1484
1485
# File 'lib/v20210903/models.rb', line 1483

def VideoRotateResultURL
  @VideoRotateResultURL
end

Instance Method Details

#deserialize(params) ⇒ Object



1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
# File 'lib/v20210903/models.rb', line 1499

def deserialize(params)
  @Status = params['Status']
  @FailedReason = params['FailedReason']
  unless params['AsrSet'].nil?
    @AsrSet = []
    params['AsrSet'].each do |i|
      asrresult_tmp = AsrResult.new
      asrresult_tmp.deserialize(i)
      @AsrSet << asrresult_tmp
    end
  end
  @TextSummary = params['TextSummary']
  @TextSegSet = params['TextSegSet']
  unless params['ShotSegSet'].nil?
    @ShotSegSet = []
    params['ShotSegSet'].each do |i|
      shotinfo_tmp = ShotInfo.new
      shotinfo_tmp.deserialize(i)
      @ShotSegSet << shotinfo_tmp
    end
  end
  unless params['TextSegMatchShotScoreSet'].nil?
    @TextSegMatchShotScoreSet = []
    params['TextSegMatchShotScoreSet'].each do |i|
      textsegmatchshotscore_tmp = TextSegMatchShotScore.new
      textsegmatchshotscore_tmp.deserialize(i)
      @TextSegMatchShotScoreSet << textsegmatchshotscore_tmp
    end
  end
  @TTSResultURLSet = params['TTSResultURLSet']
  @VideoResultURL = params['VideoResultURL']
  @VideoRotateResultURL = params['VideoRotateResultURL']
  @RequestId = params['RequestId']
end