BitmovinApiSdk\Models\VideoStream
Synopsis
class VideoStream
extends MediaStream
{
- // members
- public string $fps;
- public string $bitrate;
- public int $rate;
- public int $width;
- public int $height;
- public float $par;
- public int $rotation;
- // Inherited members from MediaStream
- public int $position;
- public float $duration;
- public string $codec;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this fps()
- public $this bitrate()
- public $this rate()
- public $this width()
- public $this height()
- public $this par()
- public $this rotation()
- // Inherited methods from MediaStream
- public void __construct()
- public $this position()
- public $this duration()
- public $this codec()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Members
public
- $bitrate — string
- $codec — string
- $duration — float
- $fps — string
- $height — int
- $id — string
- $par — float
- $position — int
- $rate — int
- $rotation — int
- $width — int
Methods
public
- __construct()
- bitrate() — Bitrate in bps
- fps() — Frame rate of the video
- height() — Height of the video (required)
- par() — Pixel aspect ratio of the video. Default is 1.0
- rate() — Bitrate in bps (the same as bitrate, but represented as an integer value)
- rotation() — Rotation of the video for mobile devices. Default is 0.
- width() — Width of the video (required)
Inherited from BitmovinApiSdk\Models\MediaStream
public
- codec() — Codec of the stream
- duration() — Duration of the stream in seconds
- position() — Position of the stream in the media, starting from 0.