你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReviewsExtensions.AddVideoFrameStreamAsync 方法

定义

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

public static System.Threading.Tasks.Task AddVideoFrameStreamAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string contentType, string teamName, string reviewId, System.IO.Stream frameImageZip, string frameMetadata, int? timescale = default, System.Threading.CancellationToken cancellationToken = default);
static member AddVideoFrameStreamAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * string * System.IO.Stream * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddVideoFrameStreamAsync (operations As IReviews, contentType As String, teamName As String, reviewId As String, frameImageZip As Stream, frameMetadata As String, Optional timescale As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IReviews

此扩展方法的操作组。

contentType
String

内容类型。

teamName
String

你的团队名称。

reviewId
String

评审的 ID。

frameImageZip
Stream

包含帧图像的 Zip 文件。

frameMetadata
String

帧的元数据。

timescale
Nullable<Int32>

视频 的时间刻度。

cancellationToken
CancellationToken

取消标记。

返回

适用于