116 строки
11 KiB
YAML
116 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image"
|
|
name: "Image"
|
|
nameWithType: "Image"
|
|
summary: "Describes the basic properties for generating thumbnails from the input video."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.azure.management.mediaservices.v2020_05_01.Codec?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.azure.management.mediaservices.v2020_05_01.Video?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedMembers:
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Codec.label()"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Codec.withLabel(java.lang.String)"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.keyFrameInterval()"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.stretchMode()"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.syncMode()"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.withKeyFrameInterval(org.joda.time.Period)"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.withStretchMode(com.microsoft.azure.management.mediaservices.v2020_05_01.StretchMode)"
|
|
- "com.microsoft.azure.management.mediaservices.v2020_05_01.Video.withSyncMode(com.microsoft.azure.management.mediaservices.v2020_05_01.VideoSyncMode)"
|
|
- "java.lang.Object.clone()"
|
|
- "java.lang.Object.equals(java.lang.Object)"
|
|
- "java.lang.Object.finalize()"
|
|
- "java.lang.Object.getClass()"
|
|
- "java.lang.Object.hashCode()"
|
|
- "java.lang.Object.notify()"
|
|
- "java.lang.Object.notifyAll()"
|
|
- "java.lang.Object.toString()"
|
|
- "java.lang.Object.wait()"
|
|
- "java.lang.Object.wait(long)"
|
|
- "java.lang.Object.wait(long,int)"
|
|
syntax: "public class Image extends Video"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.Image()"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.Image()"
|
|
name: "Image()"
|
|
nameWithType: "Image.Image()"
|
|
syntax: "public Image()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.range()"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.range()"
|
|
name: "range()"
|
|
nameWithType: "Image.range()"
|
|
summary: "Get the position relative to transform preset start time in the input video at which to stop generating thumbnails."
|
|
syntax: "public String range()"
|
|
desc: "Get the position relative to transform preset start time in the input video at which to stop generating thumbnails. The value can be in ISO 8601 format (For example, PT5M30S to stop at 5 minutes and 30 seconds from start time), or a frame count (For example, 300 to stop at the 300th frame from the frame at start time. If this value is 1, it means only producing one thumbnail at start time), or a relative value to the stream duration (For example, 50% to stop at half of stream duration from start time). The default value is 100%, which means to stop at the end of the stream."
|
|
returns:
|
|
description: "the range value"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.start()"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.start()"
|
|
name: "start()"
|
|
nameWithType: "Image.start()"
|
|
summary: "Get the position in the input video from where to start generating thumbnails."
|
|
syntax: "public String start()"
|
|
desc: "Get the position in the input video from where to start generating thumbnails. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Also supports a macro \\{Best\\}, which tells the encoder to select the best thumbnail from the first few seconds of the video and will only produce one thumbnail, no matter what other settings are for Step and Range. The default value is macro \\{Best\\}."
|
|
returns:
|
|
description: "the start value"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.step()"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.step()"
|
|
name: "step()"
|
|
nameWithType: "Image.step()"
|
|
summary: "Get the intervals at which thumbnails are generated."
|
|
syntax: "public String step()"
|
|
desc: "Get the intervals at which thumbnails are generated. The value can be in ISO 8601 format (For example, PT05S for one image every 5 seconds), or a frame count (For example, 30 for one image every 30 frames), or a relative value to stream duration (For example, 10% for one image every 10% of stream duration). Note: Step value will affect the first generated thumbnail, which may not be exactly the one specified at transform preset start time. This is due to the encoder, which tries to select the best thumbnail between start time and Step position from start time as the first output. As the default value is 10%, it means if stream has long duration, the first generated thumbnail might be far away from the one specified at start time. Try to select reasonable value for Step if the first thumbnail is expected close to start time, or set Range value at 1 if only one thumbnail is needed at start time."
|
|
returns:
|
|
description: "the step value"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withRange(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withRange(String range)"
|
|
name: "withRange(String range)"
|
|
nameWithType: "Image.withRange(String range)"
|
|
summary: "Set the position relative to transform preset start time in the input video at which to stop generating thumbnails."
|
|
parameters:
|
|
- description: "the range value to set"
|
|
name: "range"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Image withRange(String range)"
|
|
desc: "Set the position relative to transform preset start time in the input video at which to stop generating thumbnails. The value can be in ISO 8601 format (For example, PT5M30S to stop at 5 minutes and 30 seconds from start time), or a frame count (For example, 300 to stop at the 300th frame from the frame at start time. If this value is 1, it means only producing one thumbnail at start time), or a relative value to the stream duration (For example, 50% to stop at half of stream duration from start time). The default value is 100%, which means to stop at the end of the stream."
|
|
returns:
|
|
description: "the Image object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.mediaservices.v2020_05_01.Image?alt=com.microsoft.azure.management.mediaservices.v2020_05_01.Image&text=Image\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withStart(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withStart(String start)"
|
|
name: "withStart(String start)"
|
|
nameWithType: "Image.withStart(String start)"
|
|
summary: "Set the position in the input video from where to start generating thumbnails."
|
|
parameters:
|
|
- description: "the start value to set"
|
|
name: "start"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Image withStart(String start)"
|
|
desc: "Set the position in the input video from where to start generating thumbnails. The value can be in ISO 8601 format (For example, PT05S to start at 5 seconds), or a frame count (For example, 10 to start at the 10th frame), or a relative value to stream duration (For example, 10% to start at 10% of stream duration). Also supports a macro \\{Best\\}, which tells the encoder to select the best thumbnail from the first few seconds of the video and will only produce one thumbnail, no matter what other settings are for Step and Range. The default value is macro \\{Best\\}."
|
|
returns:
|
|
description: "the Image object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.mediaservices.v2020_05_01.Image?alt=com.microsoft.azure.management.mediaservices.v2020_05_01.Image&text=Image\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withStep(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.mediaservices.v2020_05_01.Image.withStep(String step)"
|
|
name: "withStep(String step)"
|
|
nameWithType: "Image.withStep(String step)"
|
|
summary: "Set the intervals at which thumbnails are generated."
|
|
parameters:
|
|
- description: "the step value to set"
|
|
name: "step"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Image withStep(String step)"
|
|
desc: "Set the intervals at which thumbnails are generated. The value can be in ISO 8601 format (For example, PT05S for one image every 5 seconds), or a frame count (For example, 30 for one image every 30 frames), or a relative value to stream duration (For example, 10% for one image every 10% of stream duration). Note: Step value will affect the first generated thumbnail, which may not be exactly the one specified at transform preset start time. This is due to the encoder, which tries to select the best thumbnail between start time and Step position from start time as the first output. As the default value is 10%, it means if stream has long duration, the first generated thumbnail might be far away from the one specified at start time. Try to select reasonable value for Step if the first thumbnail is expected close to start time, or set Range value at 1 if only one thumbnail is needed at start time."
|
|
returns:
|
|
description: "the Image object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.mediaservices.v2020_05_01.Image?alt=com.microsoft.azure.management.mediaservices.v2020_05_01.Image&text=Image\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes the basic properties for generating thumbnails from the input video."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.mediaservices.v2020_05_01"
|
|
artifact: com.microsoft.azure.mediaservices.v2020_05_01:azure-mgmt-media:1.0.0-beta
|