class CZencoderOutput extends JObject


Located at : UKNOWVA_ROOT/components/com_community/libraries/zencoder.php

Properties

$base_url
$filename
$label
$notifications
$video_codec
$quality
$speed
$width
$height
$aspect_mode
$upscale
$audio_codec
$audio_quality
$thumbnails
$deinterlace
$max_frame_rate
$frame_rate
$keyframe_interval
$video_bitrate
$bitrate_cap
$buffer_size
$skip_video
$audio_bitrate
$audio_channels
$audio_sample_rate
$skip_audio
$autolevel
$deblock
$denoise
$public

Methods

__construct()

Class constructor, overridden in descendant classes.

string
__toString()

Magic method to convert the object to a string gracefully.

from JObject
mixed
def(string $property, mixed $default = null)

Sets a default value if not alreay assigned

from JObject
mixed
get(string $property, mixed $default = null)

Returns a property of the object or the default value if the property is not set.

from JObject
array
getProperties(boolean $public = true)

Returns an associative array of object properties.

from JObject
string
getError(integer $i = null, boolean $toString = true)

Get the most recent error message.

from JObject
array
getErrors()

Return all errors, if any.

from JObject
mixed
set(string $property, mixed $value = null)

Modifies a property of the object, creating it if it does not already exist.

from JObject
boolean
setProperties(mixed $properties)

Set the object properties based on a named array/hash.

from JObject
void
setError(string $error)

Add an error message.

from JObject
string
toString() deprecated

No description

from JObject
build()

No description

setBaseUrl($base_url)

No description

setFilename($filename = null)

No description

setLabel($label = null)

No description

setNotificationUrl($notification_url = null)

No description

setNotificationEmail($notification_email = null)

No description

setNotifications($notifications = null)

No description

setVideoCodec($video_codec = 'h264')

No description

setQuality($quality = 3)

No description

setSpeed($speed = 3)

No description

setWidth($width = null)

No description

setHeight($height = null)

No description

setAspectMode($aspect_mode = 'preserve')

No description

setUpscale($upscale = null)

No description

setAudioCodec($audio_codec = 'aac')

No description

setAudioQuality($audio_quality = 3)

No description

setThumbnailsNumber($number = 1)

No description

setThumbnailsSize($size)

No description

setThumbnailsBaseUrl($base_url)

No description

setThumbnailsPrefix($prefix)

No description

setThumbnailsPublic($isPublicly_Readable)

No description

setDeinterlace()

No description

setMaxFrameRate()

No description

setFrameRate()

No description

setKeyframeInterval()

No description

setVideoBitrate()

No description

setBitrateCap()

No description

setBufferSize()

No description

setH264Profile()

No description

setH264Level()

No description

setSkipVideo()

No description

setAudioBitrate()

No description

setAudioChannel()

No description

setAudioSampleRate()

No description

setSkipAudio()

No description

setAutolevels()

No description

setDeblock()

No description

setDenoise()

No description

setPublic($isPublicly_Readable)

No description

setTuning()

No description

setStartClip()

No description

setClipLength()

No description

setWatermark($url = '', $x = '-10', $y = '-10', $width = '', $height = '')

No description

Details

at line 49
JObject __construct()

Class constructor, overridden in descendant classes.

Return Value

JObject

in JObject at line 56
string __toString()

Magic method to convert the object to a string gracefully.

Return Value

string The classname.

in JObject at line 70
mixed def(string $property, mixed $default = null)

Sets a default value if not alreay assigned

Parameters

string $property The name of the property.
mixed $default The default value.

Return Value

mixed

in JObject at line 88
mixed get(string $property, mixed $default = null)

Returns a property of the object or the default value if the property is not set.

Parameters

string $property The name of the property.
mixed $default The default value.

Return Value

mixed The value of the property.

See also

getProperties()

in JObject at line 107
array getProperties(boolean $public = true)

Returns an associative array of object properties.

Parameters

boolean $public If true, returns only the public properties.

Return Value

array

See also

get()

in JObject at line 133
string getError(integer $i = null, boolean $toString = true)

Get the most recent error message.

Parameters

integer $i Option error index.
boolean $toString Indicates if JError objects should return their error message.

Return Value

string Error message

in JObject at line 165
array getErrors()

Return all errors, if any.

Return Value

array Array of error messages or JErrors.

in JObject at line 180
mixed set(string $property, mixed $value = null)

Modifies a property of the object, creating it if it does not already exist.

Parameters

string $property The name of the property.
mixed $value The value of the property to set.

Return Value

mixed Previous value of the property.

in JObject at line 198
boolean setProperties(mixed $properties)

Set the object properties based on a named array/hash.

Parameters

mixed $properties Either an associative array or another object.

Return Value

boolean

See also

set()

in JObject at line 222
void setError(string $error)

Add an error message.

Parameters

string $error Error message.

Return Value

void

in JObject at line 235
string toString() deprecated

deprecated 12.1 Use magic method __toString()

Return Value

string

See also

__toString()

at line 54
build()

at line 86
setBaseUrl($base_url)

Parameters

$base_url

at line 96
setFilename($filename = null)

Parameters

$filename

at line 105
setLabel($label = null)

Parameters

$label

at line 114
setNotificationUrl($notification_url = null)

Parameters

$notification_url

at line 123
setNotificationEmail($notification_email = null)

Parameters

$notification_email

at line 128
setNotifications($notifications = null)

Parameters

$notifications

at line 144
setVideoCodec($video_codec = 'h264')

Parameters

$video_codec

at line 166
setQuality($quality = 3)

Parameters

$quality

at line 182
setSpeed($speed = 3)

Parameters

$speed

at line 195
setWidth($width = null)

Parameters

$width

at line 208
setHeight($height = null)

Parameters

$height

at line 220
setAspectMode($aspect_mode = 'preserve')

Parameters

$aspect_mode

at line 225
setUpscale($upscale = null)

Parameters

$upscale

at line 241
setAudioCodec($audio_codec = 'aac')

Parameters

$audio_codec

at line 252
setAudioQuality($audio_quality = 3)

Parameters

$audio_quality

at line 267
setThumbnailsNumber($number = 1)

Parameters

$number

at line 284
setThumbnailsSize($size)

Parameters

$size

at line 299
setThumbnailsBaseUrl($base_url)

Parameters

$base_url

at line 312
setThumbnailsPrefix($prefix)

Parameters

$prefix

at line 322
setThumbnailsPublic($isPublicly_Readable)

Parameters

$isPublicly_Readable

at line 332
setDeinterlace()

at line 339
setMaxFrameRate()

at line 346
setFrameRate()

at line 353
setKeyframeInterval()

at line 361
setVideoBitrate()

at line 368
setBitrateCap()

at line 375
setBufferSize()

at line 382
setH264Profile()

at line 389
setH264Level()

at line 396
setSkipVideo()

at line 403
setAudioBitrate()

at line 410
setAudioChannel()

at line 417
setAudioSampleRate()

at line 424
setSkipAudio()

at line 431
setAutolevels()

at line 438
setDeblock()

at line 447
setDenoise()

at line 456
setPublic($isPublicly_Readable)

Parameters

$isPublicly_Readable

at line 464
setTuning()

at line 471
setStartClip()

at line 478
setClipLength()

at line 496
setWatermark($url = '', $x = '-10', $y = '-10', $width = '', $height = '')

Parameters

$url
$x
$y
$width
$height