BitmovinApiSdk\Models\VideoStream

Synopsis

class VideoStream extends MediaStream {
  • // Inherited members from BitmovinResponse
  • public string $id;
  • // 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 starts from 0 and indicates the position of the stream in the media. 0 means that this is the first stream found in the media

Inherited from BitmovinApiSdk\Common\ApiResource

public