Dropbox .NET SDK
Show / Hide Table of Contents

Class ApiKeyframe

A single extracted scene-change keyframe.

Inheritance
object
ApiKeyframe
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiKeyframe

Constructors

View Source

ApiKeyframe(double, double, string)

Initializes a new instance of the ApiKeyframe class.

Declaration
public ApiKeyframe(double timestamp = 0, double sceneScore = 0, string imageBase64 = "")
Parameters
Type Name Description
double timestamp

Presentation timestamp of the keyframe, in seconds from the start of the video.

double sceneScore

Scene-change score that triggered this keyframe, in the range [0.0, 1.0]. Higher values indicate a more pronounced scene change relative to the preceding frame. The first keyframe of a video is always reported as 1.0: the start of a video is a scene boundary by definition, so that score is not a measured frame-to-frame comparison.

string imageBase64

The extracted frame as a base64-encoded JPEG image. Empty when the request set include_images = false.

Properties

View Source

ImageBase64

The extracted frame as a base64-encoded JPEG image. Empty when the request set `include_images = false`.

Declaration
public string ImageBase64 { get; protected set; }
Property Value
Type Description
string
View Source

SceneScore

Scene-change score that triggered this keyframe, in the range [0.0, 1.0]. Higher values indicate a more pronounced scene change relative to the preceding frame. The first keyframe of a video is always reported as 1.0: the start of a video is a scene boundary by definition, so that score is not a measured frame-to-frame comparison.

Declaration
public double SceneScore { get; protected set; }
Property Value
Type Description
double
View Source

Timestamp

Presentation timestamp of the keyframe, in seconds from the start of the video.

Declaration
public double Timestamp { get; protected set; }
Property Value
Type Description
double
  • View Source
In this article
Back to top Dropbox .NET SDK