Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions sdk/media/azure-mgmt-media/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Release History

## 3.1.0 (2021-02-24)

**Features**

- Model MediaService has a new parameter system_data
- Model MetricSpecification has a new parameter lock_aggregation_type
- Model StreamingPolicy has a new parameter system_data
- Model AssetFilter has a new parameter system_data
- Model LiveEvent has a new parameter system_data
- Model ContentKeyPolicy has a new parameter system_data
- Model FaceDetectorPreset has a new parameter blur_type
- Model FaceDetectorPreset has a new parameter mode
- Model Transform has a new parameter system_data
- Model JobInputClip has a new parameter input_definitions
- Model JobInputHttp has a new parameter input_definitions
- Model AccountFilter has a new parameter system_data
- Model Job has a new parameter system_data
- Model JobInputAsset has a new parameter input_definitions
- Model StreamingEndpoint has a new parameter system_data
- Model StreamingLocator has a new parameter system_data
- Model Asset has a new parameter system_data

## 3.0.0 (2020-10-19)

**Features**
Expand Down
64 changes: 64 additions & 0 deletions sdk/media/azure-mgmt-media/azure/mgmt/media/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from ._models_py3 import Audio
from ._models_py3 import AudioAnalyzerPreset
from ._models_py3 import AudioOverlay
from ._models_py3 import AudioTrackDescriptor
from ._models_py3 import AzureEntityResource
from ._models_py3 import BuiltInStandardEncoderPreset
from ._models_py3 import CbcsDrmConfiguration
Expand Down Expand Up @@ -76,11 +77,18 @@
from ._models_py3 import FilterTrackSelection
from ._models_py3 import FirstQuality
from ._models_py3 import Format
from ._models_py3 import FromAllInputFile
from ._models_py3 import FromEachInputFile
from ._models_py3 import H264Layer
from ._models_py3 import H264Video
from ._models_py3 import H265Layer
from ._models_py3 import H265Video
from ._models_py3 import H265VideoLayer
from ._models_py3 import Hls
from ._models_py3 import Image
from ._models_py3 import ImageFormat
from ._models_py3 import InputDefinition
from ._models_py3 import InputFile
from ._models_py3 import IPAccessControl
from ._models_py3 import IPRange
from ._models_py3 import Job
Expand All @@ -91,6 +99,7 @@
from ._models_py3 import JobInputClip
from ._models_py3 import JobInputHttp
from ._models_py3 import JobInputs
from ._models_py3 import JobInputSequence
from ._models_py3 import JobOutput
from ._models_py3 import JobOutputAsset
from ._models_py3 import JpgFormat
Expand Down Expand Up @@ -145,6 +154,10 @@
from ._models_py3 import ProxyResource
from ._models_py3 import Rectangle
from ._models_py3 import Resource
from ._models_py3 import SelectAudioTrackByAttribute
from ._models_py3 import SelectAudioTrackById
from ._models_py3 import SelectVideoTrackByAttribute
from ._models_py3 import SelectVideoTrackById
from ._models_py3 import ServiceSpecification
from ._models_py3 import StandardEncoderPreset
from ._models_py3 import StorageAccount
Expand All @@ -162,6 +175,8 @@
from ._models_py3 import StreamingPolicyPlayReadyConfiguration
from ._models_py3 import StreamingPolicyWidevineConfiguration
from ._models_py3 import SyncStorageKeysInput
from ._models_py3 import SystemData
from ._models_py3 import TrackDescriptor
from ._models_py3 import TrackedResource
from ._models_py3 import TrackPropertyCondition
from ._models_py3 import TrackSelection
Expand All @@ -173,6 +188,7 @@
from ._models_py3 import VideoAnalyzerPreset
from ._models_py3 import VideoLayer
from ._models_py3 import VideoOverlay
from ._models_py3 import VideoTrackDescriptor
except (SyntaxError, ImportError):
from ._models import AacAudio
from ._models import AbsoluteClipTime
Expand All @@ -189,6 +205,7 @@
from ._models import Audio
from ._models import AudioAnalyzerPreset
from ._models import AudioOverlay
from ._models import AudioTrackDescriptor
from ._models import AzureEntityResource
from ._models import BuiltInStandardEncoderPreset
from ._models import CbcsDrmConfiguration
Expand Down Expand Up @@ -240,11 +257,18 @@
from ._models import FilterTrackSelection
from ._models import FirstQuality
from ._models import Format
from ._models import FromAllInputFile
from ._models import FromEachInputFile
from ._models import H264Layer
from ._models import H264Video
from ._models import H265Layer
from ._models import H265Video
from ._models import H265VideoLayer
from ._models import Hls
from ._models import Image
from ._models import ImageFormat
from ._models import InputDefinition
from ._models import InputFile
from ._models import IPAccessControl
from ._models import IPRange
from ._models import Job
Expand All @@ -255,6 +279,7 @@
from ._models import JobInputClip
from ._models import JobInputHttp
from ._models import JobInputs
from ._models import JobInputSequence
from ._models import JobOutput
from ._models import JobOutputAsset
from ._models import JpgFormat
Expand Down Expand Up @@ -309,6 +334,10 @@
from ._models import ProxyResource
from ._models import Rectangle
from ._models import Resource
from ._models import SelectAudioTrackByAttribute
from ._models import SelectAudioTrackById
from ._models import SelectVideoTrackByAttribute
from ._models import SelectVideoTrackById
from ._models import ServiceSpecification
from ._models import StandardEncoderPreset
from ._models import StorageAccount
Expand All @@ -326,6 +355,8 @@
from ._models import StreamingPolicyPlayReadyConfiguration
from ._models import StreamingPolicyWidevineConfiguration
from ._models import SyncStorageKeysInput
from ._models import SystemData
from ._models import TrackDescriptor
from ._models import TrackedResource
from ._models import TrackPropertyCondition
from ._models import TrackSelection
Expand All @@ -337,6 +368,7 @@
from ._models import VideoAnalyzerPreset
from ._models import VideoLayer
from ._models import VideoOverlay
from ._models import VideoTrackDescriptor
from ._paged_models import AccountFilterPaged
from ._paged_models import AssetFilterPaged
from ._paged_models import AssetPaged
Expand All @@ -353,6 +385,7 @@
from ._azure_media_services_enums import (
FilterTrackPropertyType,
FilterTrackPropertyCompareOperation,
CreatedByType,
MetricUnit,
MetricAggregationType,
StorageAccountType,
Expand All @@ -369,9 +402,16 @@
ContentKeyPolicyRestrictionTokenType,
ContentKeyPolicyFairPlayRentalAndLeaseKeyType,
AacAudioProfile,
H265VideoProfile,
StretchMode,
VideoSyncMode,
H265Complexity,
ChannelMapping,
TrackAttribute,
AttributeFilter,
AnalysisResolution,
FaceRedactorMode,
BlurType,
AudioAnalysisMode,
DeinterlaceParity,
DeinterlaceMode,
Expand Down Expand Up @@ -416,6 +456,7 @@
'Audio',
'AudioAnalyzerPreset',
'AudioOverlay',
'AudioTrackDescriptor',
'AzureEntityResource',
'BuiltInStandardEncoderPreset',
'CbcsDrmConfiguration',
Expand Down Expand Up @@ -467,11 +508,18 @@
'FilterTrackSelection',
'FirstQuality',
'Format',
'FromAllInputFile',
'FromEachInputFile',
'H264Layer',
'H264Video',
'H265Layer',
'H265Video',
'H265VideoLayer',
'Hls',
'Image',
'ImageFormat',
'InputDefinition',
'InputFile',
'IPAccessControl',
'IPRange',
'Job',
Expand All @@ -482,6 +530,7 @@
'JobInputClip',
'JobInputHttp',
'JobInputs',
'JobInputSequence',
'JobOutput',
'JobOutputAsset',
'JpgFormat',
Expand Down Expand Up @@ -536,6 +585,10 @@
'ProxyResource',
'Rectangle',
'Resource',
'SelectAudioTrackByAttribute',
'SelectAudioTrackById',
'SelectVideoTrackByAttribute',
'SelectVideoTrackById',
'ServiceSpecification',
'StandardEncoderPreset',
'StorageAccount',
Expand All @@ -553,6 +606,8 @@
'StreamingPolicyPlayReadyConfiguration',
'StreamingPolicyWidevineConfiguration',
'SyncStorageKeysInput',
'SystemData',
'TrackDescriptor',
'TrackedResource',
'TrackPropertyCondition',
'TrackSelection',
Expand All @@ -564,6 +619,7 @@
'VideoAnalyzerPreset',
'VideoLayer',
'VideoOverlay',
'VideoTrackDescriptor',
'AccountFilterPaged',
'OperationPaged',
'MediaServicePaged',
Expand All @@ -579,6 +635,7 @@
'StreamingEndpointPaged',
'FilterTrackPropertyType',
'FilterTrackPropertyCompareOperation',
'CreatedByType',
'MetricUnit',
'MetricAggregationType',
'StorageAccountType',
Expand All @@ -595,9 +652,16 @@
'ContentKeyPolicyRestrictionTokenType',
'ContentKeyPolicyFairPlayRentalAndLeaseKeyType',
'AacAudioProfile',
'H265VideoProfile',
'StretchMode',
'VideoSyncMode',
'H265Complexity',
'ChannelMapping',
'TrackAttribute',
'AttributeFilter',
'AnalysisResolution',
'FaceRedactorMode',
'BlurType',
'AudioAnalysisMode',
'DeinterlaceParity',
'DeinterlaceMode',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ class FilterTrackPropertyCompareOperation(str, Enum):
not_equal = "NotEqual" #: The not equal operation.


class CreatedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"


class MetricUnit(str, Enum):

bytes = "Bytes" #: The number of bytes.
Expand Down Expand Up @@ -140,6 +148,12 @@ class AacAudioProfile(str, Enum):
he_aac_v2 = "HeAacV2" #: Specifies that the output audio is to be encoded into HE-AAC v2 profile.


class H265VideoProfile(str, Enum):

auto = "Auto" #: Tells the encoder to automatically determine the appropriate H.265 profile.
main = "Main" #: Main profile (https://x265.readthedocs.io/en/default/cli.html?highlight=profile#profile-level-tier)


class StretchMode(str, Enum):

none = "None" #: Strictly respect the output resolution without considering the pixel aspect ratio or display aspect ratio of the input video.
Expand All @@ -155,12 +169,61 @@ class VideoSyncMode(str, Enum):
vfr = "Vfr" #: Similar to the Passthrough mode, but if the input has frames that have duplicate timestamps, then only one frame is passed through to the output, and others are dropped. Recommended when the number of output frames is expected to be equal to the number of input frames. For example, the output is used to calculate a quality metric like PSNR against the input


class H265Complexity(str, Enum):

speed = "Speed" #: Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to decrease encoding time.
balanced = "Balanced" #: Tells the encoder to use settings that achieve a balance between speed and quality.
quality = "Quality" #: Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time.


class ChannelMapping(str, Enum):

front_left = "FrontLeft" #: The Front Left Channel.
front_right = "FrontRight" #: The Front Right Channel.
center = "Center" #: The Center Channel.
low_frequency_effects = "LowFrequencyEffects" #: Low Frequency Effects Channel. Sometimes referred to as the Subwoofer.
back_left = "BackLeft" #: The Back Left Channel. Sometimes referred to as the Left Surround Channel.
back_right = "BackRight" #: The Back Right Channel. Sometimes referred to as the Right Surround Channel.
stereo_left = "StereoLeft" #: The Left Stereo channel. Sometimes referred to as Down Mix Left.
stereo_right = "StereoRight" #: The Right Stereo channel. Sometimes referred to as Down Mix Right.


class TrackAttribute(str, Enum):

bitrate = "Bitrate" #: The bitrate of the track.
language = "Language" #: The language of the track.


class AttributeFilter(str, Enum):

all = "All" #: All tracks will be included.
top = "Top" #: The first track will be included when the attribute is sorted in descending order. Generally used to select the largest bitrate.
bottom = "Bottom" #: The first track will be included when the attribute is sorted in ascending order. Generally used to select the smallest bitrate.
value_equals = "ValueEquals" #: Any tracks that have an attribute equal to the value given will be included.


class AnalysisResolution(str, Enum):

source_resolution = "SourceResolution"
standard_definition = "StandardDefinition"


class FaceRedactorMode(str, Enum):

analyze = "Analyze" #: Analyze mode detects faces and outputs a metadata file with the results. Allows editing of the metadata file before faces are blurred with Redact mode.
redact = "Redact" #: Redact mode consumes the metadata file from Analyze mode and redacts the faces found.
combined = "Combined" #: Combined mode does the Analyze and Redact steps in one pass when editing the analyzed faces is not desired.


class BlurType(str, Enum):

box = "Box" #: Box: debug filter, bounding box only
low = "Low" #: Low: box-car blur filter
med = "Med" #: Med: Gaussian blur filter
high = "High" #: High: Confuse blur filter
black = "Black" #: Black: Black out filter


class AudioAnalysisMode(str, Enum):

standard = "Standard" #: Performs all operations included in the Basic mode, additionally performing language detection and speaker diarization.
Expand Down Expand Up @@ -226,6 +289,11 @@ class EncoderNamedPreset(str, Enum):
h264_multiple_bitrate1080p = "H264MultipleBitrate1080p" #: Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 180p.
h264_multiple_bitrate720p = "H264MultipleBitrate720p" #: Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 180p.
h264_multiple_bitrate_sd = "H264MultipleBitrateSD" #: Produces a set of 5 GOP-aligned MP4 files, ranging from 1900kbps to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 240p.
h265_content_aware_encoding = "H265ContentAwareEncoding" #: Produces a set of GOP-aligned MP4s by using content-aware encoding. Given any input content, the service performs an initial lightweight analysis of the input content, and uses the results to determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. This preset is particularly effective for low and medium complexity videos, where the output files will be at lower bitrates but at a quality that still delivers a good experience to viewers. The output will contain MP4 files with video and audio interleaved.
h265_adaptive_streaming = "H265AdaptiveStreaming" #: Produces a set of GOP aligned MP4 files with H.265 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution, bitrate and frame rate. The auto-generated preset will never exceed the input resolution. For example, if the input is 720p, output will remain 720p at best.
h265_single_bitrate720p = "H265SingleBitrate720p" #: Produces an MP4 file where the video is encoded with H.265 codec at 1800 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
h265_single_bitrate1080p = "H265SingleBitrate1080p" #: Produces an MP4 file where the video is encoded with H.265 codec at 3500 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.
h265_single_bitrate4_k = "H265SingleBitrate4K" #: Produces an MP4 file where the video is encoded with H.265 codec at 9500 kbps and a picture height of 2160 pixels, and the stereo audio is encoded with AAC-LC codec at 128 kbps.


class InsightsType(str, Enum):
Expand Down
Loading