ImageBaseVideoPreviewMetadata

GoogleApi.ContentWarehouse.V1.Model.ImageBaseVideoPreviewMetadata


Table of Contents ▼

Jump to a specific part of the page:

Description

This message is used internally in Amarna and is also used to store information in the VideoWebAttachment portion of the websearch index. Only the following fields will be used in the index: VideoPreviewType type int32 width int32 height byte byte_size If more fields are added, please update this list.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. byteSize (type: integer(), default: nil)
    - Size of the stored preview.
  2. docid (type: String.t, default: nil)
    - 64 bit docid of the original video.
  3. duration (type: integer(), default: nil)
    - TODO (yzliu): consider using duration_ms as field name since it is number of milliseconds. Duration of the preview in ms.
  4. expirationTimestampMicros (type: String.t, default: nil)
    - Expiration timestamp of preview in microseconds since epoch.
  5. fprint (type: String.t, default: nil)
    - LINT.ThenChange(//depot/google3/video/crawl/indexing/signal_combiner.cc:video_preview) Fingerprint of the preview.
  6. height (type: integer(), default: nil)
    - Height of the stored preview.
  7. mimeType (type: String.t, default: nil)
    - Mime type of the preview ("video/mp4").
  8. state (type: String.t, default: nil)
    - Indicates the state in Venom for this preview type.
  9. timestamp (type: integer(), default: nil)
    - Timestamp of start of preview in ms.
  10. type (type: String.t, default: nil)
    - LINT.IfChange
  11. videoSegmentEndUs (type: String.t, default: nil)
    - The end timestamp of the video segment in microseconds that this preview is generated from. Used for segmented video previews.
  12. videoSegmentStartUs (type: String.t, default: nil)
    - The start timestamp of the video segment in microseconds that this preview is generated from. Used for segmented video previews.
  13. width (type: integer(), default: nil)
    - Width of the stored preview.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageBaseVideoPreviewMetadata{
byteSize: integer() | nil,
docid: String.t() | nil,
duration: integer() | nil,
expirationTimestampMicros: String.t() | nil,
fprint: String.t() | nil,
height: integer() | nil,
mimeType: String.t() | nil,
state: String.t() | nil,
timestamp: integer() | nil,
type: String.t() | nil,
videoSegmentEndUs: String.t() | nil,
videoSegmentStartUs: String.t() | nil,
width: integer() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageBaseVideoPreviewMetadata