GoogleApi.ContentWarehouse.V1.Model.VideoVideoStream
Table of Contents ▼
Jump to a specific part of the page:
Description
No description given.Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
bitrate
(type:String.t
, default:nil
)
- Video bitrate in bits/s. -
codecId
(type:integer()
, default:nil
)
- Video codec ID. Uses the numeric value corresponding to the CodecId enum object, in order to avoid the dependency on vsi/videostreaminfo.proto. http://cs/symbol:CodecId f:google3/video/vidproc/vsi/videostreaminfo.proto -
fps
(type:float()
, default:nil
)
- Video frame per second, obtained by parsing video header information. The value can be inaccurate for some types of codecs. See comments at http://cs/symbol:video_fps f:google3/video/vidproc/vsi/videostreaminfo.proto -
height
(type:integer()
, default:nil
)
- -
lengthSec
(type:float()
, default:nil
)
- Video length, in seconds. This value is derived from metadata in the source video, and often differs from the actual duration of any given transcode. In videos without valid timestamps, this value is not calculable, and is reported as zero. -
streamIndex
(type:String.t
, default:nil
)
- Index of the stream in the file, 0-based. -
width
(type:integer()
, default:nil
)
- The video stream's width and height. Important notes: 1) These are the coded dimensions of the video stream and DO NOT take into account any rotation metadata that may be present in the video container. Prefer to use the MediaOverview::resolution and MediaOverview::orientation when possible. 2) In the case you want detailed displayed width/height information, you can use the MediaOverview::orientation to determine the displayed dimensions. E.g., in the case of PORTRAIT orientation: displayed_width = min(width, height) displayed_height = max(width, height) And for LANDSCAPE orientation: displayed_width = max(width, height) displayed_height = min(width, height)
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.VideoVideoStream