View Source GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryVideoPreviewsVideoPreview (google_api_content_warehouse v0.3.0)

Attributes

  • content (type: String.t, default: nil) - The actual video preview bytes generated for the video.
  • debuggingInfo (type: GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryVideoPreviewsDebuggingInfo.t, default: nil) - Used for debugging only.
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.ImageBaseVideoPreviewMetadata.t, default: nil) - The metadata associated with the preview (i.e. the type: 8k, 90k, etc.)
  • previewFrameZero (type: GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperVideoThumbnail.t, default: nil) - 0th frame image of the preview. This frame has the same resolution as the associated preview video bytes, as it is taken directly from the preview bytes in Venom/Viper processing. Right now, we only populate preview_frame_zero only for the VPREVIEW_TYPE_540K_ORIGINAL_HQ_LICENSED preview type. Note that preview_frame_zero.thumbnails(0).timestamp_ms() is the timestamp from the full video, not from the preview.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryVideoPreviewsVideoPreview{
    content: String.t() | nil,
    debuggingInfo:
      GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryVideoPreviewsDebuggingInfo.t()
      | nil,
    metadata:
      GoogleApi.ContentWarehouse.V1.Model.ImageBaseVideoPreviewMetadata.t()
      | nil,
    previewFrameZero:
      GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperVideoThumbnail.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.