SDK reference / Models / Media

MediaJob

Kind: class

Namespace: Egulu.Sdk.Models.Media

A transcoding job.

Properties

NameTypeJSON nameDescription
Attemptsint?attemptsThe attempts property
CancelRequestedbool?cancelRequestedThe cancelRequested property
ChargedMicroslong?chargedMicrosWhat the minutes cost at the cell's price book (est.); absent when the cell has none.
ChargedMinutesModels.Media.MediaJob_chargedMinutes?chargedMinutesOutput minutes billed per meter, once the job has ended.
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayNameThe displayName property
EndTimeDateTimeOffset?endTimeThe endTime property
Etagstring?etagThe etag property
FailureCodestring?failureCodeThe code of the failure: `unsupported-format`, `too-long`, `too-large`, `output-exceeds-budget`, `timeout`, `encode-failed`, …
InputModels.Media.MediaObjectRef?inputAn object in a bucket of the project.
Logstring?logA sanitised tail of the worker's log.
MaxAttemptsint?maxAttemptsThe maxAttempts property
MaxOutputMinutesint?maxOutputMinutesThe most output minutes (all renditions together) the job may bill; the job reserves its cost at the dearest rate for them.
Namestring?nameprojects/{project}/locations/{location}/mediaJobs/{mediaJob}.
OutputModels.Media.MediaOutputRef?outputWhere renditions are written.
Presetstring?presetThe preset's ID.
PresetKindstring?presetKind`VIDEO`, `AUDIO` or `IMAGE`.
PresetSourcestring?presetSource`PLATFORM` or `CUSTOM`.
PresetSpecModels.Media.MediaJob_presetSpec?presetSpecThe preset's spec as it was when the job was created.
ProbeModels.Media.MediaProbeInfo?probeWhat ffprobe found in the input (measured, never typed).
ProgressPercentint?progressPercentThe progressPercent property
RenditionsList<Models.Media.MediaRenditionInfo>?renditionsThe renditions property
ReservedMicroslong?reservedMicrosThe most the job can cost, reserved on the spend lease.
StartTimeDateTimeOffset?startTimeThe startTime property
StateModels.Media.MediaJobState?stateWhere a job is in its life.
StateReasonstring?stateReasonThe stateReason property
ThumbnailModels.Media.MediaThumbnail?thumbnailA poster frame written as `poster.jpg`.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
WatermarkModels.Media.MediaWatermark?watermarkA watermark image laid over every video rendition.