class Google::Apis::YoutubeV3::VideoFileDetailsVideoStream
Information about a video stream.
Attributes
The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed. Corresponds to the JSON property `aspectRatio` @return [Float]
The video stream's bitrate, in bits per second. Corresponds to the JSON property `bitrateBps` @return [Fixnum]
The video codec that the stream uses. Corresponds to the JSON property `codec` @return [String]
The video stream's frame rate, in frames per second. Corresponds to the JSON property `frameRateFps` @return [Float]
The encoded video content's height in pixels. Corresponds to the JSON property `heightPixels` @return [Fixnum]
The amount that YouTube needs to rotate the original source content to properly display the video. Corresponds to the JSON property `rotation` @return [String]
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. Corresponds to the JSON property `vendor` @return [String]
The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels
/ height_pixels. Corresponds to the JSON property `widthPixels` @return [Fixnum]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 7896 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 7901 def update!(**args) @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio) @bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps) @codec = args[:codec] if args.key?(:codec) @frame_rate_fps = args[:frame_rate_fps] if args.key?(:frame_rate_fps) @height_pixels = args[:height_pixels] if args.key?(:height_pixels) @rotation = args[:rotation] if args.key?(:rotation) @vendor = args[:vendor] if args.key?(:vendor) @width_pixels = args[:width_pixels] if args.key?(:width_pixels) end