|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TranscodingJob | |
---|---|
org.alembik | Provides the classes necessary for connecting to Alembik service and processing transcoding requests. |
org.alembik.util | Provides the utility classes handling transcoding request and response objects. |
org.openmobilealliance.schema.sti.v1_0 | Provides all the DTO classes defined by OMA-STI v1_0. |
Uses of TranscodingJob in org.alembik |
---|
Methods in org.alembik with parameters of type TranscodingJob | |
---|---|
TranscodingParams |
TranscodingManager.getTranscodingProfile(TranscodingJob job)
Returns a transcoding profile resolved for the given job. |
TranscodingParams |
TranscodingService.getTranscodingProfile(TranscodingJob job)
Returns the transcoding profile resolved by the server for the given transcoding job. |
Uses of TranscodingJob in org.alembik.util |
---|
Methods in org.alembik.util that return TranscodingJob | |
---|---|
static TranscodingJob |
TranscodingUtils.createNewJob(java.lang.String jobID,
java.lang.String url,
java.lang.String contentType)
Creates a basic transcoding job instance. |
static TranscodingJob |
JobUtils.getJob(java.util.Map<java.lang.String,java.lang.String> parameters)
Converts the given parameters map instance into a transcoding job instance. |
Methods in org.alembik.util with parameters of type TranscodingJob | |
---|---|
static void |
TranscodingUtils.disableNoTranscoding(TranscodingJob job)
Removes the "no transcoding" flag from the given transcoding job. |
static java.lang.String |
TranscodingUtils.getAdverstisementVideo(TranscodingJob job)
Returns the location of a video to be inserted in front of the video of the given transcoding job as specified by the Advertisement transformation. |
static Quality |
TranscodingUtils.getBestMatchingQuality(TranscodingJob job)
Returns the quality set for the given transcoding job, which defines the expected quality level of the matching profile. |
static java.lang.String |
TranscodingUtils.getCacheId(TranscodingJob job)
Returns the key, under which the content of the given transcoding job is to be stored in a memory-based cache. |
static java.lang.Long |
TranscodingUtils.getCacheTime(TranscodingJob job)
Returns the period of time, for which the content of the given transcoding job will be stored in a memory-based cache. |
static java.lang.Integer |
TranscodingUtils.getDownloadDuration(TranscodingJob job)
Returns the duration limit of a source file of the given transcoding job specified by the DownloadLimit transformation. |
static java.lang.Integer |
TranscodingUtils.getDownloadMaxCount(TranscodingJob job)
Returns the maximum number of parts of a source file to be produced by the "progressive segmentation" process requested by the DownloadLimit transformation in the given transcoding job. |
static java.lang.Integer |
TranscodingUtils.getDownloadMinDuration(TranscodingJob job)
Returns the required minimum duration of the last part of a source file to be produced by the "progressive segmentation" process requested by the DownloadLimit transformation in the given transcoding job. |
static java.lang.Integer |
TranscodingUtils.getDownloadOffset(TranscodingJob job)
Returns the duration offset of a source file of the given transcoding job specified by the DownloadLimit transformation. |
static java.lang.Long |
TranscodingUtils.getDownloadSize(TranscodingJob job)
Returns the size limit of a source file of the given transcoding job specified by the DownloadLimit transformation. |
static java.lang.Long |
TranscodingUtils.getDownloadStart(TranscodingJob job)
Returns the size offset of a source file of the given transcoding job specified by the DownloadLimit transformation. |
static java.lang.Integer |
TranscodingUtils.getDuration(TranscodingJob job)
Returns the duration length of the given transcoding job specified by the Offset transformation. |
static Properties |
OMAUtils.getExtensionProperties(TranscodingJob job)
Returns "extension data" properties holder of the given transcoding job. |
static java.lang.Integer |
TranscodingUtils.getExtractFrameSecond(TranscodingJob job)
Returns the second at which the frame will be extracted from a video of the given transcoding job as specified by the ExtractFrame transformation. |
static java.lang.String |
TranscodingUtils.getIdentityUrl(TranscodingJob job)
Returns the identity URL of the given transcoding job. |
static long |
TranscodingUtils.getIfOlderThanTime(TranscodingJob job)
Returns the number of minutes specified for TranscodingUtils.ReloadPolicy.IF_OLDER_THAN policy. |
static java.lang.String |
TranscodingUtils.getInternalSourcePathPrefix(TranscodingJob job)
Gets the path prefix (i.e. folder name) of a storage folder where a source file will be placed. |
static java.lang.String |
TranscodingUtils.getInternalTargetPathPrefix(TranscodingJob job)
Gets the path prefix (i.e. folder name) of a storage folder where a transcoded file will be placed. |
static java.util.Map<java.lang.String,java.lang.String> |
JobUtils.getMap(TranscodingJob job)
Converts the given transcoding job instance into a parameters map. |
static TranscodingUtils.DetectionLevel |
TranscodingUtils.getMobileWebDetectionLevel(TranscodingJob job)
Returns the mobile page detection level of the given transcoding job. |
static java.util.Map<TranscodingUtils.NavigationBarAttr,java.lang.String> |
TranscodingUtils.getNavigationBarAttrs(TranscodingJob job)
Returns the map of the NavigBar transformation attributes, which have been set for the given transcoding job. |
static java.lang.Integer |
TranscodingUtils.getOffset(TranscodingJob job)
Returns the duration offset of the given transcoding job specified by the Offset transformation. |
static java.util.Map<TranscodingUtils.OverlayLogoAttr,java.lang.String> |
TranscodingUtils.getOverlayLogoAttrs(TranscodingJob job)
Returns the map of the OverlayLogo transformation attributes, which have been set for the given transcoding job. |
static TranscodingUtils.SourceProtocol |
TranscodingUtils.getProtocol(TranscodingJob job)
Returns the protocol specified for fetching a source file of the given transcoding job. |
static TranscodingUtils.ReloadPolicy |
TranscodingUtils.getReloadPolicy(TranscodingJob job)
Returns the policy of reloading of a source file of the given transcoding job. |
static java.lang.Long |
OMAUtils.getSizeLimit(TranscodingJob job)
Returns the size limit specified for a transcoded file of the given transcoding job. |
static java.util.Map<TranscodingUtils.TextOverlayAttr,java.lang.String> |
TranscodingUtils.getTextOverlayAttrs(TranscodingJob job)
Returns the map of the TextOverlay transformation attributes, which have been set for the given transcoding job. |
static boolean |
TranscodingUtils.isBestMatchingHintable(TranscodingJob job)
Checks whether the "best matching" strategy should take into account the devices, which require hinted video files. |
static boolean |
TranscodingUtils.isBestMatchingRequested(TranscodingJob job)
Checks whether the given transcoding job has the "best matching" strategy applied. |
static boolean |
TranscodingUtils.isDownloadRepeat(TranscodingJob job)
Checks whether the "progressive segmentation" has been requested in the DownloadLimit transformation for the given transcoding job. |
static boolean |
TranscodingUtils.isDownloadTreatedAsComplete(TranscodingJob job)
Checks whether a source file truncated by the DownloadLimit transformation should be treated as the complete file when processing subsequent transcoding jobs. |
static boolean |
TranscodingUtils.isHinting(TranscodingJob job)
Checks whether the given video is to be hinted. |
static boolean |
TranscodingUtils.isHTMLDetection(TranscodingJob job)
Checks whether the HTML support detection has been enabled; by default it is disabled. |
static boolean |
TranscodingUtils.isNotCopySource(TranscodingJob job)
Checks whether the source file will not be loaded into storage. |
static boolean |
TranscodingUtils.isNoTranscodingSet(TranscodingJob job)
Checks whether a content of the given transcoding job is to be transcoded. |
static boolean |
TranscodingUtils.isSourceLocationEscaped(TranscodingJob job)
Checks whether the source location of the given transcoding job is already escaped. |
static boolean |
TranscodingUtils.isStreaming(TranscodingJob job)
Checks whether the given video job is to be streamed. |
static void |
JobUtils.populateJob(TranscodingJob job,
java.util.Map<java.lang.String,java.lang.String> parameters)
Fills the given transcoding job with objects/values from the given parameters map. |
static void |
TranscodingUtils.removeIdentityUrl(TranscodingJob job)
Removes the identity URL parameter from the given transcoding job. |
static Transformation |
OMAUtils.removeTransformation(TranscodingJob job,
java.lang.String name)
Removes a transformation of the specified type from the given transcoding job, if such exists. |
static void |
TranscodingUtils.setAdvertisementVideo(TranscodingJob job,
java.lang.String videoURL)
Applies Advertisement transformation, which makes Alembik insert another video at the start of a video of the given video transcoding job. |
static void |
TranscodingUtils.setBestMatchingQuality(TranscodingJob job,
Quality quality)
Applies the "best matching" strategy for the given transcoding job and quality. |
static void |
TranscodingUtils.setBestMatchingQuality(TranscodingJob job,
Quality quality,
boolean hintable)
Applies the "best matching" strategy for the given transcoding job. |
static void |
TranscodingUtils.setDownloadApproxDuration(TranscodingJob job,
int approxDuration)
Deprecated. use TranscodingUtils.setDownloadDurationLimit(TranscodingJob, int) instead |
static void |
TranscodingUtils.setDownloadApproxDuration(TranscodingJob job,
int approxDuration,
boolean treatAsComplete)
Deprecated. use TranscodingUtils.setDownloadDurationLimit(TranscodingJob, int, boolean) instead |
static void |
TranscodingUtils.setDownloadDurationLimit(TranscodingJob job,
int duration)
Applies DownloadLimit transformation for the given transcoding job, which will make Alembik media loader truncate a source file after reaching (approximately) the given number of seconds. |
static void |
TranscodingUtils.setDownloadDurationLimit(TranscodingJob job,
int duration,
boolean treatAsComplete)
Applies DownloadLimit transformation for the given transcoding job, which will make Alembik media loader truncate a source file after reaching (approximately) the given number of seconds. |
static void |
TranscodingUtils.setDownloadDurationSegment(TranscodingJob job,
int offset,
int duration)
Applies DownloadLimit transformation for the given transcoding job, which is usually used to reference a particular source file part from the "progressive segmentation" (see TranscodingUtils.setProgressiveDownloadByDuration(TranscodingJob, int) . |
static void |
TranscodingUtils.setDownloadLimit(TranscodingJob job,
long downloadLimit)
Deprecated. use TranscodingUtils.setDownloadSizeLimit(TranscodingJob, long) instead |
static void |
TranscodingUtils.setDownloadLimit(TranscodingJob job,
long downloadLimit,
boolean treatAsComplete)
Deprecated. use TranscodingUtils.setDownloadSizeLimit(TranscodingJob, long, boolean) instead |
static void |
TranscodingUtils.setDownloadSizeAndDurationLimit(TranscodingJob job,
int duration,
long size)
Applies DownloadLimit transformation for the given transcoding job, which will make Alembik media loader truncate a source file after reaching first of the specified limits: the given number of seconds (approximately) or the given number of bytes. |
static void |
TranscodingUtils.setDownloadSizeLimit(TranscodingJob job,
long size)
Applies DownloadLimit transformation for the given transcoding job, which will make Alembik media loader truncate a source file after reaching the given size limit. |
static void |
TranscodingUtils.setDownloadSizeLimit(TranscodingJob job,
long size,
boolean treatAsComplete)
Applies DownloadLimit transformation for the given transcoding job, which will make Alembik media loader truncate a source file after reaching the given size limit. |
static void |
TranscodingUtils.setDownloadSizeSegment(TranscodingJob job,
long start,
long size)
Applies DownloadLimit transformation for the given transcoding job, which is usually used to reference a particular source file part from the "progressive segmentation" (see TranscodingUtils.setProgressiveDownloadBySize(TranscodingJob, long) . |
static void |
TranscodingUtils.setExtractFrame(TranscodingJob job,
java.lang.String contentType,
int second)
Applies ExtractFrame transformation for the given video transcoding job, which makes Alembik extract an image frame at the specified second. |
static void |
TranscodingUtils.setExtractGifPreview(TranscodingJob job)
Applies GifPreview transformation for the given video transcoding job, which makes Alembik generate an animated GIF. |
static void |
TranscodingUtils.setHTMLDetection(TranscodingJob job,
boolean enable)
Enables or disables the HTML support detection for the given transcoding job. |
static void |
TranscodingUtils.setIdentityUrl(TranscodingJob job,
java.lang.String identityUrl)
Declares the identity URL for the given transcoding job. |
static void |
TranscodingUtils.setIfOlderThanTime(TranscodingJob job,
long minutes)
Sets the number of minutes that must elapse before Alembik checks if the file is actual. |
static void |
TranscodingUtils.setImageOverlayLogo(TranscodingJob job,
java.lang.String location,
TranscodingUtils.OverlayLogoColor transparentColor,
java.lang.Integer imageWidth)
Applies OverlayLogo transformation, which will make Alembik lay a logo (image) over the image of the given transcoding job. |
static void |
TranscodingUtils.setImageTextOverlay(TranscodingJob job,
java.lang.String message,
TranscodingUtils.TextOverlayFont font)
Applies TextOverlay transformation, which will make Alembik lay a text (message) over an image of the given transcoding job. |
static void |
TranscodingUtils.setInternalPathPrefix(TranscodingJob job,
java.lang.String prefix)
Imposes a special prefix (i.e. extra folder) in the storage path where both source and transcoded files are to be placed. |
static void |
TranscodingUtils.setInternalSourcePathPrefix(TranscodingJob job,
java.lang.String prefix)
Imposes a special prefix (i.e. extra folder) in the storage path where a source file is to be placed. |
static void |
TranscodingUtils.setInternalTargetPathPrefix(TranscodingJob job,
java.lang.String prefix)
Imposes a special prefix (i.e. extra folder) in the storage path where a transcoded file is to be placed. |
static void |
TranscodingUtils.setMobileWebDetectionLevel(TranscodingJob job,
TranscodingUtils.DetectionLevel level)
Requests the specified mobile page detection level for a web document of the given transcoding job. |
static void |
TranscodingUtils.setNavigationBarAttrs(TranscodingJob job,
java.util.Map<TranscodingUtils.NavigationBarAttr,java.lang.String> attrsMap)
Sets a desired set of NavigBar transformation attributes, which will adjust look and behaviour of the navigation panel displayed within transcoded web documents. |
static void |
TranscodingUtils.setNoLinks(TranscodingJob job)
Applies NoLinks transformation, which makes Alembik remove all hyperlinks from of a web document of the given transcoding job. |
static void |
TranscodingUtils.setNoTranscoding(TranscodingJob job)
Prevents Alembik from performing any transcoding for the given transcoding job; only the source file will be loaded into the storage. |
static void |
TranscodingUtils.setOnlyText(TranscodingJob job)
Applies OnlyText transformation, which makes Alembik remove all hyperlinks and embedded content (images, videos, etc) from of a web document of the given transcoding job. |
static void |
TranscodingUtils.setOrganizeText(TranscodingJob job)
Applies OrganizeText transformation, which makes Alembik re-organize the logical blocks of a web document of the given transcoding job. |
static void |
TranscodingUtils.setProgressiveDownloadByDuration(TranscodingJob job,
int segmentDuration)
Applies DownloadLimit transformation for the given transcoding job, which makes Alembik perform the "progressive segmentation" of a source file while loading it. |
static void |
TranscodingUtils.setProgressiveDownloadByDuration(TranscodingJob job,
int segmentDuration,
java.lang.Integer minDuration,
java.lang.Integer maxCount)
Applies DownloadLimit transformation for the given transcoding job, which makes Alembik perform the "progressive segmentation" of a source file while loading it. |
static void |
TranscodingUtils.setProgressiveDownloadBySize(TranscodingJob job,
long segmentSize)
Applies DownloadLimit transformation for the given transcoding job, which makes Alembik perform the "progressive segmentation" of a source file while loading it. |
static void |
TranscodingUtils.setProgressiveDownloadBySize(TranscodingJob job,
long segmentSize,
int maxCount)
Applies DownloadLimit transformation for the given transcoding job, which makes Alembik perform the "progressive segmentation" of a source file while loading it. |
static void |
TranscodingUtils.setProtocol(TranscodingJob job,
TranscodingUtils.SourceProtocol protocol)
Sets the protocol to be used to load a source content into the storage. |
static void |
TranscodingUtils.setProtocol(TranscodingJob job,
TranscodingUtils.SourceProtocol protocol,
boolean noCopy)
Sets the TranscodingUtils.SourceProtocol to be used to load a source content. |
static void |
TranscodingUtils.setReloadPolicy(TranscodingJob job,
TranscodingUtils.ReloadPolicy reloadPolicy)
Sets the required policy of reloading of a source file of the given transcoding job. |
static void |
TranscodingUtils.setSegmentBoundaries(TranscodingJob job,
java.lang.Integer offset,
java.lang.Integer duration)
Specifies the desired duration segment of the given audio or video job to transcode. |
static void |
TranscodingUtils.setSourceLocationEscaped(TranscodingJob job,
boolean escaped)
Sets the flag indicating that the source location of the given transcoding job is already prepared for HTTP manipulations and does not need to be preprocessed (escaped) again. |
static void |
TranscodingUtils.setToCache(TranscodingJob job,
java.lang.String cacheId,
long cacheTime)
Defines the key and expiry time for storing the content in a memory-based cache. |
static void |
TranscodingUtils.setVideoOverlayLogo(TranscodingJob job,
java.lang.String location,
TranscodingUtils.Coordinates coordinates,
java.lang.Integer imageWidth)
Applies OverlayLogo transformation, which will make Alembik lay a logo (image) over the video of the given transcoding job. |
static void |
TranscodingUtils.setVideoTextOverlay(TranscodingJob job,
java.lang.String message,
TranscodingUtils.TextOverlayFont font,
TranscodingUtils.Coordinates coordinates)
Applies TextOverlay transformation, which will make Alembik lay a static text (message) over a video of the given transcoding job. |
static void |
TranscodingUtils.setVideoTextScrollOverlay(TranscodingJob job,
java.lang.String message,
TranscodingUtils.TextOverlayFont font,
TranscodingUtils.Coordinates coordinates)
Applies TextOverlay transformation, which will make Alembik lay a scrolling text (message) over a video of the given transcoding job. |
Uses of TranscodingJob in org.openmobilealliance.schema.sti.v1_0 |
---|
Methods in org.openmobilealliance.schema.sti.v1_0 that return TranscodingJob | |
---|---|
TranscodingJob |
ObjectFactory.createTranscodingJob()
Create an instance of TranscodingJob |
Methods in org.openmobilealliance.schema.sti.v1_0 that return types with arguments of type TranscodingJob | |
---|---|
java.util.List<TranscodingJob> |
TranscodingRequest.getTranscodingJob()
Gets the value of the transcodingJob property. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |