google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.VideoFileDetailsVideoStream View Source

Information about a video stream.

Attributes

  • aspectRatio (float()): The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed. Defaults to: null.
  • bitrateBps (String.t): The video stream's bitrate, in bits per second. Defaults to: null.
  • codec (String.t): The video codec that the stream uses. Defaults to: null.
  • frameRateFps (float()): The video stream's frame rate, in frames per second. Defaults to: null.
  • heightPixels (integer()): The encoded video content's height in pixels. Defaults to: null.
  • rotation (String.t): The amount that YouTube needs to rotate the original source content to properly display the video. Defaults to: null.

    • Enum - one of [clockwise, counterClockwise, none, other, upsideDown]
  • vendor (String.t): A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. Defaults to: null.
  • widthPixels (integer()): The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.YouTube.V3.Model.VideoFileDetailsVideoStream{
  aspectRatio: any(),
  bitrateBps: any(),
  codec: any(),
  frameRateFps: any(),
  heightPixels: any(),
  rotation: any(),
  vendor: any(),
  widthPixels: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.