VideoCodec
class VideoCodec extends BaseQualifier
Determines the video codec to use.
Learn more: Video codec settings
Methods
auto()
Auto video codec.
vp8()
Video codec vp8.
vp9()
Video codec vp9.
proRes()
Video codec proRes (Apple ProRes 422 HQ).
h264(string $profile = null, string $level = null)
Video codec h264.
h265()
Video codec h265.
theora()
Video codec theora.
__construct(string $codec)
VideoCodec constructor.
codec(string $codec)
Sets the codec.
profile(string $profile)
Sets codec profile.
level(string $level)
Sets codec level.
fromParams(array $qualifiers)
Creates a new VideoCodec instance from an array of qualifiers.
Details
static VideoCodec
auto()
Auto video codec.
static VideoCodec
vp8()
Video codec vp8.
static VideoCodec
vp9()
Video codec vp9.
static VideoCodec
proRes()
Video codec proRes (Apple ProRes 422 HQ).
static VideoCodec
h264(string $profile = null, string $level = null)
Video codec h264.
static VideoCodec
h265()
Video codec h265.
static VideoCodec
theora()
Video codec theora.
__construct(string $codec)
VideoCodec constructor.
$this
codec(string $codec)
Sets the codec.
$this
profile(string $profile)
Sets codec profile.
$this
level(string $level)
Sets codec level.
static VideoCodec
fromParams(array $qualifiers)
Creates a new VideoCodec instance from an array of qualifiers.
Constants
AUTO |
|
VP9 |
|
VP8 |
|
PRO_RES |
|
H264 |
|
H265 |
|
THEORA |
|