Class ApiKeyframe
A single extracted scene-change keyframe.
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiKeyframe
Constructors
View SourceApiKeyframe(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 |
Properties
View SourceImageBase64
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 |
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 |
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 |